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.



 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to