Skip to content

Make GetFeature-Urls ending with & work#903

Closed
lordi wants to merge 1 commit into
geopython:masterfrom
GeoplexGIS:master
Closed

Make GetFeature-Urls ending with & work#903
lordi wants to merge 1 commit into
geopython:masterfrom
GeoplexGIS:master

Conversation

@lordi
Copy link
Copy Markdown

@lordi lordi commented Jan 30, 2024

This fixes a bug where a GetFeature URL ending with "&" was incorrectly constructed.

Also while debugging I was missing logs in the "owslib" namespace (as written in the docs). I think the second change in this MR fixes this.

@tomkralidis
Copy link
Copy Markdown
Member

@lordi thanks for the valuable contribution. It turns out that we log as logging.getLogger(__name__) in the library (though we say otherwise in the docs, README and tests). Can you update this PR set the logger to __name__? I'll update the docs/test/README in this regard for consistency. Thanks.

@lordi
Copy link
Copy Markdown
Author

lordi commented Jul 29, 2024

I saw that master removed owslib.util.log in the mean time, so I rebased my PR to only include the amp change.

@lordi lordi changed the title Make GetFeature-Urls ending with & work, change logger to actually use "owslib" namespace Make GetFeature-Urls ending with & work Jul 29, 2024
@geographika
Copy link
Copy Markdown
Contributor

@lordi - I had the same issue. The pull request #612 to resolve this was merged yesterday. Could you check this fixes your case?

@geographika
Copy link
Copy Markdown
Contributor

Closing as should be fixed in 0.32.0 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants