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

Chaitanya kumar CH chaitanya.ch at gmail.com
Tue Jul 10 22:49:40 PDT 2012


Tai,

ESRI Shapefiles restrict the type of geometry in a layer to one type.
You may be able to overcome this using the -nlt option
ogr2ogr -f "ESRI Shapefile" -nlt GEOMETRY Dc16.shp Dc16.dgn

On Wed, Jul 11, 2012 at 9:10 AM, taibc <taibc_coltech at yahoo.com> wrote:

> Thanks Chaitanya.
>
> I modified the command, but I still got an other error:
>
> Warning 6: Normalized/laundered field name: 'GraphicGroup' to 'GraphicGro'
> ERROR 1: Attempt to write non-linestring (POINT) geometry to ARC type
> shapefile.
>
> ERROR 1: Terminating translation prematurely after failed
> translation of layer elements (use -skipfailures to skip errors)
>
> Do you know how to fix it ?
>
> 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-tp4987477p4987480.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/3f73551a/attachment-0002.html>


More information about the Discuss mailing list