Billy,<br><br>There are sample java programs that use GDAL&#39;s java bindings in the GDAL code tree[1]. There include sample ogrinfo and ogr2ogr codes too.<br><br>[1]: <a href="http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/java/apps">http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/java/apps</a><br>
<br><div class="gmail_quote">On Wed, Feb 1, 2012 at 10:12 PM, Billy Newman <span dir="ltr">&lt;<a href="mailto:newmanw10@gmail.com">newmanw10@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br><br>
i.e. to get a list of layer names<br>

ogrinfo gltp:/vrf/usr4/mppl/v0eur/vmaplv0/eurnasia<br><br>Can I get a list of layer names using the java bindings?<br><br>i.e. convert to shape file<br>ogr2ogr watrcrsl.shp gltp:/vrf/usr4/mppl/v0eur/vmaplv0/eurnasia &#39;watrcrsl@hydro(*)_line&#39; <br>


<br>Can I convert a VPF to a shapefile using the java bindings?<br><br>Thanks<br>
<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>
<br>+91-9494447584<br>17.2416N 80.1426E<br>