<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<BR> <BR>
> On Sat, Feb 28, 2009 at 4:43 AM, godofredo contreras <frdcn@hotmail.com> wrote:<BR>> > Hi:<BR>> ><BR>> > I tried to use ogrinfo with the grass driver, this was the command I used:<BR>> ><BR>> > C:\dev\cpp\qgisrelease>ogrinfo<BR>> > C:/spearfish60/PERMANENT/vector/landcover/head<BR>> ><BR>> > and I got the following warnings:<BR>> ><BR>> > Warning 1: GRASS warning: Unable to open datum table file<BR>> > <C:/spearfish60/PERMAN<BR>> > ENT/vector/landcover/head/etc/datum.table><BR>> > Warning 1: GRASS warning: Unable to open ellipsoid table file<BR>> > <C:/spearfish60/PE<BR>> > RMANENT/vector/landcover/head/etc/ellipse.table><BR>> ><BR>> > and didn't show any layers.<BR>> ><BR>> > Is the grass driver updated to work with grass 6.0 data?, I'm using the<BR>> > ogrinfo from<BR>> > osgeo4w and I set GISBASE to an installation of grass-6.4.0RC3 inside<BR>> > osgeo4w<BR>> > directory.<BR>> <BR>> The problem is that the software wasn't compiled with the (AFAIK)<BR>> --with-proj-share=...<BR>> flag to indicate the correct path of these files.<BR>> <BR>> On my Linux box they stay in:<BR>> /usr/share/gdal/grass/etc/<BR>> <BR>> Best reported to<BR>> http://trac.osgeo.org/osgeo4w/<BR>> as bug.<BR>> <BR>> Markus<BR><BR>
Thank you Markus for the answer, it was an error mine. I took out ogrinfo from<BR>
osgeo4w directory and I forgot to set GDAL_DATA environment variable. After<BR>
setting GDAL_DATA the error have gone.<BR>
<BR>
Regards<BR>
Godofredo Contreras<BR><br /><hr />Windows Live™ Contacts: Organize your contact list. <a href='http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009' target='_new'>Check it out.</a></body>
</html>