Open geoglrb opened 8 years ago
Probably a different issue, but notice building-esque artifacts:
And that said, maybe it's not just HK...
If you are talking about the strong grid-like shading of terrains, it is really visible here: http://maps.stamen.com/terrain/beta/#15/47.6879/18.8744
Yes, true. Thanks!
It strikes me that there could be three different things going on in the images above, of which that is at least one. Not being enough of a mapnik-er/CartoCSS-er, I don't know if this is 0-3 issues (!).
There are a few things going on here, none of which we have a whole lot of control over:
https://github.com/mapzen/joerd may be a better place to track these issues if we can confirm that they're inherent to the source data.
Actually, the banding could be the result of the resampling method that Mapzen is using:
http://openterrain.tumblr.com/post/109437899736/the-effects-of-various-resampling-algorithms-on http://openterrain.tumblr.com/post/109435441421/hillshades-generated-from-resampled-srtm-dems http://openterrain.tumblr.com/post/109434986656/resampled-srtm-dems-reprojected-from-wgs84-to-web
Summary (from the first link):
Artifacts aren’t visible when looking at the reprojected DEMs, but notice how the image shifts around slightly when in slideshow mode (all images were taken of the same bounding box at thne same resolution, excepting the zoomed in versions).
The story is quite different when looking at the resulting hillshades. Horizontal and vertical artifacts become quite apparent (along with pixel shift) with methods other than bilinear and cubic. Of these, bilinear has a slight edge (to my eye), as it produces transitions that are less abrupt. You can see the difference in the 2 zoomed images.
Joerd appears to use nearest neighbor resampling (the default): https://github.com/mapzen/joerd/blob/b590a175fb2f07781ef36bf485117aad6f3e206e/joerd/composite.py#L42-L43
I can confirm that Mapzen terrain map has the exact same terrain interpolation artefacts: https://tangrams.github.io/walkabout-style-more-labels/#14.84659/47.6803/18.8767
Apologies if this is irrelevant, but...