Geometry / geography woes

nikolai.berkoff nikolai.berkoff at pm.me
Wed Sep 10 06:39:15 PDT 2025


Thank you,

A local coordinate system would not work for us as we are calling ST_Subdivide on the ranges of all species in the IUCN Redlist, so it is very much global problem.  I believe ST_Segmentize would solve this for us.

Would you consider a documentation update to ST_Subdivide and the the FAQ warning about this?

For the FAQ something like:


NOTE: If you plan to re-project geometries after using ST_Subdivide(), be aware that the subdivision process may introduce additional vertices. These new vertices do not affect the geometry in the original coordinate system, but they can alter its shape when re-projected — especially if the original vertices span large distances. To mitigate this, consider applying ST_Segmentize() to your geometries before subdivision, ensuring that vertex spacing is appropriate for the target projection or geography-based calculations.

and putting the example Regina gave in https://postgis.net/docs/ST_Subdivide.html ?  I would happily make a PR.



 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20250910/229a91bf/attachment.sig>


More information about the postgis-users mailing list