[OSGeo-Discuss] Can't convert .dgn file to shape file by using ogr2ogr

Chaitanya kumar CH chaitanya.ch at gmail.com
Tue Jul 10 20:34:07 PDT 2012


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_coltech at 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/discuss
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/discuss/attachments/20120711/1ea2574f/attachment-0002.html>


More information about the Discuss mailing list