[OSM-dev] Note to the developers of editors :)
Stefan de Konink
stefan at konink.de
Mon Apr 13 02:26:48 BST 2009
Hi all,
Some hint of Ldp to be used in OSM Fixer was trying to find ways that
are in the current form:
<osm version="0.5" generator="OpenStreetMap server">
<way id="4073741" visible="true" timestamp="2008-10-30T01:34:45+00:00"
user="stev">
<nd ref="21558066"/>
<nd ref="21558066"/>
<nd ref="21558063"/>
<nd ref="21558064"/>
<nd ref="21558065"/>
<nd ref="21558066"/>
<tag k="created_by" v="Potlatch 0.10f"/>
<tag k="highway" v="unclassified"/>
<tag k="name" v="Eccleston Square"/>
</way>
</osm>
As you can observe the editor in question Potlatch seems to have created
two members of the same id after each other. Now we can all bash
Potlatch, bet lets not do that today. Saying 'it will not happy to my
perfect editor' doesn't save your behind...
Preliminary results show:
1 <tag k="created_by" v="change_tags.py - massgis area_names
0.1"/>
1 <tag k="created_by" v="change_tags.py - massgis short_names
0.1"/>
1 <tag k="created_by" v="DB fixer"/>
1 <tag k="created_by" v="Dshpak_landsat_lakes"/>
10 <tag k="created_by" v="fixbot_csv"/>
1 <tag k="created_by" v="Gabmai"/>
4 <tag k="created_by" v="GPSBabel-1.3.5"/>
2 <tag k="created_by" v="GPSBabel-1.3.6"/>
26 <tag k="created_by" v="JOSM"/>
2 <tag k="created_by" v="Merkaartor 0.10"/>
48 <tag k="created_by" v="Merkaartor 0.11"/>
120 <tag k="created_by" v="Merkaartor 0.12"/>
16 <tag k="created_by" v="Merkaartor 0.13"/>
2 <tag k="created_by" v="osm2go v0.6-10"/>
1 <tag k="created_by" v="osm2go v0.6.14"/>
2 <tag k="created_by" v="osm2go v0.6-2"/>
3 <tag k="created_by" v="osm2go v0.6-8"/>
2 <tag k="created_by" v="OSM Fixer"/>
10 <tag k="created_by" v="polyshp2osm"/>
36 <tag k="created_by" v="Potlatch 0.10"/>
8 <tag k="created_by" v="Potlatch 0.10a"/>
531 <tag k="created_by" v="Potlatch 0.10b"/>
117 <tag k="created_by" v="Potlatch 0.10c"/>
68 <tag k="created_by" v="Potlatch 0.10d"/>
200 <tag k="created_by" v="Potlatch 0.10e"/>
2940 <tag k="created_by" v="Potlatch 0.10f"/>
2 <tag k="created_by" v="Potlatch 0.4b"/>
7 <tag k="created_by" v="Potlatch 0.4c"/>
2 <tag k="created_by" v="Potlatch 0.5"/>
1 <tag k="created_by" v="Potlatch 0.5a"/>
1 <tag k="created_by" v="Potlatch 0.5c"/>
23 <tag k="created_by" v="Potlatch 0.5d"/>
4 <tag k="created_by" v="Potlatch 0.6"/>
8 <tag k="created_by" v="Potlatch 0.6a"/>
3 <tag k="created_by" v="Potlatch 0.6b"/>
20 <tag k="created_by" v="Potlatch 0.6c"/>
7 <tag k="created_by" v="Potlatch 0.7"/>
2 <tag k="created_by" v="Potlatch 0.7a"/>
70 <tag k="created_by" v="Potlatch 0.7b"/>
8 <tag k="created_by" v="Potlatch 0.8"/>
50 <tag k="created_by" v="Potlatch 0.8a"/>
18 <tag k="created_by" v="Potlatch 0.8b"/>
14 <tag k="created_by" v="Potlatch 0.8c"/>
7 <tag k="created_by" v="Potlatch 0.9"/>
38 <tag k="created_by" v="Potlatch 0.9a"/>
12 <tag k="created_by" v="Potlatch 0.9b"/>
269 <tag k="created_by" v="Potlatch 0.9c"/>
15 <tag k="created_by" v="Potlatch alpha"/>
1 <tag k="created_by" v="RambaZamba"/>
1 <tag k="created_by" v="smithinparis"/>
1 <tag k="created_by" v="Tways 0.2"/>
1 <tag k="created_by" v="vmap0_to_osm.pl version 0.02"/>
209 <tag k="created_by" v="WWWOSM 0.1"/>
52 <tag k="created_by" v="xybot"/>
...nobody was checking or nobody is validating what is send to the
server. And the server is not complaining.
Now should the server complain?
<osm version="0.5" generator="OpenStreetMap server">
<way id="4211255" visible="true" timestamp="2009-03-24T23:00:03+00:00"
user="Aliwoo">
<nd ref="24949808"/>
<nd ref="24949808"/>
<nd ref="24949808"/>
<nd ref="24949808"/>
<nd ref="24949808"/>
<tag k="created_by" v="Potlatch 0.10f"/>
<tag k="name" v="Oxford Court"/>
<tag k="highway" v="unclassified"/>
</way>
</osm>
In my perception one dimensional ways do not exist so yes it should. I
hope someone can add these checks to API 0.6 :)
As always OSM fixer is on rampage to filter about 6000 plus ways,
leaving 4492 matches, of them 405 become one-way-ways. Relations haven't
been found duplicate in this way.
Stefan
More information about the dev
mailing list