How to download OpenStreetMap maps. How to make changes on the Open Street Map (OSM)

  • 09.07.2021

Most people's knowledge of OSM is usually limited to: "This is a map that ordinary people draw, like a wikipedia." Further, one often hears that OSM maps are not suitable for tourism, that there are no relief, passes, etc. This is not so, and I became convinced of the need to write an educational program.

  • What exactly is OSM;
  • Why is it for tourists;
  • How to get information from OSM when planning a trip;
  • How to use it already on the route;
  • A little about drawing (addition) OSM.

What is OSM?

This is not the map you see on openstreetmap.org!

95% of the population who have heard of OSM go to this site, see this and reasonably do not experience much outburst of emotions.

OSM is a database. For ease of understanding, imagine a file with a tablet, where the coordinates of points or lines are written in the first column, in the second column, what these points and lines represent. Here is such a plate - this is OSM. Of course, I have simplified the plate now, but the main thing is that you understand that OSM in the original version is just such a boring plate, and not a beautiful one. colorful card and not even a picture.

The data from this plate is used to make…. anything!

From electronic cards for tourists to power grid diagrams or a poster on the wall with a map of bus routes in their hometown.


One of the OSM maps for viewing from the screen of a desktop computer or phone. (Open Topo Map) One of the OSM maps for portable Garmin navigator
3D map for the blind printed on a 3D printer based on OSM data. Do . Germany power grid map
sea ​​map at http://map.openseamap.org/
OSM map in popular mobile application Maps.me

Everyone who creates a graphical representation of OSM chooses for his own taste and color how certain objects will be represented there. And whether they will be presented at all. As you can see in the pictures above, those who needed the power map ignored all the objects in the OSM database, except for those related to the power grids. And the creators of Maps.me, when making a map for navigation in the village and nearby, did not insert power lines, mountain passes and fords into their map. The creators of the nautical chart extract from the database quite the third.

That is, if I really want, then I can make a map where only the seas, benches and wells will be displayed. And the seas will be red, benches will look like a UN flag on the map, wells will be displayed on the largest scale (when, what is shown on what scale can also naturally be different) and will be drawn with crosses. My psychedelic map will be updated (pull up the latest information from the OSM servers) every full moon (Who puts it like that, but I love the full moon!). Nobody will need such a card, but in theory it is possible 🙂

Therefore, there is no list of "Symbols on OSM Maps". Each graphic representation (kind of OSM/rasterizer - you will come across different names) will have a different one. How to receive information from OSM I will describe below. This will be interesting even for those who are intuitively clear on the maps, because, as you probably understood, there is not a single OSM map that would display everything that is in the database at once.

Why do we need it?

You can read more about the maps used to prepare for the trip from me.

Yandex and Google maps for forests and mountains are not applicable - this is, I hope, clear. No paths, no necessary objects, no relief. Corporations are not interested in being distracted and drawing a path along which 100 people will pass in a year. It is not interesting to depict a spring in the forest, and such an insignificant number of their clients need passes that they most likely will never appear there.

But there is a lot of information in OSM that a) does not fit on the map b) is not cartographic in principle. If a competent surveyor has walked around the area before you, then you will get a lot of information that you are usually used to getting from the reports of sports tourists. ( By the way, in reports they sometimes lie and embellish reality because of the motive, crusts and discharges, but the OSM editor has no motive to lie.) And here this information is immediately tied to the area, and not in the form of text. If the area is drawn poorly, then you are out of luck and it is up to you to fix it.

I will show you the easiest way, which does not require installation of any programs, to fish out an interesting additional information from OSM.

