[postgis-users] ST_HillShade

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Wed May 30 06:48:48 PDT 2012


Propably because all the resulting values were greater than 15 and were clamped to 15. Use a better pixeltype (32BF).

Pierre

> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-
> bounces at postgis.refractions.net] On Behalf Of Paolo Cavallini
> Sent: Wednesday, May 30, 2012 6:42 AM
> To: PostGIS Users Discussion
> Subject: [postgis-users] ST_HillShade
> 
> Not my lucky day. Why
> 
> CREATE TABLE shade
>  as select rid,
>  ST_HillShade(rast,1,'4BUI',300,45,255,1) as rast
>  from dtm;
> 
> returns a raster with all value=15?
> 
> Thanks a lot.
> --
> Paolo Cavallini - Faunalia
> www.faunalia.eu
> Full contact details at www.faunalia.eu/pc
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list