[Gdal-dev] Re: Java binding - supported file format.

Daniel Siino drsiino at gmail.com
Mon Apr 16 14:23:21 EDT 2007


Sorry,

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.

Best regards,

Daniel

On 4/16/07, Daniel Siino <drsiino at gmail.com> wrote:
>
> Hi,
>
> I am able to read ESRI and TAB files using  the ogrinfo tool but I get:
> "ERROR 4: `d:\data\world.shp' not recognised as a supported file format."
> when running
> java -cp build\classes;apps gdalinfo d:\data\world.shp
>
> Am I missing some file in my path?
>
> I have build the Java binding using nmake and swigwin-1.3.31.
> I've only got a few warnings during the process:
> Warning(453): Can't apply (IF_ERROR_RETURN_NONE). No typemaps are defined.
>
> Warning(302): Identifier 'Geometry' redefined (ignored) (Renamed from
> 'OGRGeometryShadow'),
>  Warning(302): previous definition of 'Geometry' (Renamed from
> 'OGRGeometryShadow').
> Warning(453): Can't apply (double argout[ANY]). No typemaps are defined.
>
>
>
> Regards,
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20070416/3b133699/attachment.html


More information about the Gdal-dev mailing list