Tags are cool, of course, but OSM also provides the ability to route (prepare a track for a hike) along trails / roads automatically, rather than manually clicking on the map. This can be done in the Android application (it also has a package of maps from here) or on the gpsies.com website (the main thing when saving the track is to check that this is your plan, and not the track actually passed), or in the SAS Planet program ( it's bad here).

OSM on route

OSM are vector maps, so it is convenient to use them in navigators (automatic routing along paths, zooming without quality loss, searching for objects). As usual, we have a choice between Garmin and a smartphone.

OSM maps for Garmin navigator

Convenient OSM builds that will fit under backpack backpackers, daily updated:

  • https://maptourist.org/osm-garmin - the entire former USSR + Mongolia. The link has a gmapsupp.zip file, unpacking it and putting it on the memory card in the device in the Garmin folder, you will get a map of the entire former USSR. There are also separate files for the Federal Districts of the Russian Federation and Mongolia. This assembly displays passes with categories;
  • http://garmin.openstreetmap.ru/federal/ - Russia files federal districts(the archive must be unpacked using, for example, 7zip and simply thrown onto the memory card in the device to the Garmin folder);
  • http://gis-lab.info/data/mp/# - regions of the Russian Federation and some countries in separate files. There are also instructions for pouring, including through Base Camp.

OSM is constantly being tweaked by users and the above builds are constantly being updated, so by uploading the map right before you go, you'll get the latest version.

Many maps do not have horizontal lines. They can be placed separately.

The terrain files are permanent, so I collected them here: https://yadi.sk/d/olnB_ueyxHJW0g They are also easy to fill. After installation, you will see terrain files in separate items in the list of maps of the device, which allows you to turn them off when they are not needed and interfere with viewing the map.
At the link readme file, the horizontal lines of the whole of Russia and separately of the rest of the world from 60*Sh to 56*Sh. You can download both files immediately and torrent files. The contour lines are a gluing of the SRTM and ASTER GDEM Earth space scanning data.

sort of figured out with Garmin.

OSM in smartphone

There are a lot of options here. The simplest of them:

The OSMAnd application did not impress me because I could not download a non-OSM map offline. Since on a hike I use a smartphone, including as a backup storage for maps and satellite images.

A little about drawing (addition) OSM

Ideally, you need to draw the map before and after the hike.

  • Before the hike- to prepare the most card for your loved one. You can mark forests, rivers, ridges, clearings, roads visible on satellite images.
  • After the hike- because it is interesting and to share the information that you have collected during the trip. Much can be mapped only after you have seen it for yourself. The quality of the trail, the number of sites for tents, springs, wells in the villages, the depth of the ford, etc. and so on

The simplest editor - right in the browser. It's called ID. Go to https://www.openstreetmap.org

If you are doing this for the first time, you will have to register (login and password will be useful for other editors).

It is very simple, but there are few opportunities, many things in it are long and inconvenient to do, and you can easily break something.

The best way is to master the JOSM editor. This is already a separate program on the computer. There are a lot of all sorts of bells and whistles, the ability to put a cloud of all sorts of satellite images, upload your tracks and points, see the entire history of object changes, etc. and so on. The main thing is that the editing process takes place offline, any action is easily canceled by the usual Ctrl + Z. When you are done, press the button “send data to the server”, the program will check your edits, offer to check the box “I want someone else to check my edits” (check it first), ask you to indicate the source of data about the new batch of changes. And only after this change will fly to the server where the database is stored. On the map of the openstreetmap.org site, the changes will be displayed immediately, in those assemblies for Garmin that I threw above - in a day, and, for example, the same maps.me updates the map once a month.

Instructions for using JOSM: https://josm.openstreetmap.de/wiki/Ru%3AIntroduction

Video instruction in which it all starts with setting up the program: https://www.youtube.com/watch?v=t7UdJrX8nGM

These two instructions (if you wish, you will find more, including on YouTube) will teach you the technical part. To find out exactly what tags certain objects are designated for, use the search in OSMWiki (search box at the top right). With a little experience, you'll remember the tags you use and you'll be less likely to surf the wiki.

Common beginner mistakes:

  • draw under the rasterizer. Let's say you're using maps.me for navigation. He does not draw passes ( mountain_pass=yes), this rasterizer was not created for mountain hiking. But you want to see the passes in maps.me on your smartphone. And you start marking passes like tourism=viewpoint ( this tag is supposed to mark places with good view) , which is displayed in maps.me. This is not correct, since these are different objects in meaning, clearly described in the Wiki. And it's your problem that your rasterizer doesn't show something. For another person, everything is probably fine, and he needs to distinguish the pass from the specific place. Even if no rasterizer displays what you want, if the database is maintained properly, it is possible to create a suitable rasterizer for your purposes or modify an existing one. For example, I missed https://maptourist.org/osm-garmin rtsa_scale =* in the build for Garmin. If everything is written in continuous text in one line, then the electronic brain will not cope. If you have information that you don't know how to tag but is useful to the end user, write it in the tag value description=*. For example, I write to the point shop=hardware (hardware store) information about whether I found refined burner gasoline there.
  • redraw from other cards.In general, this item was invented in the West because of all sorts of legal and monetary problems. Yes, Google and Yandex will be very against if you start using their maps, on which they spent money, for the sake of a map distributed for free. But this rule, as they say: "not a bug, but a feature." It allows you to ensure that the path that I see on OSM was drawn from the GPS track by people who actually walked there, and the clearing is visible in the satellite photo, and not copied from the map of the General Staff, which has not been updated for decades. Of course, the trail on OSM could also be overgrown, but when preparing for a hike, we look at all the available maps, and if the trail is drawn on all the maps, then we will be sure of its presence, and if it is not on some map, we we will no longer count on it and plan our actions accordingly. And if the cards begin to redraw one with the other without checking reality, then it will be nonsense. In addition, you already know how to look at the date the trail was created in OSM in order to estimate its presence at the moment, and you know how to delete the object if it is still not on the ground.

One often hears that, since OSM can be edited by anyone, then someone can come there who will erase everything or draw schizophrenic nonsense. If this happens occasionally, then experienced users successfully identify it and eliminate it. Yes, and it’s too difficult and doesn’t scratch the CSV vandals - register somewhere and spoil the map. The abundance of users, of course, increases the number of people who are not familiar with the technical part of mapping, but there are more and more experienced users who will correct for beginners.

This was an introductory course in OSM. Enough to get started :)

Join the hikes through my group.

In this practical article, we will consider services that help download maps from the OpenStreetMap online service for subsequent conversion to other cartographic formats in order to use them offline without an Internet connection.

It's summer now, and for many, it's the prime time to travel. Therefore, it's time to get navigators, or put special navigation on tablets and smartphones. software so as not to get lost in unfamiliar places. Moreover, the lack of such programs in the current era of GPS and mobile devices not visible. To the services of users as geographic Internet services like Google Maps and Microsoft Bing, as well as specialized software like "2GIS" with its own maps.

The latter option, with local maps that users pre-download and install for their navigation software, is in many cases not only more convenient, but also the only Possible Solution. Since the Internet in a particular area may be expensive or not work at all. But at the same time, the necessary offline maps of a particular area may also be missing.

Below we will consider options for loading cartographic data from the OpenStreetMap (OSM) online service with the subsequent goal of converting this data into a specific map format for your navigation program. We have already covered the OpenStreetMap project in detail. This is an open web mapping service, similar to Google Maps, whose data is collected by the users themselves and is available to everyone under an open license. In the article, for example, consider the conversion of OSM data for the OsmAnd program for Android devices, which we also considered in detail on the KV website.

Official website of OSM

So, we need to download OpenStreetMap map data for a specific area. First of all, this can be done from the official website of the service www.openstreetmap.org.

Directly on the online resource map there is an "Export" link, when clicked, a data export panel will appear. Here, using the blue button "Manually select a different area" (manual selection of a special area), you need to select a rectangle of the desired territory on the map, then select "OpenStreetMap XML Data" from the list of formats and click the "Export" button.

As a result, a file with the osm extension will be loaded. This is a text xml file with cartographic data, which can then be converted to other formats.

However, the official site imposes restrictions on the amount of downloadable map data. The map you upload must not contain more than 500 nodes. And any city will always be more than 500 nodes. But there are other services that allow you to download the desired geographic area without such restrictions.

Whole planet

Here you need to highlight on the OSM map desired area, and in special fields indicate your e-mail address and set the name of the selected card. It is also important that the service makes it possible to download the map not only in OSM format, but also convert it into ready-made Garmin, Navit, Esri formats.

Since the "extraction" of a specific map of the area on the service comes from planet.osm, this takes some time. The result will be ready in 15-30 minutes, depending on the size of the map area and the load on the service. As soon as the card extraction process is completed, the user will be notified to the e-mail address he left.

Convert

Thus, having received the cartographic data of a particular region in the form of a text osm file, you can start converting it into a ready-made map format with vector or raster graphics for a navigation application. For example, for OsmAnd software GPS navigator, you need to convert OSM cartographic data to OBF format.

There is a special OsmAndMapCreator converter for this. This application is written in Java and is cross-platform. Runs after unzipping, depending on operating system, sh or bat script. But at the same time, the program has a graphical interface.

You need to convert the osm file through the menu "File" - "Create obf file from osm file". After that, a file with the obf extension will appear in the pre-specified folder, which must be transferred to the Android device in the /sdcard/osmand/ directory. Now the map of this area will be available in OsmAnd in offline mode.

With OsmAndMapCreator, you can also create OBF maps using data from other online mapping services. But a review of these program features is beyond the scope of this article.

Mikhail ASTAPCHIK

(literally " open card streets"), abbreviated OSM— a non-commercial web mapping project to create a detailed free and free geographical map peace.

Maps are created using data from personal GPS trackers, aerial photographs, video recordings, satellite imagery and street panoramas provided by some companies, as well as the knowledge of the person drawing the map. It is impossible to use services like Google Maps to create maps without the permission of the copyright holder.

