NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hello, I want to draw a bus route in my map, but I don't like the normal way where I need to add all the GeoPoints. I have my route in a gpx and it exists drawn in OpenStreetMap too. Could I draw it the other easier way?

Thanks a lot

asked 08 Jan '14, 23:01

marioerro's gravatar image

marioerro
1222
accept rate: 0%

edited 09 Jan '14, 09:38

iii's gravatar image

iii
4.9k84082

1

Did you already tried to parse the GPX and add the points to an overlay? https://stackoverflow.com/questions/16708071/draw-overlayways-with-mapsforge

(09 Jan '14, 09:40) iii

Yes, but there are a lot of points, I'm looking for a easier way. Thanks for your response

(09 Jan '14, 12:54) marioerro

Hmm but the amount of points shouldn't be a problem if Mapsforge itself uses spatial structures to organize the data you add to the layer. Also they should provide an begin/end update-methods so the redraw doesn't trigger while you add the data point by point ... (but I don't have any experience on this framework, sry)

(09 Jan '14, 14:55) iii

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:

×255
×181
×25
×12

question asked: 08 Jan '14, 23:01

question was seen: 4,197 times

last updated: 09 Jan '14, 14:55

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum