[postgis-tickets] [PostGIS] #2463: st_length on curve is on linearized geom

PostGIS trac at osgeo.org
Sun Sep 1 12:36:25 PDT 2013


#2463: st_length on curve is on linearized geom
---------------------+------------------------------------------------------
 Reporter:  mjurce   |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.4
Component:  postgis  |     Version:  2.0.x        
 Keywords:           |  
---------------------+------------------------------------------------------
 Executing:
 select st_length(st_geomFromtext('CIRCULARSTRING(0 1000,707.1067812
 707.1067812,1000 0)'));

  st_length
 ------------------
  1570.63862548611

 Gives same result as:
 select st_length(st_curvetoline(st_geomFromtext('CIRCULARSTRING(0
 1000,707.1067812 707.1067812,1000 0)')));

  st_length
 ------------------
  1570.63862548611

 The function should return the arc length and not the approximated
 linestring length.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2463>
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-tickets mailing list