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

Get typeName for wfs from resource url #139

Merged
merged 2 commits into from
Nov 15, 2019
Merged

Conversation

ateucher
Copy link
Collaborator

Rather than pull the layer name to pass to the typeNames parameter in the WFS request, this gets it from the url of the wfs resource. This is because records have both a layer_name and an object_name and you can't count on the wfs/wms to use a particular one. See #138 and #129.

I also added a new test file for these kinds of edge cases.

One more thing that could be added to this PR is fixing #133, as it is related.

@ateucher ateucher requested a review from boshek November 14, 2019 22:45
@ateucher ateucher changed the title Get typeNames for wfs from resource url. Fixes #129, fixes #138 Get typeNames for wfs from resource url Nov 14, 2019
@ateucher ateucher changed the title Get typeNames for wfs from resource url Get typeName for wfs from resource url Nov 14, 2019
@boshek
Copy link
Collaborator

boshek commented Nov 15, 2019

I'd say merge and handle #133 in another PR. I think some slightly modification to bcdc_get_record might be useful for that PR.

@ateucher ateucher merged commit 5ff51ed into master Nov 15, 2019
@ateucher ateucher deleted the fix-layer-name-selection branch January 17, 2020 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants