question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve support for geographic coordinates

See original GitHub issue

Description 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:closed
  • Created 5 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
santisolercommented, Mar 26, 2019

👍 I’ll add a PR when I start tackling this.

0reactions
leouiedacommented, Mar 25, 2019

@santisoler I think you could get started with a latlon or geographic style option in one of those functions.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found