[postgis-devel] [PostGIS] #1348: st_curvetoline not working when casting from geography type

PostGIS trac at osgeo.org
Fri Dec 2 12:01:50 PST 2011


#1348: st_curvetoline not working when casting from geography type
---------------------+------------------------------------------------------
 Reporter:  bcrosby  |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  1.5.X        
 Keywords:           |  
---------------------+------------------------------------------------------
 The following returns a polygon instead of a curvedpolygon:

 select st_astext(st_linetocurve(st_buffer('POINT(-78.8994666666666667
 43.9228166666666667)'::geography,5000)::geometry));

 However, the following returns valid curved geometry:

 select st_astext(st_linetocurve(st_buffer('POINT(-78.8994666666666667
 43.9228166666666667)'::geometry,5000)));

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