[postgis-tickets] [PostGIS] #3279: ST_OffsetCurve return wrong result

PostGIS trac at osgeo.org
Fri Sep 18 02:16:27 PDT 2015


#3279: ST_OffsetCurve return wrong result
----------------------------+---------------------------
 Reporter:  MaxS            |      Owner:  pramsey
     Type:  defect          |     Status:  new
 Priority:  low             |  Milestone:  PostGIS 2.1.9
Component:  postgis         |    Version:  2.1.x
 Keywords:  st_offsetcurve  |
----------------------------+---------------------------
 Using st_offsetcurve with specific geometry returns wrong result. It
 should be single linestring, but returns multilinestring. Geometry valid
 without repeated points. Tested on 2.1.8 and 2.1.3

 {{{
 #!div style="font-size: 80%"
 Code highlighting:
   {{{#!sql
   select st_offsetcurve(
 '010200000012000000F6285C8FC2F5D83F7C14AE47E17A94BF08C74D2293C2DD3F7C14AE47E17A94BF7D2DE0BC9FDEDD3FF8E99A9A6ABC94BF52178CBF78F9DD3F3231DD24068195BF7B467E6F1A13DE3FED0F5839B4C896BFC4DFF0C8842BDE3F08816ABC749398BF27C5BD4DD18BDF3FE0272224E970ABBF8470A08C28CCDF3F851754A8F0FAA9BF6889E29BD28DDE3F9A796ABC749398BF3E3A7C44937CDE3F9E115839B4C896BF0EE8AE9A7278DE3FDB2FDD24068195BFBF29E8997081DE3F37F0EFE26ABC94BF4890BA7D8997DE3F7C14AE47E17A94BFFE2A8716D9CEE33F7C14AE47E17A94BF022B8716D9CEE33FF951B81E85EBB1BF7D3F355EBA49E43FF951B81E85EBB1BF7B3F355EBA49E43F7814AE47E17A94BFCDCCCCCCCCCCE43F7814AE47E17A94BF'::geometry,
         -0.002,
         'join=mitre')
   }}}
 }}}

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