excellent! works OK this time. thanks! On Mon, Jun 7, 2010 at 6:01 PM, <[email protected]> wrote: > Sorry, my mistake. Try > > place=town {name '${name}, ${is_in:state}' | '${name}'} [0x... > and > place=village {name '${name}, ${is_in:town}, ${is_in:state}' | > '${name}'} [0x... > You could make the latter more sophisticated using > place=village {name '${name}, ${is_in:town}, ${is_in:state}' | > '${name}, ${is_in:town}' | '${name}, ${is_in:state}' | '${name}'} [0x... > > This uses the town tag if the state tag is missing, or the state tag > if the town tag is missing, or if both town and state are missing it > just uses the name tag. > >> Yes this works, but, >>>> >>> place=town {name '${name}, ${is_in:state}' | name '${name}'} [0x... >> >> if there are no "is_in:state" tags it defaults to "Name" >> see here: >> http://farm5.static.flickr.com/4048/4677736137_454b62bf62.jpg >>>> name=z village >>>> place=village >>>> is_in:town: x town >>>> is_in:state = y state >>>> >>>> would be: >>>> z village, x town, y state >>> >>> place=village {name '${name}, ${is_in:town}, ${is_in:state}' | name >>> '${name}'} [0x... >> same problem as above >>> >> -- >> cheers, >> maning >> ------------------------------------------------------ >> "Freedom is still the most radical idea of all" -N.Branden >> wiki: http://esambale.wikispaces.com/ >> blog: http://epsg4253.wordpress.com/ >> ------------------------------------------------------ >> _______________________________________________ >> mkgmap-dev mailing list >> [email protected] >> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >> > > > > -- > Charlie > > _______________________________________________ > mkgmap-dev mailing list > [email protected] > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >
-- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------ _______________________________________________ mkgmap-dev mailing list [email protected] http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
