Correctly display GPX files with waypoints and track

Started by alobo, November 11, 2018, 07:57:18 PM

Previous topic - Next topic

alobo

Display of gpx files with with waypoints and track on map is wrong: only waypoints are displayed, even without notice to the user. See attachment to compare to a GIS display of the same file

gpx file: https://www.dropbox.com/s/dhpdw6mc2dujtb4/2018-11-10_10-12-55.gpx?dl=0
screenshot: https://www.dropbox.com/s/10ukmga9hdqfh14/Captura.PNG?dl=0

GPX files may have waypoints, routes and tracks, with routes and tracks being displayed as lines and/or points (see qgis for an example). IM should ask the user which components he/she wish to display (I understand styling has to be limited in your software) and which ones to use for georeferencing. You cannot force the user to edit the gpx file to get a correct display, your software must conform to the specifications
of standard formats. It should be pretty simple, as there are open source libraries that you can use for dealing with this (and virtually any) geoformat  (https://www.gdal.org/drv_gpx.html).

The current workaround consists on making the user edit the gpx to delete waypoints, which is unacceptably inconvenient. And obviously IM cannot require the user to "Don't mix way points and track points in a GPX file", because this is against the gpx specification and against the common use of GPS apps: Most gps apps let the user automatically record the  track while taking waypoints at specific sites, and everything is saved to a single gpx.

https://www.dropbox.com/s/sn9hfy6t5a7pu68/Captura2.PNG?dl=0
https://www.dropbox.com/s/krwhttpip60rnk5/Captura3.PNG?dl=0

Carlo Didier

+1!
Explains some effects I had in one case (where it didn't matter, therefore I didn't mention it here), but which may re-occur, now that I know why it happened.

lbo

+1

As far as I understand, the track data describes best where the camera was at a certain time, and that's what I want to know.

Seeing the track in the map is most important to me.

Oliver

Mario

IMatch uses the track data (track points) to display the track on the map.

This FR is about using waypoints or track points and for providing users with a choice who work with GPX files which have both waypoints and track points.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

lbo

Quote from: Mario on November 13, 2018, 08:21:49 PM
This FR is about using waypoints or track points and for providing users with a choice who work with GPX files which have both waypoints and track points.

If this is an answer to my last post: I think I understood the OP quite well and I support the request. I just provided an example of usage and my personal preference.

The point is:

There are different use cases of GPX files and it can't be foreseen which data is needed by the user. IOW IMatch shouldn't use a hard coded preference.

For me that's no urgent issue since I can prepare my gpx file to contain the data I need (I generate it from an IGC file anyway).

Oliver

Mario

Quoteneeded by the user. IOW IMatch shouldn't use a hard coded preference.

This is the change requested in this FR.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Mario

As I explained in the bug report: https://www.photools.com/community/index.php?topic=8511.0

The Map Panel imports way points, track points and routes. It uses all coordinate points to map files.
For OpenLayers-based maps (Bing / OpenStreetMap) only the last point set was displayed. This has been corrected.

I assume your feature request us no longer needed. You can just switch to Google Maps to see your GPX file correctly in the mean time (waiting for the next release).
I doubt an extra feature for choosing route/tracks/waypoints for display on the map is needed. The main purpose of this is for mapping files, not displaying selected track entries on the map.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

lbo

o.k. for me. The remaining special cases can be managed by preparing thee  gpx files as needed.