[HOT] HOT/HDM web rendering
Yohan Boniface
yohan.boniface at hotosm.org
Sun Jul 14 19:45:02 UTC 2013
On 06/21/2013 08:51 PM, Yohan Boniface wrote:
> @Stéphane, David, Robert, about the legend needed: I totally agree on this!
> We already have an issue for this:
> https://github.com/hotosm/HDM-CartoCSS/issues/44
> I'm not sure how to handle this at the moment, but I'm sure that 1. we
> have to do it 2. it must be automatic, because it must always be up to
> date.
> I will try to take time on this ASAP, but if someone is faster than me,
> the task is open :)
Just a quick update on the legend part: I've found some time to work on
a prototype.
Here is the demo: http://hotosm.github.io/HDM-CartoCSS/
It's a Leaflet plugin that takes a descriptive JSON as input, and then
displays pieces of the map (like this we are sure it's always up to date).
For now the JSON has to be written by hand, I'm thinking about a way to
make this more dynamic but this is next step ;)
Here is a preview of the JSON:
https://github.com/hotosm/HDM-CartoCSS/blob/gh-pages/legend.js
By the way, the worldwide service is on its way. Actually, is set up and
working, but without the DEM. We are waiting for a new SSD server to
process this, which will likely be before next month.
But here you have some more countries (where I have added the DEM):
- Madagascar: http://umap.fluv.io/en/map/hot-style-madagascar_800
- Togo: http://umap.fluv.io/en/map/hot-style-togo_799
- Indonesia (without DEM):
http://umap.fluv.io/en/map/hot-style-indonesia_850#10/-6.2682/106.8352
- Burkina Faso:
http://umap.openstreetmap.fr/en/map/hot-style-burkina-faso_931
Thanks for your feedback,
Yohan
More information about the HOT
mailing list