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

2010-10-05 Thread moritzzz
So I now changed the code to just use the geos library and it works: Point* kdTreeMgmtServer::process_polygon(string line, string path) { WKTReader* wkt_reader = new WKTReader(); Geometry* geom = wkt_reader->read(line); if(!geom->isValid()) { log_error("no

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

2010-10-05 Thread Chaitanya kumar CH
Moritz, Then we can probably rule out the geos library. Just make sure it was recognized by the configure script by looking at its output or in the config.log file. We need to have some info on the get_Area() error. Build gdal after configuring with the --enable-debug switch and run the applicati

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

2010-10-05 Thread moritzzz
Hey, I checked gdal out from the svn repos and build it with: ./configure --libdir=/usr/lib --with-geos=yes make -j3 make install Installed geos stuff: dpkg -l | grep geos ii libgeos-3.2.0 3.2.0-1 Geometry engine for Geographic Information S