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

GeographicBoundingBox::create(): accept degenerate bounding box reduced to a point or a line #4237

Merged
merged 2 commits into from
Aug 27, 2024

Conversation

rouault
Copy link
Member

@rouault rouault commented Aug 27, 2024

by extending it by the minimal amount to form a non-degenerate one. Also throws when south > north
Fixes #4236

and:
cs2cs and projinfo: emit warning when it looks like longitude and latitudes have been switched in --bbox

@rouault rouault added this to the 9.5.0 milestone Aug 27, 2024
src/iso19111/metadata.cpp Outdated Show resolved Hide resolved
src/iso19111/metadata.cpp Outdated Show resolved Hide resolved
…ed to a point or a line

by extending it by the minimal amount to form a non-degenerate one.

Also throws when south > north

Fixes OSGeo#4236
@rouault rouault changed the title GeographicBoundingBox::create(): accept degenerate bounding box reduced to a point GeographicBoundingBox::create(): accept degenerate bounding box reduced to a point or a line Aug 27, 2024
@rouault rouault merged commit 298f7f6 into OSGeo:master Aug 27, 2024
23 checks passed
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.

An area of interest representing a point fails the bbox query
2 participants