Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use json format instead of xml for describe_feature #284

Open
ateucher opened this issue Oct 15, 2021 · 0 comments
Open

Use json format instead of xml for describe_feature #284

ateucher opened this issue Oct 15, 2021 · 0 comments
Labels
enhancement New feature or request wfs
Milestone

Comments

@ateucher
Copy link
Collaborator

ateucher commented Oct 15, 2021

This is probably unnecessarily convoluted, and there is an outputFormat=application/json option that is probably easier to parse than the xml and has more info. There are some differences in the fields however (eg. https://openmaps.gov.bc.ca/geo/pub/wfs?SERVICE=WFS&VERSION=2.0.0&REQUEST=DescribeFeatureType&outputFormat=application/json&typeNames=WHSE_ENVIRONMENTAL_MONITORING.EMS_MONITORING_LOCN_GROUPS_SVW) - notably the GEOEMETRY field is gml:Geometry, whereas the xml output type="gml:GeometryPropertyType". The json has a "local type" which the xml does not.

@ateucher ateucher added enhancement New feature or request wfs labels Oct 15, 2021
@boshek boshek added this to the v 0.3.1 milestone Oct 28, 2021
@ateucher ateucher modified the milestones: v 0.3.1, 0.3.2 May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wfs
Projects
None yet
Development

No branches or pull requests

2 participants