Difference: CreateCustomOpenFietsMap (1 vs. 7)

Revision 722 Oct 2023 - IvoVanGeel

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Create custom OpenFietsMap

Line: 15 to 15
 
Added:
>
>
  • Create a directory DEM: mkdir DEM
  • Go to https://geo.javawa.nl/srtm/index.php, select the region you are using and download each file listed on the right (use the lowest resolution available)
  • Extract and move the contents of all height maps to the DEM directory
  • Edit mkgmap.args and replace map_with_dem_files with DEM
 
  • Create bounding box using: https://boundingbox.klokantech.com/
  • Draw polygon around desired area. Select KML in the lower left corner and click the copy to clipboard icon
  • Paste the KML data into a new file (it is not actually in KML format). Edit the ploygon file to list coordinates 1 per line, start each line with 2 spaces, replace comma (,) with 2 spaces
Line: 38 to 42
  -- Ivo van Geel - 20 Jul 2022
Deleted:
<
<
META FILEATTACHMENT attachment="beneluxswgermany.poly" attr="h" comment="beneluxswgermany.poly" date="1658311357" name="beneluxswgermany.poly" path="beneluxswgermany.poly" size="463" user="ivo" version="1"
 
META FILEATTACHMENT attachment="splitter-r653.zip" attr="h" comment="" date="1697910873" name="splitter-r653.zip" path="splitter-r653.zip" size="1580423" user="ivo" version="1"
META FILEATTACHMENT attachment="mkgmap-r4916.zip" attr="h" comment="" date="1697910873" name="mkgmap-r4916.zip" path="mkgmap-r4916.zip" size="3530353" user="ivo" version="1"
Added:
>
>
META FILEATTACHMENT attachment="beneluxswgermany.poly" attr="h" comment="" date="1697999717" name="beneluxswgermany.poly" path="beneluxswgermany.poly" size="177" user="ivo" version="1"

Revision 622 Oct 2023 - IvoVanGeel

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Create custom OpenFietsMap

Line: 30 to 30
 
  • Split Europe files in pieces and limit to polygon:
    • java -Xms4096m -Xmx4096m -jar <path/to/splitter.jar> --output=pbf --output-dir=splitter --max-nodes=1400000 --mapid=10010001 --geonames-file=cities15000.txt --polygon-file=beneluxswgermany.poly europe-latest.osm.pbf
  • Create image file for installing on Garmin:
Changed:
<
<
    • java -Xms4096m -Xmx4096m -jar <path/to/mkgmap.jar> -c mkgmap.args -c splitter/template.args 20011.txt
>
>
    • java -Xms4096m -Xmx4096m -jar <path/to/mkgmap.jar> --gmapsupp -c mkgmap.args -c splitter/template.args 20011.txt
 

See also

Revision 522 Oct 2023 - IvoVanGeel

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Create custom OpenFietsMap

