r.external - was: Re: [GRASS-dev] some questions about future development

Glynn Clements glynn at gclements.plus.com
Thu Aug 21 05:13:15 EDT 2008


Paul Kelly wrote:

> > AFAICT, the only "core" GDAL dependencies are the OSR stuff in
> > lib/proj and g.proj, and the vector library's support for v.external.
> > In which case, it really ought to be possible to get a usable version
> > of GRASS with no GDAL dependency in any of the libraries or core
> > modules (e.g. g.proj, g.region).
> 
> It used to be possible to compile g.proj without GDAL support, and use it 
> only for reporting on the projection information and verifying datum 
> information, but I removed all the conditional stuff for that when GDAL 
> became a non-optional dependency. Could be put back in I suppose.

That would be useful.

Also, is there any fundamental obstacle to being able to set the
projection information using PROJ parameters without going via OSR? 
Given that GRASS uses PROJ for the actual projection, it shouldn't
actually need anything other than PROJ parameters. g.setproj doesn't
use any lib/proj functions except GPJ_ask_datum_params() (which no
longer exists).

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list