[mkgmap-dev] append is_in tags to places
From maning sambale emmanuel.sambale at gmail.com on Mon Jun 7 11:30:20 BST 2010
excellent! works OK this time. thanks! On Mon, Jun 7, 2010 at 6:01 PM, <charlie at cferrero.net> 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 >> mkgmap-dev at lists.mkgmap.org.uk >> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >> > > > > -- > Charlie > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > 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/ ------------------------------------------------------
- Previous message: [mkgmap-dev] append is_in tags to places
- Next message: [mkgmap-dev] Getting rid of the 'Node in too many areas' warning.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list