Sorry,<br><br>I jumped the gun on this one. I just realized the gdalinfo class is meant for raster format. I need to use the ogr class with vector files.<br><br>Best regards,<br><br>Daniel<br><br><div><span class="gmail_quote">
On 4/16/07, <b class="gmail_sendername">Daniel Siino</b> <<a href="mailto:drsiino@gmail.com">drsiino@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I am able to read ESRI and TAB files using the ogrinfo tool but I get:<br>"ERROR 4: `d:\data\world.shp' not recognised as a supported file format."<br>when running<br>java -cp build\classes;apps gdalinfo d:\data\world.shp
<br><br>Am I missing some file in my path?<br><br>I have build the Java binding using nmake and swigwin-1.3.31.<br>I've only got a few warnings during the process:<br>Warning(453): Can't apply (IF_ERROR_RETURN_NONE). No typemaps are defined.
<br>Warning(302): Identifier 'Geometry' redefined (ignored) (Renamed from 'OGRGeometryShadow'),<br> Warning(302): previous definition of 'Geometry' (Renamed from 'OGRGeometryShadow').<br>Warning(453): Can't apply (double argout[ANY]). No typemaps are defined.
<br><br><br><br>Regards,<br><br><br>
</blockquote></div><br>