# Generate a gpx output compatible with Locus map

**URL:** <https://forum.kurviger.com/t/generate-a-gpx-output-compatible-with-locus-map/3898>\
**Category:** Route transfer and 3rd party integration\
**Tags:** new-feature, routing, navigation\
**Created:** [July 28, 2020, 1:27pm UTC](https://forum.kurviger.com/t/generate-a-gpx-output-compatible-with-locus-map/3898 "2020-07-28T13:27:49Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![0709](https://forum.kurviger.com/user_avatar/forum.kurviger.com/0709/32/4699_2.png) [@0709](https://forum.kurviger.com/u/0709)\
**Post date:** [July 28, 2020, 1:27pm UTC](https://forum.kurviger.com/t/generate-a-gpx-output-compatible-with-locus-map/3898/1 "2020-07-28T13:27:49Z")

</div>

Generate a gpx output compatible with Locus map.

Hello dear GPS friends.

My name is Willy and I use nickname 0709 just like I do in the Locus map forum.  
(My ex technician number in the company where I worked by the way).

What interests me most is your web router and the gpx output, but in a format that Locus can handle perfectly.

I noticed on a first introduction that the Kurviger Router uses remarkably the same expressions as there are Via points and Shaping points. It makes me suspect that Locus is no stranger to you. ?

The Shaping points are currently not exported (and therefore not imported) by Locus with gpx files, although this is perfectly possible. Here too the known problem, what must first be, the egg or the chicken?

I think that a gpx output method as described in the document in the link below on page 4 can handle everything perfectly yet easily, including the clear export of free positioned waypoints in the gpx file.

A slightly longer document, but I think it is sufficiently complete to get started, at least if of course there is interest.

Thank you in advance for checking this out.  
You can reach me here on the forum or in the Locus forum, I don’t suspect unknown territory for you either.

Good luck !  
Kind regards  
“0709” Willy.

[https://www.dropbox.com/s/cmgzoqp2c3ctpad/Locus%203.50.1%20Navigation%20Commands%20&%20Icons\_2p.doc?dl=0](https://www.dropbox.com/s/cmgzoqp2c3ctpad/Locus%203.50.1%20Navigation%20Commands%20&%20Icons_2p.doc?dl=0)

---

<div class="post-metadata">

**Author:** ![boldtrn](https://forum.kurviger.com/user_avatar/forum.kurviger.com/boldtrn/32/360_2.png) [@boldtrn](https://forum.kurviger.com/u/boldtrn)\
**Post date:** [July 29, 2020, 12:42pm UTC](https://forum.kurviger.com/t/generate-a-gpx-output-compatible-with-locus-map/3898/2 "2020-07-29T12:42:52Z")

</div>

Thanks for the proposal, I am not sure if I understand it 100%.

Currently Kurviger’s GPX export does not export ShapingPoints yet. Different navis handle this differently, so for example we could include this for the GarminSpecific export. I had a look at the docuements you linked, but I am not exactly sure what you mean.

The documents mention a property called type. We could add a type tag, if there is a proven standard? Do you know if there is a standard, without focusing on one manufacturer?

---

<div class="post-metadata">

**Author:** ![devemux86](https://forum.kurviger.com/user_avatar/forum.kurviger.com/devemux86/32/6239_2.png) [@devemux86](https://forum.kurviger.com/u/devemux86)\
**Post date:** [July 29, 2020, 1:16pm UTC](https://forum.kurviger.com/t/generate-a-gpx-output-compatible-with-locus-map/3898/3 "2020-07-29T13:16:45Z")

</div>

> [@0709](#):
>
> I noticed on a first introduction that the Kurviger Router uses remarkably the same expressions as there are Via points and Shaping points. It makes me suspect that Locus is no stranger to you. ?

They are common terms used by many routing services, e.g. [Garmin](https://support.garmin.com/en-US/?faq=POYXggoD3p19jQOwZCvFA6).

> [@boldtrn](#):
>
> Do you know if there is a standard, without focusing on one manufacturer?

👍

---

<div class="post-metadata">

**Author:** ![devemux86](https://forum.kurviger.com/user_avatar/forum.kurviger.com/devemux86/32/6239_2.png) [@devemux86](https://forum.kurviger.com/u/devemux86)\
**Post date:** [July 29, 2020, 5:52pm UTC](https://forum.kurviger.com/t/generate-a-gpx-output-compatible-with-locus-map/3898/5 "2020-07-29T17:52:24Z")

</div>

It’s not about to reinvent all things and create new arbitrary incompatible GPX types.

Kurviger exports all waypoints (start + via + shaping + end) in “wpt” and “rtept” types.  
(names already have their official “[name](https://www.topografix.com/GPX/1/1/#type_wptType)” tag, only shaping points remain to decide)

Instead of add an extension, can better use an existing element, like the “[type](https://www.topografix.com/GPX/1/1/#type_wptType)” tag:  
_Element: type: Type (classification) of the waypoint._

Anyway that is to be discussed in their feature topics:  
(but universally without focus on any manufacturer)

> [@Website: Export Waypoint Names and Shaping Points](https://forum.kurviger.com/t/website-export-waypoint-names-and-shaping-points/3706):
>
> Now that waypoint names and shaping points are available on the website it would be great if there would be an option to export these. Waypoint names could be used in most export formats. Shaping points in the export would be very interesting for the GarminShapingPoint export and in the ITN format. Please let us know if you see other options where this can be handy as well.

> [@App: Export GPX (offline) shaping points](https://forum.kurviger.com/t/app-export-gpx-offline-shaping-points/3918):
>
> It’s already possible to export routes without internet in GPX format (with waypoint names). (besides using the offline Kurviger format) Via points + shaping points are currently exported in GPX together without any separation. We can add a separation, probably using some available GPX point element, e.g. “[type](https://www.topografix.com/GPX/1/1/#type_wptType)”: Element: type: Type (classification) of the waypoint. Related to: [https://forum.kurviger.com/t/app-export-gpx-offline-format-with-waypoint-names/2916](https://forum.kurviger.com/t/app-export-gpx-offline-format-with-waypoint-names/2916)

---

<div class="post-metadata">

**Author:** ![zaphod\_42](https://forum.kurviger.com/user_avatar/forum.kurviger.com/zaphod_42/32/499_2.png) [@zaphod\_42](https://forum.kurviger.com/u/zaphod_42)\
**Post date:** [July 29, 2020, 7:41pm UTC](https://forum.kurviger.com/t/generate-a-gpx-output-compatible-with-locus-map/3898/6 "2020-07-29T19:41:43Z")

</div>

> [@0709](#):
>
> to convert a short Kurviger local route with Shape and Via Point into a gpx direct route example

I think it’s already [there](https://gpxshaping.de/GPX/GpxShaping.html) - no need to reinvent it!  
Take this kurviger route ([https://kurv.gr/PHSpf](https://kurv.gr/PHSpf)) and the attached corresponding file and let GpsShaping do it’s work.

 ![2020-07-29 21_37_29-Shaping](https://forum.kurviger.com/uploads/default/original/2X/d/d312879f79ebf252d82a6d0b0a161a95584629e0.jpeg)  
The result is perfect for my opinion.  
[HighLine.kurviger](https://forum.kurviger.com/uploads/short-url/t6dz5Tu83Yv1XlEyDtXzsntLMrP.kurviger) (33.4 KB)  
[HighLine\_.gpx](https://forum.kurviger.com/uploads/short-url/2xAEjbT9B85neut1ZgkmcmCpUvR.gpx) (240.9 KB)  
As you mentioned you see the details in Notepad++.

---

<div class="post-metadata">

**Author:** ![boldtrn](https://forum.kurviger.com/user_avatar/forum.kurviger.com/boldtrn/32/360_2.png) [@boldtrn](https://forum.kurviger.com/u/boldtrn)\
**Post date:** [July 30, 2020, 1:52pm UTC](https://forum.kurviger.com/t/generate-a-gpx-output-compatible-with-locus-map/3898/9 "2020-07-30T13:52:49Z")

</div>

> [@zaphod\_42](#):
>
> I think it’s already [there](https://gpxshaping.de/GPX/GpxShaping.html) - no need to reinvent it!

Yes, but that only works for Garmin. The export format for the GarminShapingPoint is quite clear, as Garmin defines these already.

For a more general gpx export, we should think about an option. As I said, one option could be the `type`. Another option could be `sym`. For sym there seem to be different flags, it could be:

- Flag, Green = Start
- Flag, Blue = Waypoint
- Flag, Yellow = Shaping
- Flag, Red = Destination

This might help for some GPX viewers to better show the different waypoint types.

In any case, I am still looking for a good way to solve this for most navigators. I am not crazy about creating 100 different exports for every different GPX device 🙂.

---

<div class="post-metadata">

**Author:** ![boldtrn](https://forum.kurviger.com/user_avatar/forum.kurviger.com/boldtrn/32/360_2.png) [@boldtrn](https://forum.kurviger.com/u/boldtrn)\
**Post date:** [July 30, 2020, 1:58pm UTC](https://forum.kurviger.com/t/generate-a-gpx-output-compatible-with-locus-map/3898/10 "2020-07-30T13:58:53Z")

</div>

> [@0709](#):
>
> Import into Locus. Result:: Perfect Navigation.  
> View the gpx details indeed by Notepad ++  
> or by the pc gpx editor program.(freeware)

I had a look at the GPX file, thanks for providing that.

I am not sure if I understand this right. You used a lot of different definitions, sometimes you added a `sym` or a `type`, sometimes you didn’t. Usually, software doesn’t work like that 🙂

We need to find a reliable solution with good rules that can be used across most devices / apps for best compatibility.

---

<div class="post-metadata">

**Author:** ![zaphod\_42](https://forum.kurviger.com/user_avatar/forum.kurviger.com/zaphod_42/32/499_2.png) [@zaphod\_42](https://forum.kurviger.com/u/zaphod_42)\
**Post date:** [July 30, 2020, 5:56pm UTC](https://forum.kurviger.com/t/generate-a-gpx-output-compatible-with-locus-map/3898/12 "2020-07-30T17:56:55Z")

</div>

> [@boldtrn](#):
>
> Yes, but that only works for Garmin.

Robin,  
I plan with [kurviger.de](http://kurviger.de) and ride with kurviger PRO. Need .gpx files only for the guys who ride behind me (and want to ride in front from time to time). But I only support those who use Garmin or TomTom. Everything else is simply ignored.  
Maybe this would be a solution for you as well - if I look at the [list in ComputerBILD](https://www.computerbild.de/download/Hobby-Freizeit/routenplaner-software/) (not my preferred source of knowledge!): 96 different software products, and kurviger is not even included. You just cannot service all of them.  
But I’m not in the navigation business, I’m in the motorcycle driving business! 😉

---

<div class="post-metadata">

**Author:** ![boldtrn](https://forum.kurviger.com/user_avatar/forum.kurviger.com/boldtrn/32/360_2.png) [@boldtrn](https://forum.kurviger.com/u/boldtrn)\
**Post date:** [July 31, 2020, 8:25am UTC](https://forum.kurviger.com/t/generate-a-gpx-output-compatible-with-locus-map/3898/13 "2020-07-31T08:25:44Z")

</div>

> [@0709](#):
>
> As is the powerfull “in house” .kurviger datei, is also no universal exchange format.

Yes. The .kurviger format allows us to store all settings of a Kurviger route. Other formats don’t allow that. That way we can load roads without internet connection for example.

> [@0709](#):
>
> Hmmm… The element sym on the important navigation points is always there, no ?

No 😉

> [@0709](#):
>
> And type is used only once, to indicate this is a “special nav point” a shape point. (A new idea proposal, and actually not implemented in Locus too)

Ok I see.

> [@0709](#):
>
> Oh I see now, you did not read the document 😉 Page 5 of 7.

I skimmed over the document. Sorry but I cannot read 10-15 pages in detail about (your) Locus method. As explained, for GPX, we need a format that provides best compatibility with most apps and workflows. So it’s important to discuss about this and compare how different apps handle different GPX files.

---

<div class="post-metadata">

**Author:** ![devemux86](https://forum.kurviger.com/user_avatar/forum.kurviger.com/devemux86/32/6239_2.png) [@devemux86](https://forum.kurviger.com/u/devemux86)\
**Post date:** [July 31, 2020, 9:10am UTC](https://forum.kurviger.com/t/generate-a-gpx-output-compatible-with-locus-map/3898/15 "2020-07-31T09:10:20Z")

</div>

No need for any special compatibility, the GPX export process is simple and universal for all apps:

GPX contains the waypoint coordinates in “wpt” / “rte” and the track in “trk”.

All apps can import the GPX and use the waypoint coordinates to calculate route with instructions.

---

<div class="post-metadata">

**Author:** ![boldtrn](https://forum.kurviger.com/user_avatar/forum.kurviger.com/boldtrn/32/360_2.png) [@boldtrn](https://forum.kurviger.com/u/boldtrn)\
**Post date:** [August 5, 2020, 7:19am UTC](https://forum.kurviger.com/t/generate-a-gpx-output-compatible-with-locus-map/3898/17 "2020-08-05T07:19:06Z")

</div>

Thanks for the update. Please be so kind and keep these things here in the forum and not in some external files on Dropbox. Just a short description of what you think is missing or not working and if you have an idea to improve it, you can add how a solution could look like. That way others can find this trough the forum search and it’s easier for everyone to contribute.

---

<div class="post-metadata">

**Author:** ![0709](https://forum.kurviger.com/user_avatar/forum.kurviger.com/0709/32/4699_2.png) [@0709](https://forum.kurviger.com/u/0709)\
**Post date:** [July 24, 2021, 9:43am UTC](https://forum.kurviger.com/t/generate-a-gpx-output-compatible-with-locus-map/3898/20 "2021-07-24T09:43:03Z")

</div>

(post deleted by author)
