Skip to content

Don't wrap longitudes of EPSG:4326 bounding boxes spanning the full g… - #564

Open
EmileSonneveld wants to merge 1 commit into
masterfrom
_cyclic_x_needs_normalization
Open

EmileSonneveld wants to merge 1 commit into
masterfrom
_cyclic_x_needs_normalization

Conversation

@EmileSonneveld

Copy link
Copy Markdown
Member

…lobe. Using Opus5.5. Open-EO/openeo-geopyspark-driver#1974

@EmileSonneveld

Copy link
Copy Markdown
Member Author

With and without fix diff:

image

Opus summary:
image

@soxofaan soxofaan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about this solution approach. It feels like it further complicates things (e.g. normalizing does not necessarily mean being blind to the 360-case).

I'm trying out a different solution at #566

"""
Whether west/east should be normalized as cyclic longitude coordinates.
A bounding box spanning the full longitude range (360 degrees or more),
e.g. a global raster extent like [-180.05, 179.95], must not be wrapped.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a big fan of this logic: it combines 2 things: whether the CRS is cyclic and whether normalization is must be done.
When the answer is false it's not obvious if the CRS is non-cyclic, or whether normalization should not be done.
It also muddles the difference between normalization and wrapping. E.g. you can still normalize while still keeping the "whole world" case intact.

This branch has not been deployed

No deployments
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