srtext 2048 length limit

Denis Rykov rykovd at gmail.com
Wed May 21 02:08:05 PDT 2025


I noticed that the srtext column in the spatial_ref_sys table has a length
limit of 2048 characters. This seems quite restrictive, especially
considering the WKT standard does not prescribe a specific maximum length.
In fact, it recommends a maximum of 4096 characters for CRS WKT strings.
The current limit is therefore only half of what the standard suggests as a
recommended maximum.

Could you please explain the rationale behind this strict limit, and could
its extension be considered?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20250521/b166ab22/attachment.htm>


More information about the postgis-users mailing list