You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to query nearest locations in geodetic coordinates but using sphere measurements (because it is faster than using spheroid measurements and still sufficiently exact for my use case).
It could be done by adding optional UseSpheroid flag into IsWithinDistance method (same as in relevant PostGIS function https://postgis.net/docs/ST_DWithin.html). Maybe another alternative is adding support for <-> operator but probably adding that flag is easier.
The text was updated successfully, but these errors were encountered:
roji
changed the title
Spatial IsWithinDistance(geom2,d) - add support for use_spheroid flag
Add Distance and IsWithinDistance overloads with a use_spheroid flag
Jan 7, 2021
I would like to query nearest locations in geodetic coordinates but using sphere measurements (because it is faster than using spheroid measurements and still sufficiently exact for my use case).
It could be done by adding optional UseSpheroid flag into IsWithinDistance method (same as in relevant PostGIS function https://postgis.net/docs/ST_DWithin.html). Maybe another alternative is adding support for <-> operator but probably adding that flag is easier.
The text was updated successfully, but these errors were encountered: