someoneelseosm / notes01 Goto Github PK
View Code? Open in Web Editor NEWObtain "notes" and "fixme"s from OSM from within a bounding box and create a small file that will fit on a Garmin eTrex
Obtain "notes" and "fixme"s from OSM from within a bounding box and create a small file that will fit on a Garmin eTrex
http://www.openstreetmap.org/note/205835
is an example (in Nottingham). Obviously it'd be nice to do something useful with this (pick up the first English line perhaps?) but a worst case workaround would be just to ignore it.
Hi,
I build my notes.gpx using
java -jar Notes01.jar -do_notes -bbox=9.5,46.5,11.5,48.5 -output_gpx=notes.gpx -closed=0 -notes_limit=10000 -notes_symbol='Flag, Red'
I noticed that many of the notes nearby have several comments but only the original note gets displayed on my Garmin Oregon.
Here a few examples:
S N0137713 reads only "baerenseetrails gämgige bezeichnung" on the Oregon
but on OSM you also find my additional comment
https://www.openstreetmap.org/note/137713#map=17/47.85785/10.66210&layers=N
Ich weiß nicht ob das eine gängige Bezeichnung ist. Wenn man da mit dem Mountainbike unterwegs ist trifft es allerdings den "Nagel auf den Kopf"
same problem with notes Nr. 528872 , 524705 and many others
Shouldn't the answering comments also be added to the GPX file ?
Ciao,
Franco
If the GPX, created with Notes01, has waypoints with something like <--> or
is it possible to remove this tags with your tool?
sorry for my bad english, it isn't my native language
Bernd
After starting the jar with
java -jar Notes01.jar -do_notes -bbox=-22.09033,64.04443,-21.63253,64.18436 -output_gpx=notes-Reykjavik.gpx
I get the following output:
[Fatal Error] :1:50: White spaces are required between publicId and systemId.
Exception in thread "main" org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 50; White spaces are required between publicId and systemId.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)
at Notes01.process_notes_url_common(Notes01.java:1046)
at Notes01.process_notes(Notes01.java:1092)
at Notes01.main(Notes01.java:1605)
I use the release version from 2016-08-14.
Maybe the api changed since then?
It would be great if I could use this downloader but I am not able to fix this myself.
An example is
http://www.openstreetmap.org/api/0.6/notes/673900
The "
" that Navmii add comes through as ^J, resulting in a mix of ^J and ^J^M line endings in the file, and a Garmin e30x fails to load the file (and any other GPX files after it).
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.