Calculating slope from elevation returns hole when using ST_Slope in PostGIS

المشرف العام

Administrator
طاقم الإدارة
I have rasters from the National Elevation Dataset loaded into a PostGRES database and am using the built-in function ST_Slope to calculate the slope. However these contain many holes where there is valid elevation data.

Here is my query:

SELECT (ST_DumpValues(ST_Slope(raster), ARRAY[1], False)).valarray as slopeFROM nat_elev_dataLIMIT 1;I suspect that I need to pass additional parameters but am not sure what.



أكثر...
 
أعلى