Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why there is a sharp terrain scenery #33

Open
mingweiLIU opened this issue Dec 1, 2015 · 11 comments
Open

why there is a sharp terrain scenery #33

mingweiLIU opened this issue Dec 1, 2015 · 11 comments

Comments

@mingweiLIU
Copy link

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?
qq 20151201224249

@dg3feiko
Copy link

image

My case is like this, the edges are spikes

@mrgloom
Copy link

mrgloom commented Nov 24, 2016

@dg3feiko I have such problem when zero values in DEM were not equal to zero.

@mingweiLIU
Copy link
Author

Thanks for reply. yes, it is, especially at the eage of each raster. This could be fixed through raster calculator in ArcToolbox.

@helmi03
Copy link

helmi03 commented Dec 8, 2016

@gaolizhou
Copy link

@helmi03 could you share the details. It seems lots of guys suffers from this issue.

@helmi03
Copy link

helmi03 commented Dec 23, 2016

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

@mrgloom
Copy link

mrgloom commented Dec 23, 2016

Is there any smart way to process DEM with no-value and zero values (not setting no-value to zero)?

@emrebayramc
Copy link

emrebayramc commented Apr 8, 2017

I have a fix for this problem:
#49

@mrgloom
Copy link

mrgloom commented May 29, 2017

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 ?

@emrebayramc
Copy link

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.

@ajinra020307
Copy link

image

My case is like this, the edges are spikes

iam having this same issue, did you find any fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants