bcgov / smk-cli

The Command Line Interface enables users to rapidly create and edit SMK map configuration, including data consumption via OGC and Esri ReST data access services and local data files.
https://bcgov.github.io/smk-cli
Apache License 2.0
5 stars 3 forks source link

Vector data not allowing editing of Attribute visibility, nice names #23

Closed NicoledeGreef closed 4 years ago

NicoledeGreef commented 4 years ago

beta3

Several vector layer added: http://openmaps.gov.bc.ca/geo/ows?service=WFS&version=2.0&request=GetFeature&typeName=pub:WHSE_IMAGERY_AND_BASE_MAPS.GSR_SCHOOLS_K_TO_12_SVW&outputFormat=application/json&srsname=EPSG:4326

http://openmaps.gov.bc.ca/geo/ows?service=WFS&version=2.0&request=GetFeature&typeName=pub:WHSE_IMAGERY_AND_BASE_MAPS.GSR_FRPH_HLTH_PROFESSIONAL_SVW&outputFormat=application/json&srsname=EPSG:4326

http://openmaps.gov.bc.ca/geo/ows?service=WFS&version=2.0&request=GetFeature&typeName=pub:WHSE_IMAGERY_AND_BASE_MAPS.GSR_FRPH_SERVICE_DIRECTORY_SVW&outputFormat=application/json&srsname=EPSG:4326

http://openmaps.gov.bc.ca/geo/ows?service=WFS&version=2.0&request=GetFeature&typeName=pub:WHSE_IMAGERY_AND_BASE_MAPS.GSR_FRPH_TOURISM_SVW&outputFormat=application/json&srsname=EPSG:4326

http://openmaps.gov.bc.ca/geo/ows?service=WFS&version=2.0&request=GetFeature&typeName=pub:WHSE_IMAGERY_AND_BASE_MAPS.GSR_FRPH_EARLY_CHILDCARE_SVW&outputFormat=application/json&srsname=EPSG:4326

http://openmaps.gov.bc.ca/geo/ows?service=WFS&version=2.0&request=GetFeature&typeName=pub:WHSE_IMAGERY_AND_BASE_MAPS.GSR_EMPL_SRVCS_OFFICES_SVW&outputFormat=application/json&srsname=EPSG:4326

The SMK Editor interface is not loading the attributes so that they can be set to not display when identifies occur. Choose title attribute and geometry attribute is also failing to populate with the names of attributes:

image

Not sure if related but all of these layers are based on the 'Geographic Site Registry' model and have a high number of attributes.

qqnluaq commented 4 years ago

1.0.0-beta.5

NicoledeGreef commented 4 years ago

I upgraded to beta5 and opened the site i've been working on since beta2 but unfortunately the Attributes are not populating (same as screen shot above).

qqnluaq commented 4 years ago

The attributes are populated when the layer is added to the vector catalog. So you will need to add the external url to the catalog again. The newly added catalog item will have the attributes, so you will have to add that item to your app (and remove the previous version of that layer). Sorry its a bit tedious.

NicoledeGreef commented 4 years ago

Thanks for the info. I will try that.

NicoledeGreef commented 4 years ago

closing this ticket as things are working. have added ticket https://github.com/bcgov/smk-cli/issues/32