script to build maps for GARMIN PNA like eTrex Vista HCx
License
berndw1960/creategmap
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
pygmap3.py, a script to build maps for GARMIN PNAs
Work in progress, be sure, that you use it in
the knowledge, that it can be harmful for your data,
but i hope, it's safe.
tested with
eTrex Vista Hcx
eTrex Legend
Oregon 4x0
Oregon 6x0
Oregom 7x0
some Nüvis
Tools will be installed by the script:
mkgmap and splitter from
http://www.mkgmap.org.uk
and some other things
You can use the bash script mk_osmtools in this repository
to create this tools, needs cc installed
osmconvert
http://wiki.openstreetmap.org/wiki/osmconvert
osmupdate
http://wiki.openstreetmap.org/wiki/osmupdate
osmfilter
http://wiki.openstreetmap.org/wiki/osmfilter
phyghtmap comes with an install routine
phyghtmap (to create the contourlines)
http://katze.tfiu.de/projects/phyghtmap/
please use the version 2.21 or later!
Description:
mapset.py - if you want to build more than one mapset, as example dach and
germany.
mapset.py -h shows a help
pygmap3.py - the main script, start it without any option to create map
for Germany with the default style of mkgmap
you need a poly file of the region,
if you want to build yourchoice of region, store this file
in the subfolder poly.
search for osm2poly and poly2osm in the web, if you want to
create a poly file from scratch.
you can also use rawdata files like germany-latest.osm.pbf from
https://download.geofabrik.de
store this file in a subfolder of the work dir named pbf.
the same is possible with o5m files, store these files in the
subfolder o5m.
files with names like germany or germany-latest.[pbf|o5m] can be used.
to prevent large updates, download a poly for this region, too, and
store it in the folder poly. i
it is also possible to use a planet file to create the raw data, but
this download is huge, in 2020 ~55 GB.
extracting raw data from a planet is slow, so try to use smaller
extracts
all raw data from pbf files will be converted to o5m,
stored, updated and used in future builds.
if you want to create your maps with your own styles,
you have to do some work:
add a folder named {your_map}_style and a textbased file
named {your_map}_typ.txt to the folder 'styles'
you can also use our fork of the AIO, copy the complete
repository to 'styles'
pygmap3.py -h shows a help
pygmap3.py -m basemap enable the build of our basemap style
planet_up.py - download a complete planet from openstreetmap.org or update it
all other *.py are helper for 'pygmap3.py', they must be in the same folder!
About
script to build maps for GARMIN PNA like eTrex Vista HCx
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published