Hi,
the shade.rel.sh script does IMHO not work properly any more.
If i create a shaded relief in plain areas (even surfaces/no slope)
there are NULL-holes in the raster. My DEM has no NULL-values.
I think that this comes from different handling of division by zero?
This has maybe a very simple solution (if-clause in the mapcalc
function?), but i don't know which.
I'll report this to the RT if i get no feedback for a solution.
Just removed my grass4.3 setup, so that i can no longer test.
cu,
Andreas
--
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
Andreas.Lange@Rhein-Main.de - A.C.Lange@GMX.net
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
On Fri, Jan 12, 2001 at 04:22:56PM +0100, Andreas Lange wrote:
Hi,
the shade.rel.sh script does IMHO not work properly any more.
If i create a shaded relief in plain areas (even surfaces/no slope)
there are NULL-holes in the raster. My DEM has no NULL-values.
I think that this comes from different handling of division by zero?
This has maybe a very simple solution (if-clause in the mapcalc
function?), but i don't know which.
I'll report this to the RT if i get no feedback for a solution.
Just removed my grass4.3 setup, so that i can no longer test.
Hi Andreas,
I have already a fix - will check in now.
In a few minutes...
Markus
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
On Fri, Jan 12, 2001 at 04:36:26PM +0000, Markus Neteler wrote:
On Fri, Jan 12, 2001 at 04:22:56PM +0100, Andreas Lange wrote:
> Hi,
>
> the shade.rel.sh script does IMHO not work properly any more.
> If i create a shaded relief in plain areas (even surfaces/no slope)
> there are NULL-holes in the raster. My DEM has no NULL-values.
> I think that this comes from different handling of division by zero?
>
> This has maybe a very simple solution (if-clause in the mapcalc
> function?), but i don't know which.
> I'll report this to the RT if i get no feedback for a solution.
>
> Just removed my grass4.3 setup, so that i can no longer test.
Hi Andreas,
I have already a fix - will check in now.
In a few minutes...
Done 
cvs up src/scripts/shells/shade.rel.sh
Please try. Congrats evetually to David Finlayson <david_finlayson@yahoo.com>
Cheers
Markus
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
Thank you very much.
Works now without any problems!
cu,
Andreas
Markus Neteler wrote:
On Fri, Jan 12, 2001 at 04:36:26PM +0000, Markus Neteler wrote:
> On Fri, Jan 12, 2001 at 04:22:56PM +0100, Andreas Lange wrote:
> > Hi,
> >
> > the shade.rel.sh script does IMHO not work properly any more.
> > If i create a shaded relief in plain areas (even surfaces/no slope)
> > there are NULL-holes in the raster. My DEM has no NULL-values.
> > I think that this comes from different handling of division by zero?
> >
> > This has maybe a very simple solution (if-clause in the mapcalc
> > function?), but i don't know which.
> > I'll report this to the RT if i get no feedback for a solution.
> >
> > Just removed my grass4.3 setup, so that i can no longer test.
> Hi Andreas,
>
> I have already a fix - will check in now.
>
> In a few minutes...
>
Done 
cvs up src/scripts/shells/shade.rel.sh
Please try. Congrats evetually to David Finlayson <david_finlayson@yahoo.com>
Cheers
Markus
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
--
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
Andreas.Lange@Rhein-Main.de - A.C.Lange@GMX.net
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'