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 <newman...@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@hydro(*)_line' > > Can I convert a VPF to a shapefile using the java bindings? > > Thanks > > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- Best regards, Chaitanya kumar CH. +91-9494447584 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev