Chris Hill wrote: > I have extracted some data yesterday from OsmXapi for a range > [bbox=-1.1,53.63,0.16,54.17], roughly the area of East Yorkshire, UK. > > In the resulting data there are nodes and ways from well outside this area, > for example: > > <node id='46201367' lat='52.3305' lon='5.06701' user='Ed Kapitein' > osmxapi:users='Ed Kapitein' timestamp='2008-02-22T16:55:00Z'> > <tag k='AND_nodes' v='236712'/> > <tag k='AND_nosr_p' v='10012917'/> > <tag k='is_in' v='NL'/> > <tag k='name' v='Muiden'/> > <tag k='place' v='village'/> > <tag k='population' v='1000'/> > <tag k='postal_code' v='1398'/> > <tag k='source' v='AND'/> > </node> > > Is this normal? > > > cheers, Chris > > > > > ___________________________________________________________ > Rise to the challenge for Sport Relief with Yahoo! For Good > > http://uk.promotions.yahoo.com/forgood/ > > > _______________________________________________ > talk mailing list > talk@openstreetmap.org > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk >
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. If you find one let me know! - Daniel _______________________________________________ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk