Re: [gdal-dev] Modification to the ogr2ogr.java

2010-10-08 Thread Chaitanya kumar CH
Sagar, You can specify the directory containing the shapefiles as the source datasource. If you want to select .shp files specifically, mention them without the extension at the end of the command. You don't have to specify the source SRS if the file name of the .prj file is the same as the .shp

[gdal-dev] Modification to the ogr2ogr.java

2010-10-08 Thread sagar_sahay
Hi, I am trying to modify the ogr2ogr.java found at the link http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/java/apps/ogr2ogr.java , to cater to multiple ".shp" files. The problem which I am facing is that there are too many System.exit(1) statements which makes it a little difficult to unde