
Marko Mäkelä escribió:
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 ":"?
No, as I said, I'm not developer. I just tried "$:" and it worked.
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 _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Por favor, no me envíe documentos con extensiones .doc, .docx, .xls, .xlsx, .ppt, .pptx, .mdb, mdbx Instale OpenOffice desde http://es.openoffice.org/programa/index.html OpenOffice es libre: se puede copiar, modificar y redistribuir libremente. OpenOffice es gratis. El uso de OpenOffice es totalmente legal. OpenOffice funciona mejor que otros paquetes de oficina. OpenOffice está en continuo desarrollo y no tendrá que pagar por las nuevas versiones.