[postgis-tickets] [PostGIS] #4812: SRID_MAXIMUM handled inconsistently
PostGIS
trac at osgeo.org
Mon Dec 7 11:52:04 PST 2020
#4812: SRID_MAXIMUM handled inconsistently
---------------------+---------------------------
Reporter: pramsey | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.1.0
Component: postgis | Version: master
Keywords: |
---------------------+---------------------------
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);
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4812>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list