Git Product home page Git Product logo

osm-garmin's People

Contributors

wouter1 avatar

Stargazers

 avatar

Watchers

 avatar

osm-garmin's Issues

NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer

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)

Error in style

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 

optimize "grey" style

There are a number of things to improve on this

  • farmland is now grey. Maybe better use something yellow-brownish?
  • Buildings now appear dark green. Better maybe something like grey or blueish
  • space between houses now brown. Better make this grey
  • Bike paths now are black lines. Need to be light grey or white
  • There are dashed purple-black lines, need to change the purple color it's too bright for wat seems an irrelevant item (need to check what it really si)
  • Why are there black lines along white roads. This reduces the visibility of the roads. Better leave out the black line and just have white line.
  • Sea now looks grey

grey style zoomout

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.