Hi Frankļ¼ 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 > > 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 > > 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, -- ---------------------------------------+------------------------------------ -- I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev