RU:Planet.osm
| В процессе перевода +/- |
| Эта страница находится в процессе перевода или помечена для этой цели, поэтому может содержать пропуски, ошибки и непереведённые фрагменты. Исходная статья – Planet.osm. Если вы знаете английский, то можете помочь нам, переведя часть оригинальной статьи. Общие сведения о переводе статей на русский язык можно найти здесь. Вы можете закончить перевод |
Planet.osm это снимок базы данных OpenStreetMap.
Contents |
Что внутри?
Planet.osm это окончательная версия точек, линий, и отношений в базе данных. Конечно же она содержит и все метки. История здесь уже не хранится. Также внутри нет треков GPS.
Файл представляет собой XML с расширением .osm
Частота обновления
Новая версия planet.osm выпускается еженедельно (в настоящее время — утром в четверг). We have these, going back to the start of April 2006. Текущий размер файла planet.osm превышает 171 гигабайт (в сжатом виде (bzip2) — 11 ГБ) по состоянию на сентябрь 2010.
Обычно, еженедельный дамп начинается около 01:10 утра по Гринвичу в среду утром и гарантированно включает все правки, совершённые до этого времени. The dump is run within database transactions, but don't expect referential integrity. Смотри Planet.osm/FAQ. Дамп обычно занимает около 12 часов.
Дополнительно мы предоставляем постоянные диффы. Выпускаются дневные (в поддиректории 'daily') и гораздо чаще почасовые и поминутные диффы. These have been produced with Osmosis and can be used to reconstruct the full dataset (see examples under the osmosis page for usage in various scenarios). Так как файлы содержат только различия, они занимают намного меньше места; Сжатый дневной дифф обычно занимает около 10 Мб. Для получения полной информации смотри Planet.osm/diffs
Скачивание
Due to the size of the planet files, some older distributions of wget do not work anymore. They are restricted to files of < 2GB, and attempting to download files larger than that will report a negative file size and fail -- obtain a newer version if that happens to you.
Ссылка на первоисточник:
Please try use a mirror first!
Зеркала
Full Mirrors - FASTER and doesn't disturb the OSM server
- http://ftp.heanet.ie/mirrors/openstreetmap.org/ (updated 4 times/day, also available via ftp and rsync)(update frequency seems wrong. Daily diffs are visible 10 hours after OSM).
- http://planet.king-nerd.com (updated every 4 hours) (Back online w/ new 100mbit NY,US host)
- http://ftp5.gwdg.de/pub/misc/openstreetmap/ (full planet.openstreetmap.org mirror, plus Geofabrik extracts of Europe and Germany, daily updates) (2gbit, Göttingen, DE )
Зеркала planet.osm-only
- http://ftp.snt.utwente.nl/pub/misc/openstreetmap/planet-latest.osm.bz2 (Updates daily as of 16 September 2008)
- http://ftp.ecki-netz.de/osm/planet-latest.osm.bz2 (updated weekly) (One week old as of 20th June 2008)
- http://download.bbbike.org/osm/
- http://mirror.openstreet.nl/ - last updated in April
- http://www.openstreetmap.ca/planet/ (updated weekly plus periodic extracts of regions in North America) (seems to offline now)
Bittorrent
Currently an experiment, I might automate this, maybe talking to the other mirror people aswell. --Skinkie 20:31, 4 April 2009 (UTC) The origin is powered by Oxilion.
- http://thepiratebay.org/torrent/4824136/ (2009-04-01)
- http://thepiratebay.org/torrent/4838395/ (2009-04-08)
- http://thepiratebay.org/torrent/4853782/ (2009-04-15)
- http://thepiratebay.org/torrent/4858504/ (2009-04-18) LAST API0.5!
- http://mirror.openstreet.nl/planet/planet-090421.torrent (2009-04-21) API 0.6
Фрагменты
| Сайт | Доступные фрагменты планеты | Обновление | Изменения (Diff) |
|---|---|---|---|
| http://download.geofabrik.de/osm/ | (daily excerpts for any continent (North America is weekly only); any country of Europe plus some regions (e.g. Alps region); some countries outside Europe; any German Bundesland; any French Departement; England/Scotland/Wales; some English counties; some London Bouroughs) Europe and Germany extracts mirrored at ftp://ftp5.gwdg.de/pub/misc/openstreetmap/download.geofabrik.de |
Ежедневно | Нет |
| http://downloads.cloudmade.com/ | (extracts, navit, garmin and tomtom for the entire planet) | Еженедельно | Нет |
| http://hypercube.telascience.org/planet/ | (extracts of NL, Scandinavia and Taiwan) | Ежедневно | Да |
| http://nick.dev.openstreetmap.org/downloads/planet/ | (extracts of UK) | Еженедельно | Нет |
| http://download.freemap.sk/slovakia.osm/ | (daily extract of Slovakia + daily diffs) | Ежедневно | Да |
| http://osm.baebler.net/data/ | (extract of Slovenia) | Нет обновлений с мая 2009 | Нет |
| http://kubajz.kbx.cz/junk/osm/ | (extract of Czechia) | Нет обновлений с декабря 2008 | Нет |
| http://osm.stilpu.org/daily/ | (daily extract of Romania, also in Garmin, Navit and Gosmore format) | Ежедневно | Да |
| http://www.osmaustralia.org/osmausextract.php | (daily extract of Australia) | Ежедневно | Нет |
| http://planet.openstreetmap.nl | (extract of the Benelux (Netherlands, Belguim and Luxemburg), Aruba, Bonaire, Curaçao, Saba, Sint Eustatius and Sint Maarten) | Ежедневно | Yes |
| http://78.46.81.38/ | (OSM Server Side Script small excerpts like a city, roughly files up to an uncompressed size of 300 MB) | Ежечасно | Нет |
| http://gis-lab.info/projects/osm-export.html | (регионы России и Беларуси в формате .osm, shape; обновление в 8 часов по московскому времени) | Ежедневно | Нет |
| http://download.bbbike.org/osm/ | Full Planet (OSM and PBF), extracts of more than 200 cities and regions world wide | Еженедельно | Нет |
Распаковка файла
Many tools allow you to use the files in compressed form but if need to unpack it for some reason, on Windows download the 7-zip uncompression tool. On Linux just write bzip2 -d planet.osm.bz2. If you want to do it differently, then check out this list of compression programs.
If handling the compressed youself with libbzip2, the files are compressed with pbzip2 and contain multiple streams and need to be handled as described in section 3.4.8 of the bzip2 documentation.
Обработка файла
Существующий файл - в формате OSM XML. В SVN, есть несколько скриптов для его обработки, включая те, которые кладут его обратно в базу данных.
- Osmosis это инструмент, на языке Java, который может обрабатывать и импортировать файл планеты в вашу базу данных.
- planetosm-to-db.pl creates a current-ruby-server-database too (or a slightly different one for PostgreSQL, as used by Where Are They, including the db schema). It stores the node and segment ids in memory, so it can import only some of the data (exclude or include), and normally only uses about 100MB. It is not fast, taking several hours to load a UK-only planet excerpt.
- If you need a db for testing purposes only, http://richard.dev.openstreetmap.org/osm05.sql.gz is a 75Mb SQL dump of the UK from January 2008. (current_ tables only - but you can populate the other tables from there - and no relations tables.)
- (Other tools in svn have not been updated for the 0.5 database structure and are consequently not usable.)
- Tagwatch contains code that processes OSM files
- There is a PERL module which can work on normal and compressed osm files here: osm.pm. Examples can be found here User:Gary68
Материалы сделанные на основе planet.osm
- "OSM Aware" is an awareness tool and repository transforming OSM diff. files in different KML versions which are updated each day, hour and minute. Activity can be viewed in Google Earth, Google Maps, Open Layers and World Wind (see website for links and informations).
- OSM Data converted with mapnik in the GpsDrive routing application.
- Map of OSM coverage in Europe is just a picture of the coverage of OSM of Europe as of April 2006
- Importing Planet.osm into QGIS
- Print OpenStreetMap with Gnuplot print the world into PDF files.
- Little-osm is a stand-alone webserver capable of importing planet.osm and deliver
/maprequests. It works with JOSM as an off line, read-only installation. - Где я? and А где это? - Python скрипт, чтобы найти места, узлы, дороги и т.д. рядом с вашим местоположением - см. Where Are They
- Osmarender, Mapnik, Kosmos and Tiles@home used to draw maps - now mostly use the protocol interface
- Gosmore viewer with incremental search
- Импорт Planet.osm в ArcGIS
- Instructions for building a slippy map using planet.osm on the Fedora Linux distribution
- create custom map for GpsMid java device
- Script to clip Planet.osm into smaller data file but still keep osm data format (goto www.digitalmobilemap.com and click on FAQ to download the script) using java to clip Planet.osm into a smaller data file that contains only osm map data (nodes/segments/ways) within bounds. The clipped data file not only keeps osm data format but also keeps node's labels and way's labels in Unicode UTF-8 format. The java script does not require much memory and can process large planet.osm file very fast (< 8 minutes). You can use this script to create a smaller planet.osm file. A smaller planet.osm file may be useful for you if you want to import it to your local database server for local development as it will take less time to import and debug.
Последние версии файла планеты
Old versions of the planet file are available at http://planet.openstreetmap.org/ as well. The Historical Coverage page describes a service that allows you to view data from the past and how it developed.