[OSM-dev] elemstyles.xml file
Ulf Lamping
ulf.lamping at web.de
Mon Jul 2 23:37:56 BST 2007
Joerg Ostertag (OSM Munich/Germany) schrieb:
> No, just add the scale entries to the file
> applications/editors/josm/plugins/mappaint/styles/standard/elemstyles.xml
> and I have already changed pdf-atlas to point to it.
> If you want you (probably less merging for you) or I can add the
> scale_min/scale_max entries.
>
I've merged the two files including the scale entries and also added
them where missing where I found it appropriate.
> I also saw one more tag:
> <condition ... deprecated="yes" ...
> which means, that this entry cannot be used for entering data, only for
> rendering. But I don't know if it is ever used.
>
I've simply removed these rules, there where quite a lot and I thought
it was a good time to remove some "old garbage".
This might be a motivation for people to actually change the "old /
deprecated" tags into the "now official" ones :-)
However, if people really cry out loud, I can have a look at the
subversion history and put them back in.
> If you're done with the mergin, you can delete the file in /etc/ for now.
>
Done.
> Then in a second step we move this file to /etc, since it is one of the
> central definitions of osm.
>
Sounds like a good approach. However, I just don't know how to do this
in the mappaint build process :-(
BTW: Removing only the xml file from the mappaint directory will break
the description in
http://wiki.openstreetmap.org/index.php/JOSM/Plugins/MapPaint, as the
xml file will be missing from the style... As the icons belong to the
xml file (at least somehow), we could move the whole "standard"
directory (including xml and icons) to etc completely and fix the
mappaint manual accordingly.
> And finally in a really later step merge mapnik and elemstyles.
>
The mapnik xml looks pretty different, although it serves basically the
same purpose. I left that over as an excercise for the interested reader
for now ;-)
> And then we can try to merge applications/share/map-icons/icons.xml too ...
>
Hmmm, sounds like spreading this icon/style information all over the
repository is one of the reasons for the chaos ;-)
Seems it becomes my personal karma: "do not duplicate files", "do not
duplicate files", "do not duplicate files", "do not duplicate files",
"do not duplicate files", ... ;-)))
Regards, ULFL
P.S: There *were* some differences between the two files like different
colors and alike. I did my best to merge the two files, but maybe
someone is annoyed by the changes I've done. It's not that I want to
decide how things look like, I only want to have a clean base to work
with - and I'll try to add the remaining map features shortly :-)
More information about the dev
mailing list