OpenStreetMap

notes

Posted by dcp on 8 October 2013 in English (English)

I suppose we have all used the new "notes" feature either to clear up something or to point out to other contributors that something is "probably" wrong and should be surveyed. Up to now I have only added notes and not solved any other issues.

Well, today, I decided to do my little bit and try to solve a few "notes", but I could not: Why?

My equipment comprises a Garmin GPSmap 60CSx for locating, tracking and noting waypoints of OSM pertinent POIs. I have a Samsung Galaxy installed with OSMAnd+, which I use for viewing OSM Data, dictation and picture taking. Nothing out of the ordinary then, you all have similar equipment.

So my first thought was to transfer the notes (coordinates and text) in text form to the Galaxy: I could not find a methode so I gave that up.

Ok, no problem, I thought. I'll make a text list on paper, i.e. download the coordinates and notes in text form and then enter the coordinates into the Garmin manually: I could not find a methode so I gave that up.

The only methode that I can think of is to write the coordinates and notes manually to a piece of paper. In my case that would have been about 20 notes. I would then have to enter the coordinates of the first "note" into the Garmin and navigate to these said coordinates, solve note 1 and repeat for note 2,3,4.......20.

Needless to say I did not start. I gave up!

Now some of you out there may have a good idea of how to do it. I can't program so I am looking for a simple solution: i.e. Create waypoints for the Garmin which can be tranferred either using MapSource or EasyGPS. I could then sequentially navigate to each "note", solve the issue by reading the "note" text from a piece of paper or on my Galaxy:

Anybody got any ideas! How do you go about/solve "note"-problems?

Comment from amm on 8 October 2013 at 19:57

You can export the notes in a bounding box in various formats via the API. Hopefully one of them (e.g. gpx format) should be usable by your devices.

To do this you need to use the following URL:

http://api.openstreetmap.org/api/0.6/notes?bbox=0.1,0.1,0.2,0.2

with the bbox= parameters adjusted to represent the area you want to export from.

If you want to export it in gpx format, then use the following URL: http://api.openstreetmap.org/api/0.6/notes.gpx?bbox=0.1,0.1,0.2,0.2

http://api.openstreetmap.org/api/0.6/notes.json?bbox=0.1,0.1,0.2,0.2

if you want the notes in json format

Hide this comment

Comment from ToeBee on 8 October 2013 at 20:05

Well obviously OSM can't give you the data in every format ever. So the question is how do you take the data from the osm.org format and transform it into something usable by your device(s).

The way to get notes out OSM in a machine usable format is via the Notes API. You can get either XML or json format. From there some conversion to a format that the device can read will be required. I'm guessing the Garmin takes some form of GPX file? And I'm not sure what OsmAnd can use but this use case does actually interest me a bit so I might take look at that...

Since this is a new feature on osm.org it doesn't surprise me that there aren't many tools to use the data yet.

Hide this comment

Comment from ToeBee on 8 October 2013 at 20:11

Didn't see amm's comment before posting mine. I must have skipped the part in the documentation where it talks about GPX. That might actually work for your Garmin. But getting it into OsmAnd is still interesting to me.

Hide this comment

Comment from dcp on 10 October 2013 at 15:21

To amm and ToeBee.

Thank you both for being so responsive!

I looked at the solutions suggested (using API) and downloaded the area in question. Using http://www.jsoneditoronline.org/ I could browse the pertinent data but I could see how I could this in a useful way. Obviously it is my lack of the required skills that is hampering my efforts.

Do you think that is worth the effort to post a JOSM ticket?

Hide this comment

Leave a comment

Parsed with Markdown

  • Headings

    # Heading
    ## Subheading

  • Unordered list

    * First item
    * Second item

  • Ordered list

    1. First item
    2. Second item

  • Link

    [Text](URL)
  • Image

    ![Alt text](URL)

Login to leave a comment