Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPX-tracks: Better compatibility with JOSM #536

Closed
blurbl opened this issue Oct 18, 2013 · 1 comment
Closed

GPX-tracks: Better compatibility with JOSM #536

blurbl opened this issue Oct 18, 2013 · 1 comment

Comments

@blurbl
Copy link

blurbl commented Oct 18, 2013

Hi,

the gpx tracks from Osmand are currently not perfectly compatible to JOSM.
When you record an audio message or take a photo or video through Osmand, the media files are not linked in the way that JOSM can easily work with.

Osmand does this:

<wpt lat="(latitude)" lon="(longitude)">
    <name>(filename)</name>
    <time>(time)</time>
</wpt>

The filename is built from a geo-shortlink and a counter.
What JOSM can work with at the moment is this:

<wpt lat="(latitude)" lon="(longitude)">
    <time>(time)</time>
    <name><![CDATA[Sprachaufnahme]]></name>
    <link href="(filename)">
        <text>(filename)</text>
    </link>
 </wpt>

I do not know if the name and text parts are necessary, but I'd guess the most important part is the link. When there is a link, JOSM shows a clickable link to the file when you load a gpx. If it's an image, it can be viewed in JOSM. 3gp would be opened in the external standard program.

As it is now, I need to load the images manually and associate them with the track using their time stamps. 3gp can not be associated at all, so JOSM just shows the names of the files at their waypoints.

Of course, this is as much an JOSM issue, but maybe it can be fixed at the Osmand end.

Thank you and keep up the good work!

See a related JOSM ticket here:
http://josm.openstreetmap.de/ticket/5805

Tangentially related:
http://josm.openstreetmap.de/ticket/8765

@vshcherb
Copy link
Member

Internally We need to use name as filename, in order to make accessible in OsmAnd. We can put filename as duplicate also in description but we don't support (and I'm not sure it is covered by GPX schema).

BTW It is better to use Google Groups, we don't use issues here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants