[geos-devel] Re: First use

Jo doublebyte at gmail.com
Thu Aug 6 12:10:21 EDT 2009

> So my first problem is to create the Geometry.
> Is there a function such as GeometryFromText() wich accept the coordinates
> of the corners of the polygon?
> Thank to all.
> P.S. If someone know a simple tutorial to get started, please send me a
> link.

I think you can use the WKTReader class; instantiate the object, and then
use the method read(), passing a stl string with the Well Known Geometry



"#define QUESTION ((bb) || !(bb))"  (Shakespeare)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geos-devel/attachments/20090806/2df466f3/attachment.html

More information about the geos-devel mailing list