Re: [gdal-dev] ogr2ogr.java s57 conversion

2011-06-22 Thread Robert Naugle
Excellent! Thank you! Everything seems to be performing quite well now. One more thank you. ~Bob ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] ogr2ogr.java s57 conversion

2011-06-22 Thread Even Rouault
Le mercredi 22 juin 2011 19:18:51, Robert Naugle a écrit : > Hi Even, welcome back. > > A fair suggestion, but -skipfailures is the first argument in my argument > list. Even so, the test for skipfailures comes AFTER the call > to CreateFeature(...) which is where I get a *java.lang.RuntimeExcepti

Re: [gdal-dev] ogr2ogr.java s57 conversion

2011-06-22 Thread Robert Naugle
Hi Even, welcome back. A fair suggestion, but -skipfailures is the first argument in my argument list. Even so, the test for skipfailures comes AFTER the call to CreateFeature(...) which is where I get a *java.lang.RuntimeException: OGR Error: Unsupported geometry type. *This obviously stops all c

Re: [gdal-dev] ogr2ogr.java s57 conversion

2011-06-22 Thread Even Rouault
Le mercredi 22 juin 2011 18:48:34, Robert Naugle a écrit : > Oliver, > > Thanks much for your help, and with the link. I thought I would share my > progress: > > The first thing I tried was moving the csv files (s57attributes.csv and > s57objectclasses.csv) into the working directory. Success! (s

Re: [gdal-dev] ogr2ogr.java s57 conversion

2011-06-22 Thread Robert Naugle
Oliver, Thanks much for your help, and with the link. I thought I would share my progress: The first thing I tried was moving the csv files (s57attributes.csv and s57objectclasses.csv) into the working directory. Success! (sort of...) ogr2ogr.java found all the layers in the s57 chart file. Howev

Re: [gdal-dev] ogr2ogr.java s57 conversion

2011-06-21 Thread Oliver Wesp
Hello Robert, Try setting the GDAL_DATA and OGR_S57_OPTIONS environment variables within your java environment. http://www.gdal.org/ogr/drv_s57.html Best regards, Oliver 2011/6/20 Robert Naugle : > If I use the GDAL 1.7.3 version of ogr2ogr from the command line, like: >     ogr2ogr -skipfailur

[gdal-dev] ogr2ogr.java s57 conversion

2011-06-20 Thread Robert Naugle
If I use the GDAL 1.7.3 version of ogr2ogr from the command line, like: *ogr2ogr -skipfailures /path/to/dest /path/to/source* it works great. I get a directory 'dest' full of shapefiles, one for each layer in the source S-57 chart file. (in my case, 21 different layers) I am trying to use ogr2