[postgis-devel] [PostGIS] #413: ST_OffsetCurve

PostGIS trac at osgeo.org
Wed Mar 10 00:48:53 PST 2010


#413: ST_OffsetCurve
--------------------------+-------------------------------------------------
  Reporter:  rafalmag     |       Owner:  strk         
      Type:  enhancement  |      Status:  assigned     
  Priority:  medium       |   Milestone:  PostGIS 2.0.0
 Component:  postgis      |     Version:  1.5.X        
Resolution:               |    Keywords:               
--------------------------+-------------------------------------------------
Comment (by strk):

 Almost there !
 I'd merge 3rd and 4th arguments into a single one: "parameters"
 Examples:
 {{{
 select ST_AsText(ST_OffsetCurve(
 ST_GeomFromText('LINESTRING(10 10,10 20, 20 20 )'),
 1,'side=right join=mitre mitre_limit=5.0'));
 --------------
 LINESTRING(20 19,11 19,11 10)

 select ST_AsText(ST_OffsetCurve(
 ST_GeomFromText('LINESTRING(10 10,10 20, 20 20 )'),
 1,'side=left join=mitre mitre_limit=5.0'));
 --------------
 LINESTRING(9 10,9 21,20 21)
 }}}

 But it'd be also nice to hear from others about that.

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