Opened 4 years ago
Closed 4 years ago
#4812 closed defect (fixed)
SRID_MAXIMUM handled inconsistently
Reported by: | pramsey | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.1.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
The handling of out-of-bounds SRID values is supposed to "clamp" them into a user-allowed range of 999000 to SRID_MAXIMUM. However, it sneaks past the clamp function, and then is set to 0 by the wkt reader.
select st_srid('SRID=999999;POINT(1 1)'::geometry);
Note:
See TracTickets
for help on using tickets.
In 561428e/git: