[postgis-users] How does ST_Slope works ?
Francois Hugues
hugues.francois at irstea.fr
Wed Jun 13 10:31:02 PDT 2012
Hello list,
I have two (basics) questions about ST_Slope about somethings I don't
understand.
1. To know which Pixeltype I had to use, I tried to use st_bandpixeltype
which told me my pixels were 32BSI type but my results using this type
are 0 or 1 and if I try another type like 32BF, results seems to be more
useful. Does someone have an explanation about this weird difference ?
What is the unit used by st_slope ?
2. My raster is a tiled one and as you can see on both pictures,
ST_Slope gives no results for pixels located at the border of each tile.
I can understand it is impossible to find the slope for the pixels which
make the border of the raster, but is there not a way to have complete
results for the tile in the middle of the raster and thus use the
neighboring tiles.
Hugues.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120613/6181a3f0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slopes32BSI.jpg
Type: image/jpeg
Size: 945220 bytes
Desc: slopes32BSI.jpg
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120613/6181a3f0/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slopes32BF.jpg
Type: image/jpeg
Size: 992566 bytes
Desc: slopes32BF.jpg
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120613/6181a3f0/attachment-0001.jpg>
More information about the postgis-users
mailing list