[josm-dev] zip style using MapCSS

Yohan Boniface yohanboniface at free.fr
Mon Apr 15 13:40:13 UTC 2013


Hi!

I'm working (with HOT) to create a new style for JOSM (which goal is to 
fit the Humanitarian Data Model [1] ). One of the needs is to provide 
more icons for POI regarding humanitarian situations.
For this style, I'm using the MapCSS option, because I feel more 
confident with this syntax.
Given that we will have many custom icons, and given that this style 
will mainly be used in humanitarian context with very poor Internet 
connection, the ideal should be to be able to provide a final ZIP, with 
the style and icons, that can be shared with USB key (as well as with an 
URL of course), and easy to install.
The documentation [2] says that this can be done with a XML based style 
only.
I've made a quick test of a zip with my style and icons, and in fact the 
style is read, but the icons are not found.
Maybe I've done something bad, but given this quick failed attempt and 
given the actual documentation, I prefer to ask before going ahead.
So:
- is it possible to use a zip for a MapCSS style including icones?
- if not, is it something that has a chance to be added in a future 
release of JOSM?

Thanks for reading!
Thanks for the good work on JOSM!

Yohan


[1] http://wiki.openstreetmap.org/wiki/Humanitarian_OSM_Tags
[2] https://josm.openstreetmap.de/wiki/Styles#Iconhandling



More information about the josm-dev mailing list