wouter1 / osm-garmin Goto Github PK
View Code? Open in Web Editor NEWThis project forked from openstreetmap/mkgmap
Modified mkgmap's Subversion repository using mvn for build
Home Page: http://svn.mkgmap.org.uk/mkgmap
This project forked from openstreetmap/mkgmap
Modified mkgmap's Subversion repository using mvn for build
Home Page: http://svn.mkgmap.org.uk/mkgmap
Some roads currently shown on the map as black lines are really bad roads, more tractor paths.
And therefore also are used by the garmin routeplanner.
For instance bridelways like this one
https://www.openstreetmap.org/query?lat=51.97435&lon=4.35932#map=19/51.97420/4.35928
The general label this road gets is "weg'.
Sorry bad title, it's getting late...
]
Current mkgmap does not work if you split and mkgmap a "real" map
java -jar ../mkgmap.jar --gmapsupp -c template.args
Time started: Wed Jan 26 22:31:02 CET 2022
java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
at uk.me.parabola.imgfmt.sys.ImgHeader.createHeader(ImgHeader.java:147)
at uk.me.parabola.imgfmt.sys.ImgFS.createInitFS(ImgFS.java:372)
at uk.me.parabola.imgfmt.sys.ImgFS.createFs(ImgFS.java:123)
at uk.me.parabola.imgfmt.sys.ImgFS.createFs(ImgFS.java:102)
at uk.me.parabola.imgfmt.app.map.Map.createMap(Map.java:99)
at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:98)
at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:56)
at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:290)
at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
I get an error when I try to convert the /home/wouter/Desktop/test/cyprus-latest.osm.pbf
Just doing the standard conversion works
But when trying to apply the opentopomap style options I get
java -jar mkgmap.jar -c opentopomap_options --style-file=style/opentopomap --generate-sea --output-dir=output 6324*.pbf style/typ/opentopomap.typ
Time started: Fri Jan 28 20:25:07 CET 2022
Error in style: Error: (points:145): Expecting ), instead saw landuse
Error in style: Error: (points:145): Expecting ), instead saw landuse
Could not open style
Number of ExitExceptions: 1
Time finished: Fri Jan 28 20:25:08 CET 2022
Total time taken: 254 ms
This might also be an issue with the style file which I picked up from https://github.com/der-stefan/OpenTopoMap
I roughly did this
cd style/typ/
java -jar ../../mkgmap.jar --family-id=35 opentopomap.txt
cd ../..
java -jar mkgmap.jar -c opentopomap_options --style-file=style/opentopomap --generate-sea --output-dir=output 6325*.pbf style/typ/opentopomap.typ
There are a number of things to improve on this
I can't push the updated readme.
Eclipse says
'Push to' osm-garmin-origin' has encountered a problem.
Can't connect to any repository: https://github.com/Wouter1/osm-garmin.git (https://github.com/Wouter1/osm-garmin.git: not authorized)
If you zoom out on the grey style to the 2km level or further out, all area becomes grey. No area seems rendered at all., as hovering over the grey area does not show any area name ("grass", "built-up area") as usual. The roads and water appear fine but I'd like to see some rough outlines of city shapes
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.