-
Notifications
You must be signed in to change notification settings - Fork 199
OpenStreetMap data limited by city boundaries
To get OpenStreetMap data limited by city boundaries one needs to perform the following steps:
- get an OpenStreetMap id for the city boundaries
- paste a text request to the OpenStreetMap server with the boundaries id to the dedicated field
- execute the resulting request
Each of the above steps is explained below
Type the name of the city in the search field at https://www.openstreetmap.org and press the GO button.
Click on a search result to see it on the map. Important: the search result should be represented as city boundaries rather than a point. If you see a point instead of the city boundaries, click the browser button "Back" and try the other searhc results.
You should see the line Relation: <City name or description> (<id>), for example Relation: Montreal (8508277). The id will be needed in the next step.
You may want to click the browser button "Back" and try the other search results to find the best fit for you.
Open the page http://overpass-turbo.eu
Paste the text request to the field on the left side:
[out:xml];
(
node(area:3600000000);
<;
);
out;
Replace the number 3600000000 for the sum of 3600000000 and the boundaries id. For example, if the boundaries id is 8508277, then the sum would be 3608508277 and the resulting request would be
[out:xml];
(
node(area:3608508277);
<;
);
out;
Press Export -> Data -> raw data directly from Overpass API -> done
Save the file with the extension .osm.
Now you can import the file to Blender with the help of blender-osm addon