[josm-dev] mappaint styles and icons: Just changed the setting names and some other improvements

Dirk Stöcker openstreetmap at dstoecker.de
Sat Jan 10 18:25:14 GMT 2009


On Sat, 10 Jan 2009, Ulf Lamping wrote:

> If you use your own mappaint styles and/or icons, please have a look at
> the updated page:
> http://wiki.openstreetmap.org/wiki/JOSM/Plugins/MapPaint#Preferences

Your description was a bit wrong. I fixed that.

> I've also added an option to disable build in defaults for mappaint
> icons and elemstyles.xml, so you can really replace the styles and icons
> completely now (much like the preset settings work) - which wasn't
> possible before ...

Well, it was :-) Internal icons are added at end of the list, style at 
beginning. So overwriting was possible. Thought it was not possible to 
remove a single style totally.

Probably we should fill the mappaint preferences page with life adding all 
the options you described at that page?

BTW:

I do not understand these comments. I think they are wrong or outdated

 	<rule>
 		<condition k="waterway" v="dam"/>
 		<icon annotate="true" src="misc/no_icon.png"/>
 		<line width="2" colour="manmade#d8d8d8"/>
 		<!-- it's not possible to have both line and area, line seems more likely -->
 		<scale_min>1</scale_min>
 		<scale_max>50000</scale_max>
 	</rule>

 	<rule>
 		<condition k="waterway" v="waterfall"/>
 		<icon annotate="true" src="nautical/waterfall.png"/>
 		<line width="2" colour="manmade#d8d8d8"/>
 		<!-- it's not possible to have both line and area, line seems more likely -->
 		<scale_min>1</scale_min>
 		<scale_max>50000</scale_max>
 	</rule>

And these:
a) line with negative priority should help a lot here
b) linemode would work, but you need to find a mod, which does not
    make the ways ugly :-)
    Maybe an overlay of a dashed colored line?

 	<!-- this will badly display otherwise well tagged footways and alike, so comment it out until we have better ways to display this in JOSM!
 	XXX - maybe it's possible to use linemod's here?
 	<rule>
 		<condition k="surface" v="paved"/>
 		<line width="1" realwidth="3" colour="street#c0c0c0"/>
 		<icon annotate="true" src="misc/no_icon.png"/>
 		<scale_min>1</scale_min>
 		<scale_max>40000</scale_max>
 	</rule>

 	<rule>
 		<condition k="surface" v="cobblestone"/>
 		<line width="1" realwidth="3" colour="street#c0c0c0"/>
 		<icon annotate="true" src="misc/no_icon.png"/>
 		<scale_min>1</scale_min>
 		<scale_max>40000</scale_max>
 	</rule>

 	<rule>
 		<condition k="surface" v="unpaved"/>
 		<line width="1" realwidth="3" colour="street#c0c0c0"/>
 		<icon annotate="true" src="misc/no_icon.png"/>
 		<scale_min>1</scale_min>
 		<scale_max>40000</scale_max>
 	</rule>
 	-->


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




More information about the josm-dev mailing list