[OSM-dev] [Mapnik-devel] reliefs madness
jochen at remote.org
Wed Jan 9 09:58:23 GMT 2008
On Wed, Jan 09, 2008 at 09:26:34AM +0000, Artem Pavlenko wrote:
Wow! That looks great.
> I'm aware of voids and 'below sea level' areas (TODO) and I'm looking
> for the best solution. Ideas welcome!
I think areas below sea level should just get the darkest green. In most
cases it is probably not necessary to distinguish the details.
Void areas might be handled by painting them in a unqiue color and then
finding in the produced image all pixels with that unique color and just
taking the average of all pixels around them (that are not themselves
void). Something like that anyway. That might not be the most accurate
algorithm, but at least for low zoom levels it should be ok.
Jochen Topf jochen at remote.org http://www.remote.org/jochen/ +49-721-388298
More information about the dev