[gdal-dev] ogr2ogr convert e00 to shp

Andre Joost andre+joost at nurfuerspam.de
Fri Feb 15 12:48:56 PST 2013


Hi,

please answer to the lst, so others can benefit from the answers.

Am 15.02.2013 21:06, schrieb Murat Beyhan:
> Hi André,
> thanks for your comment.
> I know this but It is never created such shp file. It only creates
> directory
> and it is containing followings
> ARC.dbf
> ARC.shp
> ARC.shx
> igds.dbf
> igds.shp
> igds.shx
> LAB.dbf
> LAB.shp
> LAB.shx
>   I really surprised What is wrong. May be new version has some different
> way to do this job. I'm not sure.


I think thats okay for e00 data. Reading 
http://www.gdal.org/ogr/drv_avce00.html those shapefiles are created and 
named depending on the content of the source.

HTH,
André Joost


>
>
>
> 2013/2/15 Andre Joost<andre+joost at nurfuerspam.de>
>
>> Hi,
>>
>> I had this problem too if the file "file.shp already exists. GDAL does not
>> want to overwrite such a file, but create a directory instead.
>>
>> So bet workflow is to delete the output file, if it exists, and then carry
>> on with ogr2ogr:
>>
>>   if exist file.shp del file.shp
>>   ogr2ogr -f "ESRI Shaoefile" file.shp ...
>>
>>
>>
>> HTH,
>> André Joost
>>
>> Am 15.02.2013 18:46, schrieb Murat Beyhan:
>>
>>   I was creating shp file using ogr2ogr as follows
>>>
>>> avcimport file.e00 coverage
>>>
>>> ogr2ogr -f "ESRI Shapefile" file.shp coverage
>>>
>>> This was worked well for old version of gdal
>>>
>>> I have installed gdal 1.9 then I have faced such a problem
>>>
>>> the ogr2ogr command create a directory and shp file located unter that
>>> directory.
>>> But old version of ogr2ogr was created files under the same directory
>>> where
>>> you work
>>>
>>> the old version of ogr2ogr creates file.shp file.shx file.dbf
>>>
>>> but new version create directory under working directory called file.shp
>>> instead of file.shp file
>>> and the shp files located under file.shp directory
>>>
>>> Please let me know what is differs this resuts.
>>>
>>> Regards
>>> Murat
>>>
>>>
>>>
>>>
>>> ______________________________**_________________
>>> gdal-dev mailing list
>>> gdal-dev at lists.osgeo.org
>>> http://lists.osgeo.org/**mailman/listinfo/gdal-dev<http://lists.osgeo.org/mailman/listinfo/gdal-dev>
>>>
>>
>>
>> ______________________________**_________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/**mailman/listinfo/gdal-dev<http://lists.osgeo.org/mailman/listinfo/gdal-dev>
>>
>




More information about the gdal-dev mailing list