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