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

Loading data in EPGS:4326 across the antimeridian results in non-intuitive outcomes #1654

Open
caitlinadams opened this issue Nov 8, 2024 · 0 comments
Assignees

Comments

@caitlinadams
Copy link
Contributor

Loading scenes in EPSG:4326 across the antimeridian results in an xarray that spans the globe containing mostly zeros.

dc.load should raise a warning if users load data around the antimeridian in EPSG:4326 or EPSG:3857.

drivers/postgis/_spatial contains code to repair spatial extent in cases of loading in EPSG:3857. This code should be moved to a utility library, then called in the driver code (it should also perform the repair action for EPSG4326). That code can then be used in dc.load to provide a warning to the user if they geometry of their query comes back as a multipolygon.

@caitlinadams caitlinadams self-assigned this Nov 8, 2024
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

No branches or pull requests

1 participant