OpenStreetMap uses the principle of a wiki to create a map. Each registered user can make changes to the map.

Now we will begin our story about how to make changes and additions to this rather detailed, developing and easy-to-use map.

First you need to go to the official OSM website http://www.openstreetmap.org/. You can enter the site both using your personal mailbox, and by linking an existing account in various communities, the icons of which are shown in the figure:

After entering the site, we will have the same picture as in the header photo of the blog. The page header contains the main menu with all the supported commands and features.

Now a completely logical question arises: how to edit the map after all?

The map can be edited online using two online editors: iD and Potlatch 2 - and offline, using the editor installed on the computer. The second method is convenient for those who have a very low Internet speed or there are restrictions on the traffic used, where all changes can be made on your computer and then sent to the OSM server. Edits are sent as an XML file, so they will not have a significant impact on traffic.

In this article, we will edit the map online using the iD editor, because. iD and Potlatch 2 editors work in the same way, only Potlatch 2 allows you to map large quantity different classes of objects and because of this it is more slow. For drawing and editing on the road map, a fast iD editor is quite enough.

In the upper left corner, we have three highlighted items "Edit", "History" and "Export". Moreover, the "Edit" item is inactive. When you hover over it with the mouse cursor, a hint appears that you need to zoom in to edit.

After the map is enlarged to the required scale, the "Edit" button will become active, when you click on it, a pop-up menu will appear where you can select the desired map editor.

Select the iD editor and start working with the map. You can make changes to the map both manually, using satellite images provided by the OSM service, and by plotting paths obtained from the tracks saved in the navigator. The following image shows the map editing window with the iD editor. Editing will become available only after zooming in, and the scale must be very large. The figure shows the extremely small scale, which is available for editing. As you can see, this scale is not very suitable for plotting objects from space images, but it can be used for plotting roads using GPS tracks.

As you can see, the editor is very simple and allows you to map only three types of objects: a point, a line, and a polygon. As you might guess, a dot is the name of a certain place or a point object, a line is roads, a polygon is various areas (forests, settlements, houses, etc.).

On the toolbar on the right, only two buttons are of interest:

substrate setting. Those. what will be displayed on the map (Google snapshot, OSM map, etc.)

card data. Here, with the help of this button, GPS tracks are loaded into the editor, and also select those classes of objects that should be displayed or hidden on the map when editing.

And now let's figure out how to put objects on the map. I saw that in the ride the route passed in places along forest roads that are not on the OSM map. This deficiency needs to be corrected. To do this, download a real GPS track from Rafael and start plotting roads on a map using a real GPS track. In this example, I want to draw a beautiful forest path that we had before a halt at the lake. Here is a photo of this track:

The track is loaded, now you need to draw this road.

In the figure, the loaded real track is shown in pink, the white line along the track is the road plotted on the map. Any applied object can be edited. To do this, simply select it with the mouse cursor. The object does not have to be yours. To complete the drawing of the line on the map, click on the last point. The start and end points of the line are important because they determine the direction of movement. This is especially important when drawing one-way roads and rivers. But at any time the direction of movement can be changed by selecting the appropriate icon that appears after the activation of the object. On an existing object, you can change the position of existing points, add your own (drag the arrow located between the points), and delete points. Those. there is nothing complicated here.

When you select a newly plotted object, the object type menu appears on the left side of the screen

We have a road, so we choose it. After that, a list of possible roads will appear. We have a forest road, so we choose it

After that, we enter the necessary attributes of the forest road. These attributes are important for the OSM map, because they are then automatically navigated depending on the selected vehicle, as well as the ability to display an object on the map, when discarding unnecessary objects (for example, a Ferrari will not go along a forest road, so the driver of such a car does not want field and forest paths to litter the map and participate in automatic route planning).

For the created road, I entered the following attributes:

Coating: unpaved

Width: 3m

Legal access: bicycle, motor transport, equestrians, pedestrians

Country road type: Rather soft: rolled soil mixed with hard materials

Patency: Strong wheels: hybrid bikes, cars, rickshaws

Difficulty of the mountain bike trail: 0: Smooth gravel/compacted ground, no obstacles, wide turns

Difficulty of mountain biking: 0: Medium lift<10%, гравий/утоптанная земля, без препятствий

Any action can be canceled before the data is sent to the server. If you forgot to define an object type or assign attributes to it, but at the same time reached the step of entering a comment, the last step can be canceled (clicking "Save") by closing the comment input window, while the unsaved object will not disappear anywhere.

