Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

map call doesn't return complete relations #88

drolbr opened this issue May 9, 2014 · 2 comments


None yet
2 participants
Copy link

commented May 9, 2014

[OpenStreetMap] #5169: overpass export doesn't return complete relations

5169: overpass export doesn't return complete relations

Reporter: Graham Asher | Owner: rails-dev@…
Type: defect | Status: new
Priority: major | Milestone:
Component: website | Version:
Keywords: overpass, OSM |
Exporting OSM data using the Overpass API from the main map page doesn't
complete all relations for objects overlapping the bounding box. For
example, a map of Stockholm created in this way lacks Lake Mälar (Mälaren)
to the west.

To reproduce, export the following rectangle: (W,S,E,N):
17.8,59.2,18.3,59.5 and convert it to a map (I use CartoType but anything
will do).

Here is a proposed fix. Use this Overpass script as recommended by the
Overpass development team:

<osm-script timeout="10000" element-limit="1073741824">
  <union into="_">
    <bbox-query into="_" w="17.8" s="59.2" e="18.3" n="59.5"/>
    <recurse from="_" into="_" type="up"/>
    <recurse from="_" into="_" type="down"/>
  <print from="_" limit="" order="id"/>

@drolbr drolbr added the bug label May 9, 2014


This comment has been minimized.

Copy link

commented May 9, 2014

The map call is not supposed to return members of relations where those members aren't inside the bounding box. That's what I understand the bug to be about.


This comment has been minimized.

Copy link
Owner Author

commented May 10, 2014

Thank you for the confirmation. Then I will close the bug because the Overpass map calls then still is in line with the Rails dev map call.

@drolbr drolbr closed this May 10, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.