Convert Arcinfo binary coverages using the ogr_csharp.dll

2 messages Options
Embed this post
Permalink
gezjames

Convert Arcinfo binary coverages using the ogr_csharp.dll

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

I am trying to embed a utility in a VB.NET application that will convert an ArcInfo coverage (not e00) to a shapefile.  I was able to import the ogr and osr dlls to the project and can convert other file formats quite easily but not these AI coverages.  It apparently won't even open the data set with Ogr.Open([coveragename], 0).  I have tried using each of the .adf files as coverage names as well as the parent directory (as should be the case) and still it won't open the dataset.

 

Can someone point me in the right direction for this?

 

Thanks

Gerry

 


_______________________________________________
osgeo4w-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Alex Mandel-2

Re: Convert Arcinfo binary coverages using the ogr_csharp.dll

Reply Threaded More More options
Print post
Permalink
Gerry James wrote:

> I am trying to embed a utility in a VB.NET application that will convert an
> ArcInfo coverage (not e00) to a shapefile.  I was able to import the ogr and
> osr dlls to the project and can convert other file formats quite easily but
> not these AI coverages.  It apparently won't even open the data set with
> Ogr.Open([coveragename], 0).  I have tried using each of the .adf files as
> coverage names as well as the parent directory (as should be the case) and
> still it won't open the dataset.
>
>  
>
> Can someone point me in the right direction for this?
>
>  
>
> Thanks
>
> Gerry

Looking at the docs
http://www.gdal.org/ogr/drv_avcbin.html

If you have an adf file it sounds like you have GRID on your hands, not
a vector dataset.

"If the directory contains files with names like w001001.adf then the
coverage is a grid coverage suitable to read with GDAL, not a vector
coverage supported by OGR."

Keep in mind this list is specifically for discussing the OSGeo4W
installation tool. Questions about specific sub-products outside of the
installation should be addressed to that project.

I would highly recommend you join the GDAL mailing list
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Alex
_______________________________________________
osgeo4w-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev