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

Make GetFeature-Urls ending with & work #903

Closed
wants to merge 1 commit into from

Conversation

lordi
Copy link

@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
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
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
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
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