Tai, You switched the source and destination datasets. Use this command: ogr2ogr -f "ESRI Shapefile" Dc16.shp Dc16.dgn
On Wed, Jul 11, 2012 at 7:47 AM, taibc <taibc_colt...@yahoo.com> wrote: > Dear friends, > > I tried to convert .dgn file to shape files by using ogr2ogr with FWTools > Shell as below: > > ogr2ogr -f "ESRI Shapefile" Dc16.dgn Dc16.shp > > but I got an bellow error: > / > FAILURE: > Unable to open datasource `Dc16.shp' with the following drivers. > -> ESRI Shapefile > -> MapInfo File > -> UK .NTF > -> SDTS > -> TIGER > -> S57 > -> DGN > -> VRT > -> REC > -> Memory > -> BNA > -> CSV > -> NAS > -> GML > -> GPX > -> KML > -> GeoJSON > -> Interlis 1 > -> Interlis 2 > -> GMT > -> SQLite > -> ODBC > -> PGeo > -> OGDI > -> PostgreSQL > -> MySQL > -> XPlane > -> AVCBin > -> AVCE00 > -> DXF > -> Geoconcept > -> GeoRSS > -> GPSTrackMaker > -> VFK > / > Are there anyone know how to fix this error ? > > Thanks and Regards, > > Tai > > -- > View this message in context: > http://osgeo-org.1560.n6.nabble.com/Can-t-convert-dgn-file-to-shape-file-by-using-ogr2ogr-tp4987477.html > Sent from the OSGeo Discuss mailing list archive at Nabble.com. > _______________________________________________ > Discuss mailing list > Discuss@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/discuss > -- Best regards, Chaitanya kumar CH. +91-9494447584 17.2416N 80.1426E
_______________________________________________ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss