[mkgmap-dev] more naming (was: car_repair and unnamed POIs)
From Toby Speight T.M.Speight.90 at cantab.net on Wed Mar 4 00:45:07 GMT 2009
0> In article <49ADAEA0.5060604 at users.sf.net>, 0> Michel Marti <URL:mailto:mcdmx at 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 at balti.rawlyn.homeip.net>, 0> Toby Speight <URL:mailto:T.M.Speight.90 at 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.
- Previous message: [mkgmap-dev] [PATCH] car_repair and unnamed POIs
- Next message: [mkgmap-dev] Commit: r968: Change to sort simply by unicode value.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list