Hello.

I've created ruby gem for drawing routes on OpenStreetMap maps. Hope it would be useful. https://github.com/akwiatkowski/gpx2exif

How to use: - Cli:

gpx2png -g spec/fixtures/sample.gpx    -s 800x600 -o map.png # image size
gpx2png -g spec/fixtures/sample.gpx    -z 11 -o map.png # zoom
  • Ruby code:
g = GpxUtils::TrackImporter.new
g.add_file('sample.gpx')
e = Gpx2png::Osm.new
e.coords = g.coords
e.zoom = 8
e.save('output.png')

more https://github.com/akwiatkowski/gpx2exif/blob/master/spec/gpx2png/osm_spec.rb

This question is marked "community wiki".

asked 23 Jul '12, 12:36

bobik314's gravatar image

bobik314
11113
accept rate: 0%

closed 24 Jul '12, 17:31

scai's gravatar image

scai ♦
32.0k20293443

What about publishing your code even in the OSM wiki, the OSM forum or to one or more of the OSM mailing lists?

Because this is "only" an FAQ site ...

(24 Jul '12, 16:26) stephan75

The question has been closed for the following reason "Not a question. Please use the mailing list, forum, wiki or irc to announce your tool." by scai 24 Jul '12, 17:31

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×6

question asked: 23 Jul '12, 12:36

question was seen: 1,651 times

last updated: 24 Jul '12, 17:31

powered by OSQA