[PATCH] car_repair and unnamed POIs

Attached are two small patches against current SVN trunk: * default-style: Add car_repair to list of POI's * default-style: Use generic names for some unnamed POIs Cheers, - Michel

0> In article <49ADAEA0.5060604@users.sf.net>, 0> Michel Marti <URL:mailto:mcdmx@users.sf.net> ("Michel") wrote: Michel> --- a/resources/styles/default/points Michel> +++ b/resources/styles/default/points Michel> @@ -1,3 +1,9 @@ Michel> +amenity=parking & name != * { name 'Parking' } Michel> +amenity=telephone & name != * { name 'Telephone' } Michel> +amenity=toilets & name != * { name 'Toilets' } Michel> +amenity=drinking_water & name != * { name 'Drinking Water' } I think this is what default_name is for (so that you can drop "& name != *" from all those rules if you use default_name).

0> In article <49ADAEA0.5060604@users.sf.net>, 0> Michel Marti <URL:mailto:mcdmx@users.sf.net> ("Michel") wrote: Michel> --- a/resources/styles/default/points Michel> +++ b/resources/styles/default/points Michel> @@ -1,3 +1,9 @@ Michel> +amenity=parking & name != * { name 'Parking' } Michel> +amenity=telephone & name != * { name 'Telephone' } Michel> +amenity=toilets & name != * { name 'Toilets' } Michel> +amenity=drinking_water & name != * { name 'Drinking Water' } 0> In article <87fxhub21w.fsf@balti.rawlyn.homeip.net>, 0> Toby Speight <URL:mailto:T.M.Speight.90@cantab.net> ("Toby") wrote: Toby> I think this is what default_name is for (so that you can drop "& name Toby> != *" from all those rules if you use default_name). Forgot to add: I've got some similar rules, worth considering: /-------- | amenity=fuel { name '${operator}: ${name}' | '${name}' | '${operator}' | filling station' } \-------- (my amenity=atm is similar; I may change it to yours) and in lines: /-------- | # Set highway names to include the reference if there is one: | # a. Paths | highway=bridleway {name '${name} (${ref})' | '${highway} ${ref}' | '${name} (${highway})' | '${highway}' } | highway=byway {name '${name} (${ref})' | '${highway} ${ref}' | '${name} (${highway})' | '${highway}' } | highway=cycleway {name '${name} (${ref})' | '${highway} ${ref}' | '${name} (${highway})' | '${highway}' } | highway=path {name '${name} (${ref})' | 'footpath ${ref}' | '${name} (footpath)' | 'footpath' } | highway=footway {name '${name} (${ref})' | 'footpath ${ref}' | '${name} (footpath)' | 'footpath' } | highway=pedestrian {name '${name} (${ref})' | 'footpath ${ref}' | '${name} (footpath)' | 'footpath' } | # b. Roads | highway=* {name '${ref} ${name}' | '${ref}' | '${name}' } \-------- What do you (anyone) think? Just a discussion starter - I'm not offended if you improve on these... I also note that lines is missing an entry for railway=preserved; I've copied mine from railway=rail.
participants (2)
-
Michel Marti
-
Toby Speight