[postgis-tickets] [PostGIS] #2407: st_linetocurve and st_curvetoline behaviour change

PostGIS trac at osgeo.org
Wed Aug 7 06:05:31 PDT 2013


#2407: st_linetocurve and st_curvetoline behaviour change
---------------------+------------------------------------------------------
 Reporter:  mjurce   |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.4
Component:  postgis  |     Version:  2.0.x        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 I think I found how to interpret the reported result for 1.5.x (removing
 some space padding):
 {{{
 MULTILINESTRING((723097.524 117088.672,724308.441
 117063.281,724342.841215729 117105.022471112,724379.248151801
 117145.025724211,724417.57410072 117183.194387958,724457.726731918
 117219.436510698,724499.609314188 117253.664781983,724543.120948721
 117285.796742909,724588.15681218 117315.754984769,724634.608409223
 117343.467335533,724682.363833886 117368.867033721,724731.308039167
 117391.892889235,724781.323114189 117412.489430773,724832.288568255
 117430.607039462,724884.081621122 117446.202068396,724936.577498789
 117459.236947784,724989.64973409 117469.680275461,725043.1704
 7136117477.506892534,725097.010774456 117482.697943997,725151.040937372
 117485.240924154,725205.130796712 117485.129706743,725259.150045268
 117482.364559695,725312.968545938 117476.952144492,725366.456645242
 117468.905500116,725419.485485661 117458.244011639,725443.148 117452.604))
 }}}

 The reported geometry indeed has only 26 vertices while the one I obtained
 with 1.5.9-svn and the one with trunk (2.2) has 27 vertices. Did the
 behavior maybe change already in the 1.5 branch ? I'll try to obtain the
 26 vertices with an older version.

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