[postgis-users] Geography point to polygon st_distance for a polygon crossing the equator

Paul Ramsey pramsey at cleverelephant.ca
Tue Feb 21 06:12:03 PST 2017


That's right, we don't have a way to differentiate between great-circle
edges and loxodromes on geography (or vice versa in geometry).

​You can approximate a "square"  by densifying your east-west lines in the
places you want vertices to go, but the inter-vertex edges will still be
great circles. You can do that by densifying in geometry land and then
casting back to geography.

P.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20170221/2dd6d079/attachment.html>


More information about the postgis-users mailing list