[GRASS-user] OGR don't see GRASS format

Hamish hamish_nospam at yahoo.com
Mon Oct 9 21:32:42 EDT 2006


Maciej Sieczka wrote:
> Jarek Jasiewicz wrote:
> 
> > ogrinfo -- formats returns:
> > Loaded OGR Format Drivers:
> >  -> "ESRI Shapefile" (read/write)
> >  -> "UK .NTF" (readonly)
> <snip>
> 
> My is:
> 
> $ ogrinfo --formats
> Supported Formats:
>   -> "GRASS" (readonly)
>   -> "ESRI Shapefile" (read/write)
> 
> <snip>
> 
> I can't know what is wrong with your setup, but my advices are:
> 
> 1. Use GDAL 1.3.2 if you can.
> 2. Don't build GDAL with GRASS. Build GDAL, GRASS with GDAL and then
> build the GDAL-GRASS plugin (get the newest version from GDAL site).
> This will save you circular dependencies. This is the recommended way
> (see GRASS WIKI).
> 
> If you still have problems let us know.


After compiling and installing the GRASS plugin, make sure it ended up
in the right place:

$ ls /usr/lib/gdalplugins/
gdal_GRASS.so  ogr_GRASS.so



Hamish




More information about the grass-user mailing list