mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
Navit - Updated map definition to use a wildcard. Anything with *.bin extension in the maps directory will now be automatically loaded.
This commit is contained in:
@@ -12,4 +12,31 @@
|
||||
|
||||
5. Copy the map to user's home directory under: `~/.navit/map/`.
|
||||
|
||||
6. Rename the map file to `et_default.bin`.
|
||||
Note: The current Navit configuration specifies the map directory using
|
||||
a wildcard (i.e. ~/.navit/map/*.bin). As such, any valid Navit map
|
||||
with a `*.bin` extension will automatically be supported.
|
||||
|
||||
|
||||
## Loading Larger Maps (OSM)
|
||||
|
||||
If you have the storage and want larger maps, it is suggested that you
|
||||
use the OpenStreetMap (OSM) extracts from http://download.geofabrik.de/.
|
||||
|
||||
Here's the approach used for loading a map for the Southwest region in
|
||||
the US.
|
||||
|
||||
1. Visit [North America](http://download.geofabrik.de/north-america.html).
|
||||
|
||||
2. Download the "US West" [.osm.bz2](http://download.geofabrik.de/north-america/us-west-latest.osm.bz2)
|
||||
file.
|
||||
|
||||
3. Upload `us-west-latest.osm.bz2` to your `~/.navit/maps` directory.
|
||||
|
||||
4. Convert the map to a format that Navit can understand. This will take several hours.
|
||||
|
||||
```
|
||||
$ cd ~/.navit/maps
|
||||
$ time bzcat us-west-latest.osm.bz2 | maptool -6 us-west-latest-osm.bin
|
||||
```
|
||||
|
||||
|
||||
|
||||
@@ -439,7 +439,7 @@ Waypoint</text></img>
|
||||
|
||||
<!-- Mapset template for OpenStreetMap -->
|
||||
<mapset enabled="yes">
|
||||
<map type="binfile" enabled="yes" data="~/.navit/maps/et_default.bin"/>
|
||||
<map type="binfile" enabled="yes" data="~/.navit/maps/*.bin"/>
|
||||
</mapset>
|
||||
|
||||
<!-- Mapset template for garmin maps -->
|
||||
|
||||
Reference in New Issue
Block a user