Ticket #413 (closed enhancement: fixed)
ST_OffsetCurve
| Reported by: | rafalmag | Owned by: | strk |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 2.0.0 |
| Component: | postgis | Version: | trunk |
| Keywords: | history | Cc: | sholl, bj |
Description
I needed some new functionality and found topic: http://postgis.refractions.net/pipermail/postgis-users/2009-June/023717.html
In that topic there was link to: http://trac.osgeo.org/geos/ticket/215
It was exactly what I was looking for so I added this to PostGIS.
Example of use:
select st_astext(ST_Single_Sided_Buffer(
ST_GeomFromText('LINESTRING(10 10,10 20, 20 20 )'),
1,'join=mitre mitre_limit=5.0',0));
--------------
LINESTRING(20 19,11 19,11 10)
select st_astext(ST_Single_Sided_Buffer(
ST_GeomFromText('LINESTRING(10 10,10 20, 20 20 )'),
1,'join=mitre mitre_limit=5.0',1));
--------------
LINESTRING(9 10,9 21,20 21)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

