[postgis-devel] [PostGIS] #183: ST_LineToCurve gives getPoint4d_p offset error
PostGIS
trac at osgeo.org
Tue Oct 7 13:16:07 PDT 2008
#183: ST_LineToCurve gives getPoint4d_p offset error
----------------------+-----------------------------------------------------
Reporter: robe | Owner: robe
Type: defect | Status: assigned
Priority: low | Milestone: postgis 1.3.7
Component: postgis | Version: 1.4
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (by mcayland):
Okay. Looks like the curve conversion code needs to peek one point ahead
to determine the type of the next segment, and of course if you end your
curve at the end of your set of points then this will fail.
Can you try the attached patch which seems to resolve this for me?
ATB,
Mark.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/183#comment:8>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
More information about the postgis-devel
mailing list