[josm-dev] zip style using MapCSS

Yohan Boniface yohanboniface at free.fr
Mon Apr 15 14:17:31 UTC 2013


Thanks, PierZen has also pointed me to a working example!

Yohan

On 04/15/2013 10:09 AM, Dirk Stöcker wrote:
> On Mon, 15 Apr 2013, Yohan Boniface wrote:
>
>> The documentation [2] says that this can be done with a XML based
>> style only.
>
> Where does it say so?
>

Since JOSM revision 2289 zip files are supported.

     The zip file must contain at least one file with extension *xml*.
     Icon names and path are relative to the topmost zip directory.
     If there are multiple XML files, a file with "style" in the name is 
preferred (to allow packaging styles and presets in one archive).

>> 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.
>
> Wrong path?
> "Icon names and path are relative to the topmost zip directory."
>
> One example from Wiki including icons:
>
> http://josm.openstreetmap.de/josmfile?page=Styles/Landcover&zip
>
> Ciao




More information about the josm-dev mailing list