[GRASS5] ogr-grass-driver
Radim Blazek
radim.blazek at gmail.com
Thu Sep 15 04:34:37 EDT 2005
On 9/15/05, Stephan Holl <holl at gdf-hannover.de> wrote:
> Dear GRASS/GDAL-users,
>
> I created a gdal/ogr-plugin (as .deb) for the ogr-grass-driver which
> loads perfect into ogr:
> ogrinfo --formats
> Loaded OGR Format Drivers:
> -> "GRASS" (readonly)
> -> "ESRI Shapefile" (read/write)
> [...]
> -> "Interlis 1" (read/write)
> -> "Interlis 2" (read/write)
> -> "PostgreSQL" (read/write)
>
> When I try to use ogrinfo on a GRASS-vectordataset (outside GRASS), I
> have some variable-related warnings... Inside GRASS everything works
> great.
>
> When building gdal/ogr not as a module, I did not discover this
> problem.
> Perhaps anybody can give me a hint how to solve this issue?
OGRGRASSDataSource is using char *gisbase = GRASS_GISBASE;
which is set in makefile:
CPPFLAGS := -DGRASS_GISBASE=\"$(GRASS_GISBASE)\"
and that is probably missing in your makefile for the module.
Radim
More information about the grass-dev
mailing list