Billy, These programs run very similar to the original programs described in the OGR utilities page[2]. They just have less functionality and not updated as regularly.
PS: The gdal.org site is down at the moment. [2]: http://www.gdal.org/ogr_utilities.html On Thu, Feb 2, 2012 at 12:23 AM, Billy Newman <newman...@gmail.com> wrote: > Do you have examples of how ogr2ogr.java and ogrinfo.java are run. I.E. > do you have test cases for these sample programs? > > Thanks a ton, this is really helpful. > > > On Wed, Feb 1, 2012 at 10:01 AM, Chaitanya kumar CH < > chaitanya...@gmail.com> wrote: > >> 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 >> > > -- 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