[gdal-dev] convert s57 to shp via ogr2ogr?

Randy randyqiuxy at hotmail.com
Mon Apr 19 10:51:50 EDT 2010


Hi Frank=A3=AC
Thanks for your help!
Yes, it works now, but I need to do lots of tedious work for finishing =
this
converting work.
Anyway, thank "ogr2ogr" and appreciate your patient guideline!
Best regards,
Randy
-----Original Message-----

> Hi Frank,
> Thanks for your timely response!
>> That switch is not appropriate to just transform a single layer.
>> Do something like:
>>
>> ogr2ogr -skipfailures wrecks_p.shp -nlt point GB4X0000.000 wrecks
>> ogr2ogr -skipfailures wrecks_l.shp -nlt linestring GB4X0000.000 =
wrecks
>=20
> So sorry I cannot understand it above,I use the command as follows on
> Linux,but it seems nothing(anything about "us_p.shp" or "us") was
> produced:
> $ogr2ogr -skipfailures us_p.shp -nlt point US1AK90M.000 us1ak90m
>=20
> I don't know what the "wrecks" at the end of your command means, then =
it
> still brought many errors while I don't use this command-word.
> Any clue?

Randy,

The "wrecks" is the name of a layer from the dataset - an S57 feature =
class.

If you do "ogrinfo uslak90m.000" you will get a list of all the =
available
layers.

Best regards,
--=20
---------------------------------------+---------------------------------=
---
--
I set the clouds in motion - turn up   | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the gdal-dev mailing list