[gdal-dev] Buffering Right and Buffering Left Using Gdal/OGR
Paul Meems
bontepaarden at gmail.com
Mon Dec 29 03:05:42 PST 2014
Hi Pratap,
You need to use BufferParameters. Then you can set SingleSided to true.
Here's some code we use in MapWinGIS:
GEOSBufferParams_create();
GEOSBufferParams_setSingleSided();
GEOSBufferWithParams();
I'm not sure if you can use the above code, I'm not a C++ developer ;)
But it should give you some pointer were to look.
Cheers,
Paul
*Paul Meems *
Release manager, configuration manager
and forum moderator of MapWindow GIS.
www.mapwindow.org
Owner of MapWindow.nl - Support for
Dutch speaking users.
www.mapwindow.nl
*The English presentations of the MapWindow GIS Conference 2014 are online.
<http://www.slideshare.net/mapwindow>*
2014-12-29 7:12 GMT+01:00 Pratap Chelamilla <
pratap.chelamilla at amigooptima.in>:
>
>
> *Hi,*
>
>
> *I am trying to buffer polyline to its right / left , Is there any way to
> buffer right/left using GDAL/OGR. OGRGeometry *bufGeometry =
> geometry->Buffer(buffer);*
>
>
>
>
>
> *I have tried providing buffer value with positive and negative, but unable to see any buffering around the polyline.Please provideus solution to solve this problem. *
>
>
> --
> Regards,
> Pratap.
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20141229/34f060db/attachment.html>
More information about the gdal-dev
mailing list