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

2012-07-11 Thread taibc
Thanks Chaitanya, I tried to use -nlt option as you said. But, still got bellow error: /ERROR 1: Dc16.shp is not a directory. ESRI Shapefile driver failed to create Dc16.shp/ -- View this message in context:

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

2012-07-11 Thread taibc
Thanks Simon, I installed and run FWTool 2.4.7. I don't know how to upgrading GDAL files as your suggestion. Could you tell me more ? Kind regards, Tai -- View this message in context:

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

2012-07-11 Thread Simon Cropper
On 11/07/12 16:29, taibc wrote: Thanks Simon, I installed and run FWTool 2.4.7. I don't know how to upgrading GDAL files as your suggestion. Could you tell me more ? Kind regards, Tai -- View this message in context:

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

2012-07-11 Thread taibc
I am using Win 7. Kind 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-tp4987477p4987514.html Sent from the OSGeo Discuss mailing list archive at Nabble.com. ___

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

2012-07-11 Thread Chaitanya kumar CH
Tai, Delete the existing shapefile files or use the option -overwrite with the ogr2ogr utility. On Wed, Jul 11, 2012 at 11:46 AM, taibc taibc_colt...@yahoo.com wrote: Thanks Chaitanya, I tried to use -nlt option as you said. But, still got bellow error: /ERROR 1: Dc16.shp is not a

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

2012-07-11 Thread taibc
Thanks Chaitanya, I deleted the existing shapefile files and tried to use -overwrite, but still got errors. Can you use ogr2ogr to convert .dgn file to shapefiles on your computer ? Thanks and regards, Tai -- View this message in context:

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

2012-07-11 Thread nicolas bozon
Hello Tai, For OGR specific questions, please use the GDAL mailing-list. http://lists.osgeo.org/mailman/listinfo/gdal-dev OSGeo-Discuss list is for general discussion about OSGeo. Thanks, Nick 2012/7/12 taibc taibc_colt...@yahoo.com Thanks Chaitanya, I deleted the existing shapefile

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

2012-07-11 Thread taibc
Ok, thanks Nick nicolas bozon wrote Hello Tai, For OGR specific questions, please use the GDAL mailing-list. http://lists.osgeo.org/mailman/listinfo/gdal-dev OSGeo-Discuss list is for general discussion about OSGeo. Thanks, Nick -- View this message in context:

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

2012-07-10 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.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

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

2012-07-10 Thread Chaitanya kumar CH
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:

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

2012-07-10 Thread taibc
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

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

2012-07-10 Thread Simon Cropper
...@fossworkflowguides.com *To:* taibc taibc_colt...@yahoo.com *Sent:* Wednesday, July 11, 2012 10:12 AM *Subject:* Re: [OSGeo-Discuss] Can't convert .dgn file to shape file by using ogr2ogr On 11/07/12 12:17, taibc wrote: Dear friends, I tried to convert .dgn file to shape files by using ogr2ogr

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

2012-07-10 Thread Chaitanya kumar CH
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_colt...@yahoo.com wrote: Thanks Chaitanya. I modified the