logo separator

[mkgmap-dev] converting post codes to cities

From nwillink osm at pinns.co.uk on Wed Sep 11 09:32:06 BST 2013

Barry, the reason why it doesn’t work is that you use
<tag k='place' v='AB10 1AA'/>

you must use a valid ‘place’ tag ,ie

<?xml version='1.0' encoding='UTF-8'?> 
<osm version='0.5' generator='GPSBabel-1.4.4'>
  <node id='-1' visible='true' lat='57.1482319' lon='-2.0966479'>
    <tag k='created_by' v='GPSBabel-1.4.4'/>
    <tag k='name' v='AB10 1AA'/>

    <tag k='place' v=’locality'/>

  </node>
  <node id='-2' visible='true' lat='57.1487071' lon='-2.0978060'>
    <tag k='created_by' v='GPSBabel-1.4.4'/>
    <tag k='name' v='AB10 1AF'/>

    <tag k='place' v='locality'/>

  </node>


From: gbbickerton [via GIS] 
Sent: Wednesday, September 11, 2013 8:30 AM
To: nwillink 
Subject: Re: converting post codes to cities

I don't understand, here is a snippet of my osm file 

<?xml version='1.0' encoding='UTF-8'?> 
<osm version='0.5' generator='GPSBabel-1.4.4'>
  <node id='-1' visible='true' lat='57.1482319' lon='-2.0966479'>
    <tag k='created_by' v='GPSBabel-1.4.4'/>
    <tag k='name' v='AB10 1AA'/>
    <tag k='place' v='AB10 1AA'/>
  </node>
  <node id='-2' visible='true' lat='57.1487071' lon='-2.0978060'>
    <tag k='created_by' v='GPSBabel-1.4.4'/>
    <tag k='name' v='AB10 1AF'/>
    <tag k='place' v='AB10 1AF'/>
  </node>

could the node id also be a problem, if it is do you know of an automatic my to change them. 

Barry 


--------------------------------------------------------------------------------

If you reply to this email, your message will be added to the discussion below:
http://gis.19327.n5.nabble.com/converting-post-codes-to-cities-tp5776958p5777091.html 
To unsubscribe from converting post codes to cities, click here.
NAML 
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3392 / Virus Database: 3222/6654 - Release Date: 09/10/13




--
View this message in context: http://gis.19327.n5.nabble.com/converting-post-codes-to-cities-tp5776958p5777102.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130911/00eb6633/attachment.html 


More information about the mkgmap-dev mailing list