
Hi Carlos, On Wed, Apr 01, 2009 at 12:30:56AM +0200, Carlos Dávila wrote:
I've added colon to exits ref to separate from name, because IMHO current format may be a little confusing with some exit names. I'm not developer, just guessing, so check if it's right (works for me) and doesn't break anything. Cheers Carlos
Index: resources/styles/default/points =================================================================== --- resources/styles/default/points (revisi??n: 991) +++ resources/styles/default/points (copia de trabajo) @@ -46,10 +46,10 @@
highway=bus_stop [0x2f08 resolution 21]
-highway=motorway_junction { name '${ref} ${name}' | '${ref}' | '${name}' } +highway=motorway_junction { name '${ref}$: ${name}' | '${ref}' | '${name}' } highway=motorway_junction [0x2000 resolution 16]
Is there a reason why you write the colon as "$:" instead of ":"? Would '${ref}: ${name}' without the "extra" $ sign work? Or what about "${name} (${ref})"? Mark just removed that kind of a rule as part of the address search patch. Do you need to search for motorway junctions? I don't know if there is an easier way to test changes to the default style, but I do "ant dist" in the mkgmap directory and generate a map with the newly generated mkgmap.jar. When I tested the restaurant & cuisine rules last night, I loaded my neighbourhood to JOSM and added restaurants to that local copy. Marko