[gdal-dev] Reading Geometry from text file

2010-10-05 Thread moritzzz
Hey guys, I just started using gdal/ogr and am running into a lot of problems. The main one right now comes up when I'm trying to create a geometry from a string that I read from a file. The line I'm reading looks like this: MULTIPOLYGON(((1 1,5 1,5 5,1 5,1 1),(2 2,2 3,3 3,3 2,2 2)),((6 3,9 2,9 4

Re: [gdal-dev] Reading Geometry from text file

2010-10-05 Thread Chaitanya kumar CH
Moritz, Did you compile GDAL/OGR with GEOS library support? IsValid() will fail without this. I can't tell why get_Area() crashes. On Tue, Oct 5, 2010 at 3:03 PM, moritzzz wrote: > > Hey guys, > > I just started using gdal/ogr and am running into a lot of problems. The > main one right now com