[gdal-dev] Creating an OGRPolygon from an OGREnvelope

Hugo Benicio hbobenicio at gmail.com
Fri Aug 30 11:57:50 PDT 2013


Hi guys! Easy question here:

I have an OGREnvelope describing a rectangle that I want to use as an
OGRPolygon.
What is the correct way to do that? What I need is a OGRPolygon
representing a rectangle from my OGREnvelope.
Do I have to manually assign point by point to it? (how?) Or there is some
handy method I can use (union?).

Thanks in advance.
Hugo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130830/5f5b45ed/attachment.html>


More information about the gdal-dev mailing list