merlos / iOS-Open-GPX-Tracker

GPS Tracker app for iOS + WatchOS. Log your tracks without limits and share them; Open source GPX tracker app written in Swift
http://www.merlos.org/iOS-Open-GPX-Tracker/
GNU General Public License v3.0
597 stars 147 forks source link

Wish: Add ability to import GPX file via URL #65

Open pwagland opened 5 years ago

pwagland commented 5 years ago

If I am on my desktop, then I can easily download a GPX file, and get in some fashion or another to be able to be read by GPX reader, however, when on vacation, I sometimes only have my iOS devices, and downloading a URL is not always easy or even possible for me. It would be great if I could just paste a URL, and get GPX Reader to open a GPX file from that location.

merlos commented 5 years ago

Hi @pwagland.

Thanks for your message.

In last version (1.5) that feature was partially added. If you open a GPX file from Safari, it will prompt you to open Open GPX Tracker. It will save to the gpx file to your GPX folder, but you have to open it manually (touch on the top left folder icon, and the first file in the list is the one you imported).

For example browse to https://www.mapbox.com/help/define-gpx/ scroll down and click on the Download a sample GPX file button. img_2544 img_2545

So, import is already done, buy confusing because the app does not provide any feedback to the user. Ideally, the file should be automatically opened after import.

Thanks for your comment. Best, Juan.

pwagland commented 5 years ago

Right, for me it just shows the text of that sample route, it doesn’t show the icon of the application. I have seen elsewhere that this isn’t 100% reliable, so maybe it’s jyst the version of software that I have, I’m running iOS 12.1.2, and open GPX 1.5.0.

merlos commented 5 years ago

Thanks @pwagland

Have you tried to delete the app and install it again?

Before deleting the app, you can back your GPX files up with iTunes (https://github.com/merlos/iOS-Open-GPX-Tracker/issues/37).

pwagland commented 5 years ago

Yes, even after a delete and re-install I have the same issue. I can open files from the file browser, just not from Safari.

vincentneo commented 5 years ago

I remembered that the website itself will have the control on whether to download or open in a browser. Some gets displayed as a website, some gets displayed as a document(if it downloads on desktop). Reinstalls won't work.

For example, the sample from Garmin http://developer.garmin.com/garmin-connect-api/sample-data/ does not get downloaded even from a desktop, but another sample GPX file from MapBox https://www.mapbox.com/help/glossary/gpx/ downloads fine from both devices.

merlos commented 5 years ago

Thanks @pwagland and @vincentneo

It´s weird. In my case, in both links shared by @vincentneo, Safari prompts me to open Open GPX tracker app.

I used Safari in an iPhone with iOS 12.1.2 (16C101) and in an iPad with 12.0.1 (16A404)...

vincentneo commented 5 years ago

Interesting. I tested with an iPhone on iOS 12.0 (16A366) and Mac on High Sierra 10.13.6 both shows the raw stuff. (for the garmin one)

wallstudios commented 5 years ago

Was have a similar issue where I modified a gpx file to merge a couple of trails. I then exported using Basecamp. The file would not load or show in the list. Turned out it was an issue with the case of the extension.

Basecamp exported it and saved as .GPX (uppercase) and when I changed to lowercase (.gpx) and then airdropped again it would load.