[postgis-devel] [PostGIS] #1335: ST_AddPoint returns incorrect result on Linux
PostGIS
trac at osgeo.org
Mon Nov 28 19:28:51 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):
---------------------------------------------------------------
32 bit Debian Linux, Intel, Postgres 9.1.1, Postgis some prev trunk (?)
db_20b=# SELECT ST_AsText(ST_AddPoint(
db_20b(# ST_GeomFromText('LINESTRING(20 20,30 30,40 40)', 4326),
db_20b(# ST_GeomFromText('POINT(10 10)', 4326),
db_20b(# 0));
st_astext
-------------------------------------
LINESTRING(10 10,20 20,20 20,40 40)
(1 row)
================================================================
32bit Debian Linux, Intel, Postgres 9.1.1, rebuilt trunk v8251
db_20b=# SELECT ST_AsText(ST_AddPoint(
db_20b(# ST_GeomFromText('LINESTRING(20 20,30 30,40 40)', 4326),
db_20b(# ST_GeomFromText('POINT(10 10)', 4326),
db_20b(# 0));
st_astext
-------------------------------------
LINESTRING(10 10,20 20,20 20,40 20)
(1 row)
======================================================
64bit Linux, Intel, Postgres 9.0.5, Postgis trunk v8251
db_20b=# SELECT ST_AsText(ST_AddPoint(
db_20b(# ST_GeomFromText('LINESTRING(20 20,30 30,40 40)', 4326),
db_20b(# ST_GeomFromText('POINT(10 10)', 4326),
db_20b(# 0));
st_astext
-------------------------------------
LINESTRING(10 10,20 20,30 30,30 30)
(1 row)
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1335#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-devel
mailing list