cgeo/c-geo-opensource — Issue #977: Waypoint-GPX not always imported along with GPX
Author: Lineflyer
Created: 2012-01-12 22:53:58+00:00
State: open

Scenario:
I received a PQ and saved it from mail to the Download-folder of my phone. As the PQ-name is always the same and it is a recurring PQ (once a week) I already saved the same file-name in the Download-directory but did not clean it up. Therefore a numbering is automatically added. In my example:
7439659_TBsnearby-3.gpx
7439659_TBsnearby-wpts-3.gpx

If I select "Import GPX" from the app it will find both files seperately...so it does not recognize, that the wpts file is only the waypoints of the other GPX (which c:geo normally detects).
If I select to import 7439659_TBsnearby-3.gpx the wpts GPX is not processed.

I think it is something about the numbering in the filename (in this example -3), because it is working well as long as the numbering is not appended.