Line: 8 to 8
 
  • Copy the mkgmap style sheets to the current directory: cp -r "mkgmap-style-sheets/styles/Openfietsmap full"/* .
  • Create a directory Styles
  • Copy the Openfietmap Full style directory to Styles: cp -r "mkgmap-style-sheets/styles/Openfietsmap full"/* Styles/
Added:
>
>
  • Copy the file 20011.txt from the Openfietsmap lite directory: cp "mkgmap-style-sheets/typ/Openfietsmap lite"/20011.txt .
 

Revision 422 Oct 2023 - IvoVanGeel

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Create custom OpenFietsMap

Added:
>
>
  • Copy the mkgmap style sheets to the current directory: cp -r "mkgmap-style-sheets/styles/Openfietsmap full"/* .
  • Create a directory Styles
  • Copy the Openfietmap Full style directory to Styles: cp -r "mkgmap-style-sheets/styles/Openfietsmap full"/* Styles/
 
Added:
>
>
 
  • Extract splitter and mkgmap using unzip
  • Create bounding box using: https://boundingbox.klokantech.com/
  • Draw polygon around desired area. Select KML in the lower left corner and click the copy to clipboard icon
Line: 22 to 27
 
Changed:
<
<
    • java -Xms2048 -Xmx2048m -jar <path/to/splitter.jar> --output=pbf --output-dir=splitter --max-nodes=1400000 --mapid=10010001 --geonames-file=cities15000.txt --polygon-file=beneluxswgermany.poly europe-latest.osm.pbf
>
>
    • java -Xms4096m -Xmx4096m -jar <path/to/splitter.jar> --output=pbf --output-dir=splitter --max-nodes=1400000 --mapid=10010001 --geonames-file=cities15000.txt --polygon-file=beneluxswgermany.poly europe-latest.osm.pbf
  • Create image file for installing on Garmin:
    • java -Xms4096m -Xmx4096m -jar <path/to/mkgmap.jar> -c mkgmap.args -c splitter/template.args 20011.txt
 

See also

Revision 321 Oct 2023 - IvoVanGeel

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Create custom OpenFietsMap

Added:
>
>
 
Changed:
<
<
  • Paste the KML data into a new file. Edit the ploygon file to list coordinates 1 per line, start each line with 2 spaces, replace comma (,) with 2 spaces
>
>
  • Paste the KML data into a new file (it is not actually in KML format). Edit the ploygon file to list coordinates 1 per line, start each line with 2 spaces, replace comma (,) with 2 spaces
 
  • Add header:
    • beneluxswgermany
    • 1
Line: 17 to 24
 
  • Split Europe files in pieces and limit to polygon:
    • java -Xms2048 -Xmx2048m -jar <path/to/splitter.jar> --output=pbf --output-dir=splitter --max-nodes=1400000 --mapid=10010001 --geonames-file=cities15000.txt --polygon-file=beneluxswgermany.poly europe-latest.osm.pbf
Added:
>
>

See also

 
Changed:
<
<
>
>
  -- Ivo van Geel - 20 Jul 2022

META FILEATTACHMENT attachment="beneluxswgermany.poly" attr="h" comment="beneluxswgermany.poly" date="1658311357" name="beneluxswgermany.poly" path="beneluxswgermany.poly" size="463" user="ivo" version="1"
Added:
>
>
META FILEATTACHMENT attachment="splitter-r653.zip" attr="h" comment="" date="1697910873" name="splitter-r653.zip" path="splitter-r653.zip" size="1580423" user="ivo" version="1"
META FILEATTACHMENT attachment="mkgmap-r4916.zip" attr="h" comment="" date="1697910873" name="mkgmap-r4916.zip" path="mkgmap-r4916.zip" size="3530353" user="ivo" version="1"

Revision 221 Oct 2023 - IvoVanGeel

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
Changed:
<
<

Create custom OpenFietsMap

>
>

Create custom OpenFietsMap

 
Changed:
<
<
  • Draw polygon around desired area and copy/paste in KML format
  • Edit the KML file to list coordinates 1 per line, start each line with 2 spaces, replace comma (,) with 2 spaces
>
>
  • Draw polygon around desired area. Select KML in the lower left corner and click the copy to clipboard icon
  • Paste the KML data into a new file. Edit the ploygon file to list coordinates 1 per line, start each line with 2 spaces, replace comma (,) with 2 spaces
 
  • Add header:
    • beneluxswgermany
    • 1
  • Add footer:
    • END
    • END
Added:
>
>
 

Revision 120 Jul 2022 - IvoVanGeel

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="WebHome"

Create custom OpenFietsMap

  • Create bounding box using: https://boundingbox.klokantech.com/
  • Draw polygon around desired area and copy/paste in KML format
  • Edit the KML file to list coordinates 1 per line, start each line with 2 spaces, replace comma (,) with 2 spaces
  • Add header:
    • beneluxswgermany
    • 1
  • Add footer:
    • END
    • END
  • Download .osm.bpf file from http://download.geofabrik.de/europe.html
  • Split Europe files in pieces and limit to polygon:
    • java -Xms2048 -Xmx2048m -jar <path/to/splitter.jar> --output=pbf --output-dir=splitter --max-nodes=1400000 --mapid=10010001 --geonames-file=cities15000.txt --polygon-file=beneluxswgermany.poly europe-latest.osm.pbf

-- Ivo van Geel - 20 Jul 2022

META FILEATTACHMENT attachment="beneluxswgermany.poly" attr="h" comment="beneluxswgermany.poly" date="1658311357" name="beneluxswgermany.poly" path="beneluxswgermany.poly" size="463" user="ivo" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2010-2019 by LANIS