Hallo, ich steh auf dem Schlauch.
Ich möchte für eine Studienarbeit die Datendichte von OSM tiles analysieren. Dazu lade ich die Daten, der tiles herunter. Nur warum bekomme ich so unterschiedliche Daten, je nachdem ob ich api.openstreetmap... oder xapi verwende? Ein Beispiel (für dieses tile http://tile.openstreetmap.org/17/68377/45536.png): bb="bbox=7.80303955078,48.046873824,7.80578613281,48.0487099429" wget -O xapi.osm http://www.informationfreeway.org/api/0.5/map?$bb wget -O api.osm http://api.openstreetmap.org/api/0.5/map?$bb $ grep '<node' api.osm |wc -l 63 $ grep '<node' xapi.osm |wc -l 6 Warum liefert xapi weniger Daten? Dem wiki entnehme ich: api [1]: | The following command returns: | | * All nodes that are inside a given bounding box and any relations | that reference them. | * All ways that reference at least one node that is inside a | given bounding box, any relations that reference them [the | ways], and any nodes outside the bounding box that the ways | may reference. | * All relations that reference one of the relations | included due to the above rules. (Does not apply | recursively.) xapi [2]: | * All nodes that are inside a given bounding box and any | relations that reference them. | * All ways that reference at least one node that is inside a | given bounding box, any relations that reference them [the | ways], and any nodes outside the bounding box that the ways | may reference. Die Anzahl der Nodes müsste also bei beiden Anfragen identisch sein. Übersehe ich da was? gruß, Stefan [1] http://wiki.openstreetmap.org/wiki/OSM_Protocol_Version_0.5#Retrieving_all_objects_in_a_bounding_box [2] http://wiki.openstreetmap.org/wiki/Osmxapi _______________________________________________ Talk-de mailing list Talk-de@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-de