Moritz,<br><br>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.<br><br>We need to have some info on the get_Area() error.<br>
Build gdal after configuring with the --enable-debug switch and run the application with the environment variable CPL_DEBUG set to 'ON'.<br>For deeper analysis run it with ddd or some other debugger.<br><div class="gmail_quote">
<br>On Tue, Oct 5, 2010 at 5:55 PM, moritzzz <span dir="ltr"><<a href="mailto:spam@kolix.de">spam@kolix.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Hey,<br>
<br>
I checked gdal out from the svn repos and build it with:<br>
./configure --libdir=/usr/lib --with-geos=yes<br>
make -j3<br>
make install<br>
<br>
Installed geos stuff:<br>
dpkg -l | grep geos<br>
ii libgeos-3.2.0 3.2.0-1<br>
Geometry engine for Geographic Information Systems - C++ Library<br>
ii libgeos-c1 3.2.0-1<br>
Geometry engine for Geographic Information Systems - C Library<br>
ii libgeos-dev 3.2.0-1<br>
Geometry engine for GIS - Development files<br>
<br>
So from my pov it should be installed with geos support and IsValid() should<br>
not fail if the geometry is valid.<br>
<br>
For the crash of get_Area(), there is no error message or something like<br>
that. The program just shutsdown.<br>
<font color="#888888">--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Reading-Geometry-from-text-file-tp5602472p5602924.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Reading-Geometry-from-text-file-tp5602472p5602924.html</a><br>
</font><div><div></div><div class="h5">Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9494447584<br>17.2416N 80.1426E<br>