Re: [josm-dev] zip style using MapCSS

2013-04-15 Thread Dirk Stöcker

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?

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/Landcoverzip

Ciao
--
http://www.dstoecker.eu/ (PGP key available)


___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] zip style using MapCSS

2013-04-15 Thread Yohan Boniface

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/Landcoverzip

Ciao



___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev