xpublish-community / xpublish-edr

OGC EDR router for xpublish
BSD 3-Clause "New" or "Revised" License
4 stars 4 forks source link

Normalize longitude ranges #61

Open rabernat opened 6 days ago

rabernat commented 6 days ago

Some datasets use 0-360 longitudes, while others use -180-180. I've dug around, and there doesn't appear to be a universal standard that says one or the other is "right" (e.g. https://github.com/cf-convention/cf-conventions/issues/435)

Currently, EDR users have to know which convention their dataset employs and encode their longitudes accordingly.

It would be more graceful if we could automatically do this on their behalf, automatically translating longitude into the proper range for a given dataset.