tilezen / joerd

Joerd can be used to download, merge and generate tiles from digital elevation data
MIT License
324 stars 50 forks source link

Add 3-channel 16.8 fixed-point PNGs #33

Closed zerebubuth closed 8 years ago

zerebubuth commented 8 years ago

Replace browser PNG with a 3-channel RGB 16.8 fixed point height format. Make GeoTIFF output compressed (LZW, predictor=2).

image

Note that the blockiness around the coast is flipping between 0, which is non-greenish (green channel = 0), and small negative numbers which are very greenish (green > 200-ish). It looks horrible, but isn't actually a bug. (Although we might want to come back to it far, far down the line when we've solved all the other problems).

Update: I was wrong, and the blockiness is a bug. See #36 for follow-up.

Connects to #30.

@rmarianski could you review, please?

rmarianski commented 8 years ago

:+1: