[mkgmap-dev] what OSM keys are used for creating search index?
From Anton Todorov antod05-mkgmap at yahoo.co.uk on Tue Oct 20 10:28:39 BST 2009
Hi, I am playing with the new searching feature and can not find what information to populate in OSM so the search to be most proper. in Find->Find Places->City tab there are three searching fields: City, State, Country. Here is my test case: I have point for a village with tags: <node id='273815878' lat='42.20031' lon='24.79548' user='LandShark' timestamp='2009-03-03T02:45:49Z' version='2'> <tag k='is_in' v='България'/> <tag k='name' v='Войводиново'/> <tag k='name:en' v='Voivodinovo'/> <tag k='place' v='village'/> <tag k='source' v='bgtopomaps'/> </node> The mapsource find it as: Voivodinovo, Voivodinovo, Plovdiv, Bulgaria Bgr The closest large city is Plovdiv which is the administrative centre of Plovdiv region with tags: <node id='31058184' lat='42.1419116' lon='24.7498026' user='balrog-kun' timestamp='2009-07-23T01:20:24Z' uid='20587' version='10' changeset='1910333'> <tag k='int_name' v='Plovdiv'/> <tag k='is_in' v='Plovdiv, Bulgaria, EU'/> <tag k='is_in:continent' v='Europe'/> <tag k='name' v='Пловдив'/> <tag k='name:ar' v='بلوفديف'/> <tag k='name:bg' v='Пловдив'/> <tag k='name:de' v='Plowdiw'/> <tag k='name:en' v='Plovdiv'/> <tag k='name:la' v='Philippopolis'/> <tag k='name:pl' v='Płowdiw'/> <tag k='name:ru' v='Пловдив'/> <tag k='place' v='city'/> <tag k='population' v='379000'/> <tag k='wikipedia' v='Plovdiv'/> </node> Reading the source of mkgmap I think that the 'Locator' finds Plovdiv as close city to get missing info for the find function I tried the voivodinovo point as: <node id='273815878' lat='42.20031' lon='24.79548' user='LandShark' timestamp='2009-03-03T02:45:49Z' version='2'> <tag k='is_in:country' v='България'/> <tag k='is_in:county' v='Пловдив област'/> <tag k='name' v='Войводиново'/> <tag k='name:en' v='Voivodinovo'/> <tag k='place' v='village'/> <tag k='source' v='bgtopomaps'/> </node> but in find city there is no change: Voivodinovo, Voivodinovo, Plovdiv, Bulharia Bgr. I would like to achive something at least like "Voivodinovo, Voivodinovo, Plovdiv region, Bulgaria Bgr" but do not know what data to fill in OSM file. It is clear that some data is missing but I can not figure out what it is? In short - what is the relation between the tags that define where a node belongs to? Best Regards, Anton Todorov Send instant messages to your online friends http://uk.messenger.yahoo.com
- Previous message: [mkgmap-dev] AssertionError: NET 1 offset too large
- Next message: [mkgmap-dev] Turn restriction warnings too verbose and terse at the same time
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list