[gdal-dev] OGR Grass driver error

godofredo contreras frdcn at hotmail.com
Mon Mar 2 10:31:35 EST 2009



 

> On Sat, Feb 28, 2009 at 4:43 AM, godofredo contreras <frdcn at hotmail.com> wrote:
> > Hi:
> >
> > I tried to use ogrinfo with the grass driver, this was the command I used:
> >
> > C:\dev\cpp\qgisrelease>ogrinfo
> > C:/spearfish60/PERMANENT/vector/landcover/head
> >
> > and  I got the following warnings:
> >
> > Warning 1: GRASS warning: Unable to open datum table file
> > <C:/spearfish60/PERMAN
> > ENT/vector/landcover/head/etc/datum.table>
> > Warning 1: GRASS warning: Unable to open ellipsoid table file
> > <C:/spearfish60/PE
> > RMANENT/vector/landcover/head/etc/ellipse.table>
> >
> > and didn't show any layers.
> >
> > Is the grass driver updated to work with grass 6.0 data?, I'm using the
> > ogrinfo from
> > osgeo4w and I set GISBASE to an installation of grass-6.4.0RC3 inside
> > osgeo4w
> > directory.
> 
> The problem is that the software wasn't compiled with the (AFAIK)
> --with-proj-share=...
> flag to indicate the correct path of these files.
> 
> On my Linux box they stay in:
> /usr/share/gdal/grass/etc/
> 
> Best reported to
> http://trac.osgeo.org/osgeo4w/
> as bug.
> 
> Markus


Thank you Markus for the answer, it was an error mine. I took out ogrinfo from

osgeo4w directory and I forgot to set GDAL_DATA environment variable. After

setting GDAL_DATA the error have gone.

 

Regards

Godofredo Contreras

_________________________________________________________________
Windows Live™ Contacts: Organize your contact list. 
http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090302/9a59779e/attachment.html


More information about the gdal-dev mailing list