[OSM-dev] export error (planet.osm)?

Jonas Svensson jonass at lysator.liu.se
Tue Mar 6 17:46:04 GMT 2007


When I look at a certain node in the dump I get some odd keys (odd, 
but no worries). However when I look at the same node using the api 
I get a completely different result. *That* worries me. Is there a 
problem with the dump process? Is this known?

Compare:
$ wget 
http://name:password@www.openstreetmap.org/api/0.3/node/23654915/his
tory
--18:35:19--  
http://name:*password*@www.openstreetmap.org/api/0.3/node/23654915/h
istory
           => `history.4'

$ cat history.4
<?xml version="1.0" encoding="UTF-8"?>
<osm version="0.3" generator="OpenStreetMap server">
  <node id="23654915" lat="50.7527" lon="6.07374" visible="true" 
timestamp="2007-01-01 13:38:12">
    <tag k="tourism" v="hostel"/>
    <tag k="name" v="1.12."/>
    <tag k="created_by" v="JOSM"/>
  </node>
</osm>

to this:
$ bzcat ../planet-070228a.osm.bz2 |grep -B 5 -A 10 "0049-(0)241-
711010"
  <node id="23654915" lat="50.7527" lon="6.07374" timestamp="2007-
01-01T13:38:12+00:00">
    <tag k="" v="" />
    <tag k=" " v="" />
    <tag k="name" v="1.12." />
    <tag k="created_by" v="JOSM" />
    <tag k=" 0049-(0)241-711010" v="" />
    <tag k="tourism" v="hostel" />
  </node>





More information about the dev mailing list