National-Forestry-Authority / brms

1 stars 1 forks source link

Geolayer type #96

Open peacog opened 1 year ago

peacog commented 1 year ago

Add a Geolayer type vocabulary and entity reference field called 'Layer type' to the Geolayer entity. See Forest Reserves overview: Overview map on main dataset listing view#7 for a list of type terms.

peacog commented 1 year ago

Related to Site wide: Base layer data provision#14 Forest reserves: List of additional features required for the interactive map of each Forest Reserve record#6 Forest Reserves overview: Overview map on main dataset listing view#7

ygoex commented 1 year ago

We need @LeScruf and @senyonjo-edward to confirm the different polygon types.

peacog commented 1 year ago

Hi @LeScruf . I have created the layer types as discussed, and assigned initial line styles to them. We can change the line colors and styles if the current ones are not suitable. You can see them here: https://brms.stg.envs.utils.nfa.go.ug/admin/structure/taxonomy/manage/layer_type/overview

LeScruf commented 1 year ago

@peacog - so here is the guide to wkt line and point types https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry - I changed the intermediate pillar WKT data tag on Abera CFR from 'POLYGON' to 'MULTIPOINT' and it accepted it, but then won't display the points. So I suspect, as you suggested, you will have to do some work on the 'point' symbology on Drupal? The equivalent taxonomy for KMLs can be found here: https://developers.google.com/kml/documentation/kml_tut

peacog commented 1 year ago

Thanks @LeScruf . I will open a new issue to look into this.

peacog commented 1 year ago

Multipoint geometry works now. See #105