How to download OpenStreetMap maps. OSM maps for Navitel - perspective navigation Open street maps

Antipyretics for children are prescribed by a pediatrician. But there are emergency situations for fever when the child needs to be given medicine immediately. Then the parents take responsibility and use antipyretic drugs. What is allowed to give to infants? How can you bring down the temperature in older children? What medicines are the safest?

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)

These are unofficial free cards. 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

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, there is no shortage of such programs in the current era of GPS and mobile devices. It offers users both 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 select the desired area on the OSM map, and in special fields indicate your e-mail address and set the name of the selected map. It is 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 street map"), 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 both 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 more 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 subsequently used for automatic navigation depending on the selected vehicle, as well as the ability to display the object on the map when discarding unnecessary objects (let’s say a Ferrari won’t drive along a forest road, so the driver of such a car won’t want to so that field and forest paths clog the map and participate in automatic routing).

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.


2) Vectors available in editors and for download as files

To navigate the terrain, maps need to be loaded into the device with which you will go to this area - capable of receiving a GPS signal, drawing a map and your position on it. If the device can still lay a route, it's generally good.

Today we will talk about converting OpenStreetMap maps for displaying them in Russa or Navitel Navigator programs. Accordingly, these maps can be downloaded to devices running one of these programs.

Generally speaking, you can download ready-made maps of some regions of Russia and some other countries, however, these maps do not cover the whole world and are not always made as we would like. By converting the card yourself, you can achieve much more, if you don't mind the time, of course.

Briefly and for those who know, the conversion looks like this: .osm -> .mp -> .rus / .nm2

Disclaimer - I describe the method that I use myself. If you know an easier way - you are welcome to write in the comments.

Now, in detail:

1) Download.osm
.osm is a vector map format for OpenStreetMap. From is based on XML, i.e. actually text.
You can get the .osm file in the following ways:
1. Download editors: JOSM or Merkaartor. Just download the map rectangle you need from the server and save it to a file. I personally prefer to use JOSM, but you need to install Java for it.
2. Download a ready-made map of a certain region from one of the hosting sites, for example:
- geofabrik.de - whole continents and countries, some countries are divided into provinces/states/regions
- cloudmade.com - the whole world by country, some countries are divided into provinces/states/regions
Just download the file and extract bz2.
3. Download manually via XAPI
To work with XAPI, you need to make an HTTP request to the server, nothing complicated, everything is written at the link.

2) Cut .osm into pieces(If you want to)
.osm files, especially those prepared by country, are quite large and do not undergo subsequent conversion (see below). So they have to be cut.
For cutting, I use a splitter , by default it makes .osm files somewhere around 120 MB, which then almost always go through subsequent conversion. If necessary, the splitter can be configured with parameters command line.
The splitter requires Java to work.
Also keep in mind that in Russa, routing works only with one loaded map. Those. if a map of one country is cut into pieces and loaded into Russa as an atlas, routing will not work.

3) Convert .osm to .mp
.mp is an ancient Polish map storage format. It is good because it is textual and quite human-readable, well, a lot of programs understand it.
For conversion I use osm2mp program. Unfortunately, the program requires Perl to be installed and is not very easy to use.
One way or another, after installing and configuring Perl (described at the link) and downloading osm2mp, the program can be used.
An arbitrary .osm file needs to be sorted beforehand - processed with the attached osmsort.pl script
Then you need to call osm2mp.pl with the conversion parameters.
Through lengthy experiments, I wrote a set of .bat files for myself, for example, a standard conversion with an eye for Russa:
echo Start %date% %time% >> std_err.log echo %1 >> std_err.log perl.exe osmsort.pl %1 > temp_del.osm 2>> std_err.log perl.exe osm2mp.pl --header header_russa. tpl temp_del.osm > %1.mp 2>> std_err.log echo Finish %date% %time% >> std_err.log
You need to call such a .bat file with 1 parameter - the name (and full path) of the .osm file
1st line writes the date and time of the start of the conversion to the std_err.log file
The 2nd line writes the name of the .osm file to the std_err.log file
3rd line executes osmsort, information about the progress of the process (and errors) goes to the std_err.log file
4th line executes osm2mp, information about the progress of the process (and errors) goes to the std_err.log file
The 5th line writes the date and time of the end of the conversion to the std_err.log file
(The path to perl.exe must be written either in the system or in your .bat file)

To convert maps of foreign countries, it is desirable to include transliteration - or even names. For example, adding the following parameters "--nametaglist int_name,name:en,name,name:ru,ref,int_re f,addr:housenumber,operator --translit" right after "osm2mp.pl"

To convert with an eye to Navitel, you need to download a set of osm2navitel configuration files, rename the files there respectively to header_navitel.tpl, poly_navitel.cfg and poi_navitel.cfg; and add parameters "--osmbbox --navitel --disableuturns --header header_navitel.tpl --cfgpoly poly_navitel.cfg --cfgpoi poi_navitel.cfg" to the call to osm2mp.pl

For other conversions, you can also prepare poly*.cfg, poi*.cfg and header*.tpl

A large map may not convert - for example, 32-bit Perl is limited to 2GB of RAM, as a result, osm2mp cannot handle .osm files anywhere from 700MB in size, and sometimes crashes with a memory error on significantly smaller cards. In this case, the card must be cut (see step 2).

4) Convert .mp to .rus (or .nm2)
For this purpose, there is an excellent program GPSMapEdit, which, as the name suggests, is also an editor. It is enough to load the .mp file in GPSMapEdit and make Export to the required format.
But there are a few pitfalls:
- .rus (and .nm2) files saved from GPSMapEdit have a size limit of 16MB. According to my estimates, this equates to about 120MB of an .mp file, or about 600MB of an osm file.
- .nm2 files for Navitel 3.2.* versions are very demanding on the absence of errors on the map, so if "Export failed" occurs - you will have to fix the error on the displayed map, either select a different format, or convert the map with different settings (see step 3).

P.S. , and then convert to .rus or .nm2.



Support the project - share the link, thanks!
Read also
cockfight game rules cockfight game rules Mod for minecraft 1.7 10 watch recipes.  Recipes for crafting items in Minecraft.  Weapons in Minecraft Mod for minecraft 1.7 10 watch recipes. Recipes for crafting items in Minecraft. Weapons in Minecraft Shilling and sterling - the origin of words Shilling and sterling - the origin of words