Don't use this for mass requests, because this is resource intensive. It is dedicated to editing, not downloads. Furthermore, the main api allows you to download the XML of single elements and the history of each of these elements. For the relevant API documentation see: API v0.6#Retrieving map data by bounding box: GET /api/0.6/map. Main api can be used to download data for editing.Ī basic operation of the OpenStreetMap API, is the 'map' request. This intentionally works only at high zoom levels. Using the export tab, one can select a piece of the map and download the data in several formats, including OSM XML. One can download all data in some small area or make more advanced filtering. Overpass API, maybe using Overpass Turbo is a great tool here described in detail on its own pages. ![]() See Processed data providers, especially 's custom extraction service. Small amounts of data For mobile navigation devices XAPI, Overpass API and the Export Tool allow to download custom data sets like arbitrary bounding boxes, elements with specific tags, public transport networks or other features. Tools like Osmosis, osmconvert, and osmfilter will assist you to extract specific data from these extracts. Several extracts allow to download more manageable file sizes, from an entire continent to parts of a country. Use download-osm -help for documentation. The one for Windows should be similar.ĭocker run -rm -it -v $PWD:/download openmaptiles/openmaptiles-tools \ Anything after the - is passed to aria2c. For example, share the current directory and let the tool place your file there. The easiest way is to run the tool using Docker. It can also be used to download and validate regional extracts from Geofabrik, BBBike, and OSM.fr. The tool will ensure the download data is consistent with MD5 hash. Probably easiest and fastest way to download whole planet file is by using Bittorrent client.Īlternatively, you can use download-osm tool from OpenMapTiles project to quickly download the entire planet from multiple mirrors at once, without overloading the primary server. The planet history contains even the history of almost all objects and is even bigger. This is about 100 GB compressed in 2020, and growing each day. This is a snapshot of the current data, usually from last Wednesday. ![]() Some tools are OK only for small scale or specific use, for example OSM editing API must not be misused for bulk downloads.They are rather dedicated to keep the data flow in sync. ![]() The official servers aren't huge data centres and don't have ample resources. That means that a lot of essential resources are provided by third party providers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |