[OSM-talk] OSMXapi
Sven Grüner
sven at schunterscouts.de
Thu Mar 20 22:37:56 GMT 2008
hi,
I also experienced this problem and was well surprised that the weekly
dump [1] of my town has increased by factor four.
After checking the file in JOSM I feel that XAPI just does not do as
descriped for the main API. The ways and nodes I got are spread all over
Europe. I even failed to figure out the relations linking them with the
object I requested, but that may be due to the (still) primitive support
for relations in JOSM.
Should my suspicion apply that will produce desastrous outputs when
relations become more popular (what I look forward to). Requesting even
the tiniest BBox will return huge amounts of data.
regards, Sven
[1] http://osm.schunterscouts.de
Daniel Taylor schrieb:
> Hi,
>
> I had this problem the other day extracting data from the Wigan area,
> when I looked at what was being downloaded it was data that was
> connected/related to data that was inside the bbox I had selected. For
> example a large primary road (one _long_ way) was included even though
> the majority of it clearly outside of the bbox I had selected, from what
> I have read this happens by design.
>
> http://wiki.openstreetmap.org/index.php/OSM_Protocol_Version_0.5#About_bounding_boxes
>
> "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. "
>
> That might be the cause of your issues, and if so there doesn't seem to
> be a way around it.
More information about the talk
mailing list