Re: [gdal-dev] Can't convert .dgn file to shape file by using ogr2ogr

2012-07-12 Thread taibc
Oh, my mistake - OGR (not ORG). It is sucessful now. Thanks and regards, -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Can-t-convert-dgn-file-to-shape-file-by-using-ogr2ogr-tp4987817p4987916.html Sent from the GDAL - Dev mailing list archive at Nabble.com. __

Re: [gdal-dev] Can't convert .dgn file to shape file by using ogr2ogr

2012-07-12 Thread Even Rouault
Selon taibc : > Thanks Even Rouault, > > I tried as you said, but still got the error: > > /C:\dc16>ogr2ogr Dc16_lines.shp Dc16.dgn -where "ORG_GEOMETRY = > 'LINESTRING'" -nln Dc16_lines > > ERROR 1: Failed to identify field:ORG_GEOMETRY There is a typo in your command line. It is OGR_GEOMETRY. N

Re: [gdal-dev] Can't convert .dgn file to shape file by using ogr2ogr

2012-07-12 Thread taibc
Thanks Even Rouault, I tried as you said, but still got the error: /C:\dc16>ogr2ogr Dc16_lines.shp Dc16.dgn -where "ORG_GEOMETRY = 'LINESTRING'" -nl n Dc16_lines ERROR 1: Failed to identify field:ORG_GEOMETRY Warning 6: Normalized/laundered field name: 'GraphicGroup' to 'GraphicGro' ERROR 1: Att

Re: [gdal-dev] Can't convert .dgn file to shape file by using ogr2ogr

2012-07-12 Thread Even Rouault
Selon taibc : > Dear friends, > > I tried to convert .dgn file to shape files by using ogr2ogr with FWTools > Shell as below: FWTools is quite ancient by current standards. You could upgrade to a newer binary distribution. See http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries > > ogr2ogr -

Re: [gdal-dev] Can't convert .dgn file to shape file by using ogr2ogr

2012-07-11 Thread taibc
Dear Chaitanya, Please find the attached .dgn file. Thanks and regards, Tai From: chaitanya_ch [via OSGeo.org] To: taibc Sent: Thursday, July 12, 2012 11:10 AM Subject: Re: Can't convert .dgn file to shape file by using ogr2ogr Tai, Can you send me you

Re: [gdal-dev] Can't convert .dgn file to shape file by using ogr2ogr

2012-07-11 Thread Chaitanya kumar CH
Tai, Can you send me your dgn file? On Thu, Jul 12, 2012 at 7:31 AM, taibc 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.shp Dc16.dgn > > but I got an bellow error: > > /Warning 6: Norm

[gdal-dev] Can't convert .dgn file to shape file by using ogr2ogr

2012-07-11 Thread taibc
Dear friends, I tried to convert .dgn file to shape files by using ogr2ogr with FWTools Shell as below: ogr2ogr -f "ESRI Shapefile" Dc16.shp Dc16.dgn but I got an bellow error: /Warning 6: Normalized/laundered field name: 'GraphicGroup' to 'GraphicGro' ERROR 1: Attempt to write non-linestring (