[gdal-dev] Getting VPF data via OGR java bindings

Chaitanya kumar CH chaitanya.ch at gmail.com
Wed Feb 1 12:01:35 EST 2012


Billy,

There are sample java programs that use GDAL's java bindings in the GDAL
code tree[1]. There include sample ogrinfo and ogr2ogr codes too.

[1]: http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/java/apps

On Wed, Feb 1, 2012 at 10:12 PM, Billy Newman <newmanw10 at gmail.com> wrote:

> I am able to get VPF (vector product format) info and perform operations
> (like convert to shape files) command line using ogrinfo and ogr2ogr.  What
> I am wondering is if the java bindings for ogr support the same.
>
> i.e. to get a list of layer names
> ogrinfo gltp:/vrf/usr4/mppl/v0eur/vmaplv0/eurnasia
>
> Can I get a list of layer names using the java bindings?
>
> i.e. convert to shape file
> ogr2ogr watrcrsl.shp gltp:/vrf/usr4/mppl/v0eur/vmaplv0/eurnasia
> 'watrcrsl at hydro(*)_line'
>
> Can I convert a VPF to a shapefile using the java bindings?
>
> Thanks
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120201/91dfce42/attachment.html


More information about the gdal-dev mailing list