[postgis-devel] [PostGIS] #1335: ST_AddPoint returns incorrect result on Linux

PostGIS trac at osgeo.org
Mon Nov 28 17:50:05 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:                 |  
---------------------------+------------------------------------------------
 Running PostGIS 2.0.0 r8251 on Ubuntu 11.04 with PostgreSQL 9.1.1.

 {{{
 SELECT ST_AsText(ST_AddPoint(
   ST_GeomFromText('LINESTRING(20 20,30 30,40 40)', 4326),
   ST_GeomFromText('POINT(10 10)', 4326),
   0));
 }}}

 returns "LINESTRING(10 10,20 20,20 20,40 40)"

 PostGIS_FullVersion():
 "POSTGIS="2.0.0SVN" GEOS="3.2.0-CAPI-1.6.0" PROJ="Rel. 4.7.1, 23 September
 2009" GDAL="GDAL 1.6.3, released 2009/11/19" LIBXML="2.7.8" USE_STATS"


 The latest Windows build (r8242) still returns the correct result
 ("LINESTRING(10 10,20 20,30 30,40 40)").

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1335>
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