These are unofficial, free maps. They are created by the Internet community Open Street Map (OSM). Another definite plus is that more than one person makes them, each registered user can make changes to the map. They are constantly updated and in many regions have more up-to-date information at the moment than official maps.

Instructions for installing OpenStreetMap maps for Navitel Navigator:

1. Make a copy of the memory card (just in case)
2. Copy the necessary *.nm2 files to any folder on the device or memory card (eg /sdcard/NavitelContent/Maps/AtlasOSM). If the regions do not border on each other, then in order for the route to be laid correctly, add a file with an overview map of Russia (Russia-overview-osm-nm2) to the folder with the selected maps.
3. In the Navitel program, open Menu - Settings - Map - Open atlas - middle icon with a folder at the bottom - select a folder and click "ok" (green checkmark)
4. After the indexing process is completed, the maps will be available for navigation

IMPORTANT! Maps of the OSM project are created in the only NM2 format, they work perfectly with the navigation program Navitel Navigator version 5.0.3 and below (better in version 3.5) without failures and restrictions. Also, OSM maps work well on versions of Navitel Navigator up to 9.10.xxxx

Without navigation, nowhere, especially considering the state of our roads. Have you noticed that your navigator is not stable? Then you need to download OSM maps for Navitel as soon as possible. They contain all the necessary information about the settlements of the country, these maps show POI objects, such as restaurants, bars, and places for cultural recreation.

OSM maps for navigator - something more than ordinary navigation. This is a project that is created by enthusiasts with their own hands. The service provides raster maps of the area, and navigation services based on them create the maps that we are used to. This approach makes it possible to organize navigation as accurately as possible.

The OSM project is a completely non-commercial project. This means that all maps are provided free of charge under a public license. Moreover, Open Street Map acts as a wiki, which allows everyone to make changes to the maps and this makes OSM even better, better and more popular.

Why OSM is worth using?

Open Street Map has a number of advantages over other projects of a similar nature:

  • accuracy;

Navitel OSM maps are so detailed that with a 99% probability, every hump and uneven terrain that is on the maps will occur in real life. This is due to the fact that the maps are constantly being finalized by the OSM community on the Internet. As a result, changes are made, old versions are updated, and new maps are improved.

  • free distribution;

The project exists on a donation. This made it possible to absolutely download all OSM maps for Navitel. At the same time, the quality will be far from worse than that of paid services.

  • wide girth;

Unlike most projects, OSM maps for Navigator cover the entire globe. Therefore, using them, you are guaranteed to know how to get to the place you need in an unfamiliar country or continent. Moreover, OSM is ahead of some paid "brothers" in accuracy - TomTom/Tele Atlas. According to the study, the accuracy of the Open Street Map exceeds these maps by 27%.

  • convenient use;

Maps can be imported in any convenient format - PNG, JPEG, SVG, PDF or PostScript. Also, it is possible to ship them to Garmin, GisRussa.

The WIKI format allowed OSM to create a unique mapping project. After all, the fact that the maps are being finalized by the inhabitants of the area gives undeniable advantages. Firstly, the accuracy is extremely high, and secondly, reliability is ensured. And thirdly, this is the general availability of the OSM map for Navitel. You can download them on our website for free and without SMS.

Read about how to install maps.

Overview map of Russia (Russia-overview)
Altai (Russia-AL)
Altai Territory (Russia-ALT)
Amur Region (Russia-AMU)
Arkhangelsk region (Russia-ARK)
Astrakhan Region (Russia-AST)
Bashkiria (Russia-BA)
Belgorod Region (Russia-BEL)
Bryansk region (Russia-BRY)
Buryatia (Russia-BU)
Chechnya (Russia-CE)
Chelyabinsk region (Russia-CHE)
Chukotka Autonomous Okrug (Russia-CHU)
Chuvashia (Russia-CU)
Dagestan (Russia-DA)
Ingushetia (Russia-IN)
Irkutsk Region (Russia-IRK)
Ivanovo Region (Russia-IVA)
Kamchatka Territory (Russia-KAM)
Kabardino-Balkaria (Russia-KB)
Karachay-Cherkessia (Russia-KC)
Krasnodar Territory and Adygea (Russia-KDA)
Kemerovo Region (Russia-KEM)
Kaliningrad region (Russia-KGD)
Kurgan Region (Russia-KGN)
Khabarovsk Territory (Russia-KHA)
Khanty-Mansi Autonomous Okrug (Russia-KHM)
Kirov region (Russia-KIR)
Khakassia (Russia-KK)
Kalmykia (Russia-KL)
Kaluga Region (Russia-KLU)