How to edit saved earlier route?

625 views
Skip to first unread message

OA

unread,
May 1, 2017, 7:22:34 PM5/1/17
to Osmand
I've created a route and then saved it as .GPX file. Now I need to edit it a bit. I can load it back into OsmAnd, but I can't find a way to rearrange some of the waypoints. It looks like I can only remove them, but there is no way to change their order.
How can I do it?
Thanks you for any advice.

OA

unread,
May 8, 2017, 4:02:40 PM5/8/17
to Osmand
Does anybody know how to do that?

There must be a way to edit it - to change the order of weypoints, to change their positions on the map, etc... Without that I have to re-create the whole set of waypoints again and that is just stupid...

Gavinx

unread,
May 10, 2017, 2:08:48 AM5/10/17
to Osmand
Err, this is a navigation program, not a gpx editing one.

OA

unread,
May 10, 2017, 3:17:36 AM5/10/17
to Osmand
You realize that the editing is required to accommodate the prospective navigation, don't you? At the end I don't care about .GPX file. What I need is to change the navigation that I've prepared earlier and want to use now...

Manfred

unread,
May 10, 2017, 4:30:02 AM5/10/17
to Osmand
You do not know the difference between Track (GPX) and Route, do you?

Matt Vokes

unread,
May 10, 2017, 5:49:42 PM5/10/17
to Osmand
I would upload your file to a site such as http://www.gpsies.com/

Edit it then download & import into OsmAnd. I have many hikes saved in OsmAnd created this way

OA

unread,
May 10, 2017, 8:19:51 PM5/10/17
to Osmand
Osmand saves its new navigation route as .GPX file. I need to edit that route later on. How can I do that?

Matt Vokes

unread,
May 11, 2017, 4:40:30 PM5/11/17
to Osmand


On Thursday, May 11, 2017 at 1:19:51 AM UTC+1, OA wrote:
Osmand saves its new navigation route as .GPX file. I need to edit that route later on. How can I do that?

See post above, did you bother clicking the link?

The following formats are supported (max. 8 MB, autom. detection):

Google Earth (KML, KMZ), Google Maps directions (XML, JSON), PCX5 (tracks, waypoints), GPX (tracks, routes, waypoints), GPX Garmin Streetpilot, Garmin Course (CRS, TCX), FIT (ANT+), MS Excel, CSV (Comma-Separated-Values), Falk IBEX Tour, CompeGPS, VDO GP7 (TRC), GeoRSS, Logbook, NMEA, OVL (ASCII), Fugawi, KOMPASS Verlag (Alpenverein), TrainingPeaks (PWX), Navigon Route, OziExplorer, qpeGps Track, MagicMaps IKT, TomTom BIN (ttbin), TomTom ITN, Suunto SDF, Magellan Track, PathAway 


OA

unread,
May 11, 2017, 5:17:33 PM5/11/17
to Osmand
Thank you Matt for the link. I'm not confident with the idea of uploading my personal data to any web sites. Internet is becoming a place, where collecting and (re)selling personal data of users to anybody who's willing to pay is a rapidly growing business. And I don't want to entourage that move.

I'm looking for a way to edit my navigation route locally (and why not?). Do you have recommendations how to do it without uploading my data to someone I don't know or trust?

Kevin Kenny

unread,
May 11, 2017, 5:38:14 PM5/11/17
to osm...@googlegroups.com
On Thu, May 11, 2017 at 5:17 PM, OA <yok...@gmail.com> wrote:
I'm looking for a way to edit my navigation route locally (and why not?). Do you have recommendations how to do it without uploading my data to someone I don't know or trust?

If I have heavy-duty editing of geodata to do, I wind up using either JOSM (which is specifically for doing data entry for OSM) or QGIS. QGIS can do editing of GPX or KML routes really easily - I routinely ask it to do much harder things. It's got a pretty tough learning curve, though.

Kurt Waldhans

unread,
May 12, 2017, 10:26:37 AM5/12/17
to Osmand
For GPX edits, JOSM is an overkill. Look for dedicated tools like GpsPrune .

jasmeet sahni

unread,
May 12, 2017, 1:22:56 PM5/12/17
to Osmand
Am new to this field can anyone please tell me how to run the project osmand from github

Peter B

unread,
May 12, 2017, 1:46:22 PM5/12/17
to Osmand
If you are willing to copy the gpx files for editing to a Windows computer, a very good recomendation is
routeconverter(.de)
Good for editing trk, rte, wpt; create, delete, optimize long trk with douglas-peuker, converting formats and more.
Peter

jasmeet sahni

unread,
May 12, 2017, 2:10:38 PM5/12/17
to Osmand
Can anyone please tell me which one is the main file to run first so as to run this osmand project. I am new to this field


On Monday, May 1, 2017 at 7:22:34 PM UTC-4, OA wrote:

OA

unread,
May 12, 2017, 8:19:47 PM5/12/17
to Osmand
On Friday, May 12, 2017 at 7:26:37 AM UTC-7, Kurt Waldhans wrote:
For GPX edits, JOSM is an overkill. Look for dedicated tools like GpsPrune .
Tried to run GpsPrune and immediately got first question. How to see navigation route using OSM map on background?

