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

PostGIS trac at osgeo.org
Tue Nov 29 12:08:19 PST 2011


#1335: [PATCH] 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):

 patch applied to trunk build here..
 appears to work fine - thx EvenR !
 --

 db_20b=# 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,30 30,40 40)
 (1 row)

 db_20b=# select postgis_full_version();
 ...
 db_20b=# 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,30 30,40 40)
 (1 row)

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