Page 1 of 1

[closed] GPX display

Posted: Wed Sep 20, 2017 12:49 pm
by alexlong
Hi and thanks for AlpineQuest.

Something illogical seems to me when I see a descriptive part of a GPX waypoint in AlpineQuest

A gpx waypoint by default has 2 tags:
<latitude> (or <lat>) and longitude (or <lon>)
The optional are:
<name></name>
<desc></desc>
<cmt></cmt>
<url></url>
etc.

I always thought that description was more important than comments, i.e. if you have a waypoint it's name is so and so (name), it's about so and so (description).
If needed I can have comments about this waypoint expanding the description. But I thought the description is the first and comments should go after it.

This logic is kept in Locus. Just have a look at a screenshot of a gpx waypoint details where the tag chain is like this: name —> description —> comment

Now let's have a look at how AlpineQuest displays it: name —> comment —> description

Is it OK like this?

The gpx file is common:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<gpx version="1.1" creator="GPS Visualizer http://www.gpsvisualizer.com/" xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
<wpt lat="59.942061" lon="30.315817">
  <name>State Hermitage</name>
  <desc>Museum architectural historical art</desc>
  <cmt>Russia Saint-Petersburg Palace Embankment 34</cmt>
  <link href="http://www.hermitagemuseum.org"></link>
</wpt>
</gpx>

Re: GPX display

Posted: Wed Sep 20, 2017 12:50 pm
by alexlong
This is how it looks like in Locus.

Re: GPX display

Posted: Wed Sep 20, 2017 12:51 pm
by alexlong
This is how it looks like in AlpineQuest:

Re: GPX display

Posted: Wed Sep 27, 2017 6:34 pm
by Psyberia-Support
Hi Alex,
I haven't read any particular specifications concerning GPX descriptions and comments so I've based the management on the files I had. Descriptions can be very long and are not necessarily on a single line. They can also be styled or contains table like in the example below.
The comment on the contrary is usually short, so better to be displayed on the map along with the name.

In the details view, there is no real "priority", but the comment is displayed with all "small" details, whereas the description is displayed in a larger place (uses all the width).

On the map, if there is a comment, then it's used, if not, then first part of the description is used.
screenshots.jpg
(41.19 KiB) Downloaded 2092 times

Re: GPX display

Posted: Wed Sep 27, 2017 9:15 pm
by alexlong
I see, thanks.