Canadian-Geospatial-Platform / geoview

Canadian Geospatial Platform Viewer / Visualiseur de la Plateforme Géospatiale Canadienne
Other
22 stars 32 forks source link

feat(WMS): add feature info to layers #2249

Closed DamonU2 closed 3 months ago

DamonU2 commented 3 months ago

Description

Adds outfields, aliases, and data types to layers that don't have them supplied by metadata, using query returns Fixes #1470

Type of change

How Has This Been Tested?

https://damonu2.github.io/geoview/add-layers.html Add: ea4c0bdb-a63f-49a4-b14a-09c1560aad0b Run: cgpv.api.maps.mapWM.layer.redefineFeatureFields('rcs.ea4c0bdb-a63f-49a4-b14a-09c1560aad0b.en/pub:WHSE_HUMAN_CULTURAL_ECONOMIC.MPI_ECON_MAJOR_PROJECTS_POINT', '1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29', 'aliasFields') Numbers should replace names in details

Checklist:


This change is Reviewable