[GRASS5] initiation of proj library in r.sun

Radim Blazek blazek at itc.it
Mon Dec 1 06:39:52 EST 2003


On Monday 01 December 2003 09:59, Markus Neteler wrote:
> On Sun, Nov 30, 2003 at 10:21:29AM +0000, Paul Kelly wrote:
> > Hello Jaro
> >
> > On Sat, 29 Nov 2003, Jaro Hofierka wrote:
> > > Hi,
> > >
> > > I am trying to use recent updates of r.sun under CVS version of GRAS5.3
> > > (from Oct 11). I got the following error reading latitude values from
> > > proj info:
> > >
> > > r.sun elevin=ele25 aspin=asp250 slopein=slop250 day=90 beam_rad=b1a
> > > diff_rad=d1a refl_rad=r1a
> > > Mode 2: integrated daily irradiation
> > > Unable to initialise PROJ.4 with the following parameter list:
> > >   +proj=krovakgis +a=6377397.155 +es=0.006674372231802145
> > > +towgs84=653.000000,-212.000000,449.000000
> > >   The error message was 'unknown projection id'
> > >   ERROR: Can't get projection key values of current location
> >
> > "proj: krovakgis" doesn't exist any more in GRASS; you need to use
> > "proj: krovak". I believe Radim made some changes to this to fix the axis
> > orientation and the version in the internal GRASS PROJ is more 'correct'
> > than in the remotesensing.org PROJ version.
> >
> > Paul
>
> FYI
> Month ago I have submitted a "krovak" update to PROJ4, but it
> was not accepted (yet?):
>
> http://bugzilla.remotesensing.org/show_bug.cgi?id=147
>
> The best would be to raise that issue on the PROJ4 mailing list
> http://www.remotesensing.org/proj/
>
> Interesting to know is that the Evenden version of PROJ4 (but without
> datum transformation) now contains Krovak support:
> http://members.bellatlantic.net/~vze2hc4d/proj4/
>
> Markus

'krovak' works now like 'krovakgis' in GRASS, if you use external PROJ.4,
you have to apply the patch, see also
http://mpa.itc.it/radim/jtsk/index.html
http://pandora.idnes.cz/part/2003/11/57995

Radim





More information about the grass-dev mailing list