Improve support for geographic coordinates
See original GitHub issueDescription of the desired feature
Some functions from verde
are intended to work with both projected and geographic coordinates.
Nevertheless, working with the latter imposes some requirements.
For example, one must ensure continuity around the globe: setting a grid between longitudes 170° and -170° or between 350° and 10° is not possible at the time because numerically the east
coordinate is lower than the west
one.
One way to fix this is to add a latlon=True
argument to those functions in order to make clear that we are passing geographic coordinates.
I’ll try to make a complete list of the functions that needs to be enhanced:
inside()
grid_coordinates()
scatter_coordinates()
profile_coordinates()
get_region()
pad_region()
Are you willing to help implement and maintain this feature? Yes
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Best Practices for Collecting Geographic Data in the Field
Collecting spatial data goes beyond coordinates, and includes issues such as extent and uncertainty. Physical locality descriptions are also ...
Read more >Support for Geographic Coordinate Systems - Pix4D Community
For now, as you noticed, we only support projected coordinate systems in the EPSG library. We'll certainly add more, but we need to...
Read more >The geographic coordinate systems warning—Help
The geographic coordinate systems warning appears whenever data you are adding uses a different geographic coordinate system than the one used in the...
Read more >Find & improve your location's accuracy - Google Maps Help
On your Android phone or tablet, open the Settings app Settings . · Tap Location. · At the top, switch location on. ·...
Read more >Latitude, Longitude and Coordinate System Grids
Latitude and longitude coordinates make up our geographic coordinate system. Map Coordinate Systems. You can give any location on Earth latitude ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
👍 I’ll add a PR when I start tackling this.
@santisoler I think you could get started with a
latlon
orgeographic
style option in one of those functions.