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>
 
 
Sent: Wednesday, September 11, 2013 8:30 AM
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: Re: converting post codes to cities
Sent from the Mkgmap Development mailing list archive at Nabble.com.