srtext 2048 length limit
Denis Rykov <[email protected]> Wed, 21 May 2025 11:08:05 +0200
| Newsgroups | gmane.comp.gis.postgis |
|---|---|
| Message-ID | <CAJbvKNoXeFwOf6OG8CrPmybbe_rZ02=JH60aMJqwK4qS_CfV3w@mail.gmail.com> |
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?