[postgis-devel] [PostGIS] #1335: ST_AddPoint returns incorrect result on Linux
PostGIS
trac at osgeo.org
Mon Nov 28 20:34:03 PST 2011
#1335: ST_AddPoint returns incorrect result on Linux
---------------------------+------------------------------------------------
Reporter: realityexists | Owner: pramsey
Type: defect | Status: new
Priority: critical | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Keywords: |
---------------------------+------------------------------------------------
Comment(by darkblueb):
two queries sequentially gives the same results; interspersing a function
call in between gives two *different* results with the same build on the
same architecture.
{{{
geocoder_ca=# SELECT ST_AsText(ST_AddPoint(
ST_GeomFromText('LINESTRING(20 20,30 30,40 40)', 4326),
ST_GeomFromText('POINT(10 10)', 4326),
0));
st_astext
-------------------------------------
LINESTRING(10 10,20 20,20 20,40 20)
(1 row)
geocoder_ca=# select postgis_full_version();
geocoder_ca=# SELECT ST_AsText(ST_AddPoint(
ST_GeomFromText('LINESTRING(20 20,30 30,40 40)', 4326),
ST_GeomFromText('POINT(10 10)', 4326),
0));
st_astext
-------------------------------------
LINESTRING(10 10,20 20,20 20,40 40)
(1 row)
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1335#comment:5>
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-devel
mailing list