Open mingweiLIU opened 9 years ago
My case is like this, the edges are spikes
@dg3feiko I have such problem when zero values in DEM were not equal to zero.
Thanks for reply. yes, it is, especially at the eage of each raster. This could be fixed through raster calculator in ArcToolbox.
@helmi03 could you share the details. It seems lots of guys suffers from this issue.
For my use case, I only interested with data above sea level. I have same 'spike' issue as @dg3feiko , and found out error caused by DEM value < 0, same as mentioned by @mrgloom.
My first try, reprocess the geotiff with http://www.gdal.org/gdal_fillnodata.html. But have issue with nodata on sea surface.
Since I don't care below sea level, reprocessed the geotiff using "set values of zero and below to null" as http://www.gdal.org/gdal_calc.html
Is there any smart way to process DEM with no-value and zero values (not setting no-value to zero)?
I have a fix for this problem: https://github.com/geo-data/cesium-terrain-builder/pull/49
Before my DEM.tif have NoData Value=0
and now NoData Value=-100
and it doesn't work.
@helmi03
gdal_fillnodata.py DEM.tif DEM_2.tif
not hepled, can you specify full example? Also maybe with gdalinfo
before and after applying gdal_fillnodata.py
?
@kazanture
How to apply this fix? Just git clone https://github.com/kazanture/cesium-terrain-builder
?
The best way is the repo owner to accept my pull request. Until that time you can either clone my fork or apply my small fix manually.
My case is like this, the edges are spikes
iam having this same issue, did you find any fix?
Hi. I have built CTB by Visual Studio 2015 with GDAL2.0.1, then use CTBtile to tile my DEM data with command -o XXX XXX.tif. The tool worked great while it appears a sharp scenery in CesiumJS which is not that much smooth with it in arcglobe, I am not talking about the sharp boundary but the area with some real data such as a hill will look like a pyramid. The original data is in WGS84 coordinate. I don't know if there are some restraints for input data such as supposed bits or there are something else I have left out?