Using Openstreetmap maps

After loading from a file, the data will be shown on the top-down map view..

 

And I'm puzzled now - where do I have to load map file? What format should I use? From what source/URL I have to download it? Etc... For example, I have map file that I use with Osmand. It's .OBF file and I put it into GpsProne's folder, but it doesn't see the file. How to load it into GpsProne? Also, I have .SRTM.OBF file for my area. How can I load it into GpsProne too?


The first experience is quite frustrating. Is the desire to see a route on OSM background map is so unusual for GpsProne, so there is no easy explanation on how to do it?

Manfred

unread,
May 14, 2017, 8:07:16 AM5/14/17
to Osmand
First: Trying to use OBF-files outside OsmAnd is nonsense.
Second: In the menus of GPSPrune you will find things like
"Show map", and in "Settings": "Load Maps form Internet" or so.

OA

unread,
May 16, 2017, 7:44:20 PM5/16/17
to Osmand
OK, I got it. OBF-files have a proprietary format, used only by Osmand. And in GPSPrune I see map now. Thanks!

Now, I'm getting a weird problem. When I open GPX file made for navigation by Osmand, I see two tracks overlayed over each other. One is the actual route, made by Osmand, and then I see a route, connecting waypoints directly. That route ignores the streets, their turns, etc. If I save this GPX file and then open it in Osmand, I see the same overlay again. :( Now there are two routes, one is made by Osmand, and another one directly connecting waypoints... If in Osmand I open it's own file, I don't see that weird problem. There is only one route going along the streets. If I open file saved by GPSPrune, there are two routes at the same time.

May be the second route (connecting waypoints directly) will not interfere with actual navigation? I don't know. In any case it looks like editing route with GPSPrune brakes the file for Osmand...

So, the question remains. Is it possible to edit GPX route made by Osmand earlier?

Manfred

unread,
May 17, 2017, 5:56:15 PM5/17/17
to Osmand


You should learn the differences between tracks and routes:

https://de.wikipedia.org/wiki/GPS_Exchange_Format
https://en.wikipedia.org/wiki/GPS_Exchange_Format

Tracks are  lots of independent points (the only relationship is their position in a list)
Routes are al list of points, where somebody has to connect them by means of a (route-able) map with roads.

You may have al look at routeconverter (http://www.routeconverter.de/home/de)
as Peter B mentioned earlier.
BTW I use it running in Linux.


 

OA

unread,
May 18, 2017, 6:06:50 PM5/18/17
to Osmand
In this thread I'm not talking about tracks. I'm talking only about a route. 

Again, I made a route in Osmand and saved it as .GPX file. I run that route and saw, that I need to make some small corrections to it. In order to do so I need to open that file again (preferably with Osmand, which created it) and make those corrections. I think it's logical to be able to edit earlier created route, don't you think? Thus the question - how to do that?

FYI: Osmand saves new routes in .GPX files containing:
1. <trkseg> segment with lot of <trkpt> (similar to recorded tracks, but without timestamps)
2. <rte> segment with lot of <rtept> (route directions)
3. set of <wpt> (ordered list of waypoints with sequential relationship defining navigation)


@Manfred, I've tried routeconverter (v2.20 from May 13, 2017) and can't use it at all. It's extremely slow and unresponsive. I click on its Help menu and I have to wait for a half of minute or more for a reaction... :( I have fast 8 threads CPU with the latest Java installed (v8 update 131, build 1.8.0_131-b11). Other Java apps work just fine. I just don't know what could be wrong with RouteConverterWindowsOffline.exe file...

Manfred

unread,
May 19, 2017, 12:02:21 PM5/19/17
to Osmand
Am Freitag, 19. Mai 2017 00:06:50 UTC+2 schrieb OA:
In this thread I'm not talking about tracks. I'm talking only about a route.

You wrote: "I see two tracks overlayed over each other ..."

OA

unread,
May 19, 2017, 5:45:31 PM5/19/17
to Osmand
Obviously I've misspoken there. It's easy to conclude from the content below that word:
Now, I'm getting a weird problem. When I open GPX file made for navigation by Osmand, I see two tracks overlayed over each other. One is the actual route, made by Osmand, and then I see a route, connecting waypoints directly...
 
Now, let's return back to the discussion topic. How can I edit my route, saved earlier by Osmand as .GPX file? Is there any way to do it with Osmand? Or should I use some another program to do that? In the latter case, what app / program could edit that route without braking it for Osmand?

Andy Townsend

unread,
May 19, 2017, 6:39:14 PM5/19/17
to osm...@googlegroups.com
On 11/05/2017 22:17, OA wrote:
>
> I'm looking for a way to edit my navigation route locally (and why
> not?). Do you have recommendations how to do it without uploading my
> data to someone I don't know or trust?

Personally, I'd just use a text editor (emacs in my case, but there are
plenty of options), but specific GPX-focused editors exist - things like
GpsPrune. GPSBabel is a converter that you might find useful.

- Andy

Reply all
Reply to author
Forward
0 new messages