Thanks for you awnser, Frank.
At the end, that conversion was not needed for me in my code.
On Fri, Aug 30, 2013 at 9:34 PM, Frank Warmerdam wrote:
> Hugo,
>
> OGREnvelope is not treated as a first class geometry in OGR and you are
> pretty much stuck creating a polygon geometry point by point f
Hugo,
OGREnvelope is not treated as a first class geometry in OGR and you are
pretty much stuck creating a polygon geometry point by point from the
envelope values. Kind of sucky, I know.
Best regards,
Frank
On Fri, Aug 30, 2013 at 11:57 AM, Hugo Benicio wrote:
> Hi guys! Easy question here:
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
ha