[gdal-dev] error using gdaltindex on grass rasters

Markus Neteler neteler at osgeo.org
Wed Oct 15 16:45:52 EDT 2008


On Wed, Oct 15, 2008 at 7:29 PM, Jamie Adams <jaadfoo at gmail.com> wrote:
> Hello all,
>
> I needed to create a shapefile index of all the rasters in a grass mapset so
> I ran:
>
> ls /grass/location/mapset/cellhd/* | xargs gdaltindex all.shp
>
> and got this error:
>
> Warning 1: GRASS warning: Unable to open datum table file
> </usr/local/share/gdal/grass//etc/datum.table>
> /usr/local/share/gdal/grass//etc/ellipse.table: No such file or directory
> Warning 1: GRASS warning: Unable to open ellipsoid table file
> </usr/local/share/gdal/grass//etc/ellipse.table>
> Warning 1: GRASS fatal error: Invalid ellipsoid <wgs84> in file

Since GDAL 1.3.1 it should be resolved, see
http://trac.osgeo.org/gdal/ticket/822

Which version do you use?

Markus

> I created a symlink 'grass' in /usr/local/share/gdal/ pointing to my grass
> install root, and that seemed to fix the issue.
>
> I built both gdal and grass from source, plus added gdal-grass read support
> via http://trac.osgeo.org/gdal/wiki/GRASS.  Should gdaltindex work as-is, or
> did I miss a step somewhere?
>
>
> Thanks,
>
> -Jamie
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Open Source Geospatial Foundation
http://www.osgeo.org/
http://www.grassbook.org/


More information about the gdal-dev mailing list