[GRASS5] GRASS <-> GDAL circular references

Glynn Clements glynn.clements at virgin.net
Fri May 21 12:20:50 EDT 2004


Radim Blazek wrote:

> because of conflicts between GRASS and libgrass when used together
> (the same names of functions), I have tried to rewrite 
> GRASS driver in GDAL to use GRASS 5.7 shared libs.
> I used GPJ_grass_to_wkt to get projection informations, unfortunately 
> libgrass_gproj is linked to libgdal which makes circular reference.
> The same problem will be with potential GRASS vector driver in OGR.
> 
> What is the correct solution?

Probably to remove the GDAL stuff from libgrass_gproj. 5.0/5.3 worked
OK without it.

Given the nature of GDAL (C++, many dependencies, possible dependency
upon GRASS), the less that depends upon it, the better.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list