benbovy / spherely

Manipulation and analysis of geometric objects on the sphere.
https://spherely.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
119 stars 8 forks source link

Add get_x and get_y vectorized functions (Point-only) #37

Open jorisvandenbossche opened 3 months ago

jorisvandenbossche commented 3 months ago

Awaiting a more complex function to get coordinates in general, adding a simple get_lng/get_lat functions just for points (so those can easily be vectorized)

jorisvandenbossche commented 3 months ago

I see that R's s2 (based on bigquery?) still calls this st_x and st_y, so should we also use get_x and get_y here?

martinfleis commented 3 months ago

should we also use get_x and get_y here?

+1 on that as that is also consistent with shapely.