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

Glynn Clements glynn at gclements.plus.com
Mon Aug 25 10:42:34 EDT 2008


Paul Kelly wrote:

> >> Also, is there any fundamental obstacle to being able to set the
> >> projection information using PROJ parameters without going via OSR?

> Been thinking about this a bit more and a more fundamental problem than
> the ellipsoid and datum names is the lack of validation of the PROJ.4
> parameters that would be possible. All g.proj could do would be to pass
> the parameters into the PROJ_INFO and PROJ_UNITS unchanged and any
> problems would only show up when they were used for reprojection. I'm not
> sure how good the error checking is there as it assumes that the PROJ_INFO
> and PROJ_UNITS are valid. g.setproj always creates a valid file because it 
> composes the parameters from a set list.

So, it looks like I need to cannibalise g.setproj so that there is
still a way to set projection parameters in the absence of OSR.

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


More information about the grass-dev mailing list