Contents
How do I download boundaries from openstreetmap?
Simply go to www.openstreetmap.org and find the area you would like to download data for. Hit the “Export” button and you will see a screen with the Extent of the download appear. You can customize this download as either the “current extent” or manually select an area by bounding box.
How do I extract roads from openstreetmap?
Before we use Osmosis, we have to prepare the map area which we will extract its road networks. Go to the OpenStreetMap website then made some search in it. After that click the green Export button then click the blue Export button as shown in the following picture. Then save the exported file to the desired directory.
How do I extract shapefiles from OpenStreetMap?
Download Directly from OSM Simply go to www.openstreetmap.org and find the area you would like to download data for. Hit the “Export” button and you will see a screen with the Extent of the download appear. You can customize this download as either the “current extent” or manually select an area by bounding box.
How to extract country borders from openstreetmap.org?
If you are just looking for the borders and it does not have to be OSM you could also have a look at http://gadm.org Please replace that &bbox=112.5,31.9521,123.75,40.9798 with coordinates of the region of your interest. Result can be downloaded as GeoJSON.
How to extract the polygon of an administrative boundary?
If your admin_level relations contain admin_level+x relations as subareas (a very good idea), you can download whole chunks of boundaries going from one to the parent or child. You may save your work to an osm.file. But if you reload that file later, do: to keep your data in sync, else you may get nasty conflicts to solve.
How to save a country border as a shapefile?
If you want to convert it to a Shapefile just download the xml (for example right-mouse-click on the download link and choose something like “save target as…” instead of opening it in the browser. then in Qgis choose “add vectorlayer” or use drag and drop to add your xml layer to your Qgis project. then save layer as shapefile.