[postgis-tickets] [PostGIS] #5319: ST_SetPoint crashes with Multipolygon with infinity coordinates
PostGIS
trac at osgeo.org
Wed Feb 15 23:55:29 PST 2023
#5319: ST_SetPoint crashes with Multipolygon with infinity coordinates
----------------------+---------------------------
Reporter: robe | Owner: robe
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 3.0.9
Component: postgis | Version: master
Resolution: | Keywords:
----------------------+---------------------------
Comment (by robe):
Seems I was mistaken here, it doesn't crash. Maybe it was another combo.
{{{
SELECT
ST_AsText(ST_SetPoint('0102000020E610000005000000000000000000F07F000000000000F07F000000000000F07F000000000000F07F000000000000F07F000000000000F07F000000000000F07F000000000000F07F000000000000F07F000000000000F07F'::geometry,
1,ST_GeomFromText('POINT(0 0)',4326) )) As result;
}}}
outputs:
{{{
LINESTRING(Infinity Infinity,0 0,Infinity Infinity,Infinity
Infinity,Infinity Infinity)
}}}
I'm putting in a catch anyway for this in case it was another combo I
missed.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5319#comment:3>
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