wildlife-dynamics / ecoscope-workflows

An extensible task specification and compiler for local and distributed workflows.
https://ecoscope-workflows.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

Task: Create EcoMap with multiple GDFs (e.g., Tracks & Events) #78

Closed Yun-Wu closed 1 month ago

Yun-Wu commented 1 month ago

This task may be trivial after the merged dataframes. Need to check with @atmorling

atmorling commented 1 month ago

The gap here is the EcoMap task not handling mixed geometry dataframes, currently one has to explicitly define the geometry type for visualisation.

Per my comments on #64, we probably want to separate creating map layers out into it's own task, and the draw_ecomap task would take a set of layers, not dataframes, as input

walljcg commented 1 month ago

I agree with this approach where a layer = data + stylization. This will be the most general approach and is widely used in GIS software. I would suggest definition of a 'style' param dictionary where the values can be single values where e.g., colour='hex code' to apply the same colour to all features, or colour='colour column name' where the colour of features is derived from a DF column.