# Issues with GPX files from Routes

**URL:** <https://community.citystrides.com/t/issues-with-gpx-files-from-routes/22454>\
**Category:** Support\
**Created:** [February 15, 2021, 10:18pm UTC](https://community.citystrides.com/t/issues-with-gpx-files-from-routes/22454 "2021-02-15T22:18:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JamesChevalier](https://community.citystrides.com/user_avatar/community.citystrides.com/jameschevalier/32/2_2.png) [@JamesChevalier](https://community.citystrides.com/u/JamesChevalier)\
**Post date:** [February 15, 2021, 10:18pm UTC](https://community.citystrides.com/t/issues-with-gpx-files-from-routes/22454/1 "2021-02-15T22:18:27Z")

</div>

I released a Route Builder tool just a few minutes ago ( [Updates on February 15, 2021](https://community.citystrides.com/t/updates-on-february-15-2021/22453) ) which includes the ability to download your Routes as GPX files.

😅 I have _absolutely no idea_ if I’ve built this correctly, or if there’s anything else I can include to make the files more useful. Please let me know here. 😄

---

<div class="post-metadata">

**Author:** ![Marty](https://community.citystrides.com/letter_avatar_proxy/v4/letter/m/f0a364/32.png) [@Marty](https://community.citystrides.com/u/Marty)\
**Post date:** [February 16, 2021, 4:06am UTC](https://community.citystrides.com/t/issues-with-gpx-files-from-routes/22454/2 "2021-02-16T04:06:39Z")

</div>

When selecting the **Download GPX** button, it opens XML file in a new tab (at least Chrome does) vs triggering automatic download. Needed to right click button and ‘save as’ to get file saved locally.

My limited understanding of GPX files are they are a type of XML file so I was able to import the XML file into one platform’s [GPX viewer](https://labs.strava.com/gpx-to-route) but it failed in another [visualizer](https://www.gpsvisualizer.com/). I could be choosing non-ideal platforms to test with but those are the first two I thought of. Since the file comes out with an .xml file extension, some platforms may reject it because it doesn’t have .gpx extension.

If anyone has a fancy watch that can import & display maps, would be good to know if the XML file works there.

---

<div class="post-metadata">

**Author:** ![JamesChevalier](https://community.citystrides.com/user_avatar/community.citystrides.com/jameschevalier/32/2_2.png) [@JamesChevalier](https://community.citystrides.com/u/JamesChevalier)\
**Post date:** [February 16, 2021, 3:41pm UTC](https://community.citystrides.com/t/issues-with-gpx-files-from-routes/22454/3 "2021-02-16T15:41:57Z")

</div>

Thanks!! This was all very helpful info, especially those viewer links.

As of [Updates on February 16, 2021](https://community.citystrides.com/t/updates-on-february-16-2021/22460) the GPX downloader _should_ work properly. It’ll actually download a file, with a `.gpx` extension, that can be loaded into those viewers.

Let me know if there’s anything I missed, or any info that could be included/corrected in the GPX file that’ll make it better.

---

<div class="post-metadata">

**Author:** ![Marty](https://community.citystrides.com/letter_avatar_proxy/v4/letter/m/f0a364/32.png) [@Marty](https://community.citystrides.com/u/Marty)\
**Post date:** [February 16, 2021, 4:14pm UTC](https://community.citystrides.com/t/issues-with-gpx-files-from-routes/22454/4 "2021-02-16T16:14:46Z")

</div>

Found another item. When downloading gpx file, the file name is “CityStrides-Route-##”. If there is a custom name saved, probably should be that name. Ex: If I create a route and save it as “Monday run” in CS, I’d expect the export file is ‘Monday Run.gpx’. You may need to do some character restrictions on name field then for internationalization purposes and OS limitations.

If no custom name, then the current behavior would probably be ok. Don’t think most users would know the number in file name is route number in CS db. It’s a better name for file than the UTC timestamp though.

---

<div class="post-metadata">

**Author:** ![JamesChevalier](https://community.citystrides.com/user_avatar/community.citystrides.com/jameschevalier/32/2_2.png) [@JamesChevalier](https://community.citystrides.com/u/JamesChevalier)\
**Post date:** [February 16, 2021, 4:26pm UTC](https://community.citystrides.com/t/issues-with-gpx-files-from-routes/22454/5 "2021-02-16T16:26:31Z")

</div>

> [@Marty](#):
>
> Ex: If I create a route and save it as “Monday run” in CS, I’d expect the export file is ‘Monday Run.gpx’.

Ooh, thanks! 🤦‍♂️  
I’ve fixed that in the exact way you described: use the custom name if it exists, otherwise use the date. I kind of co-opted some code that was meant to clean up text for another reason, but I think it’ll be suitable here as well (it’ll just be a little more aggressive than file systems actually need).

---

<div class="post-metadata">

**Author:** ![JamesChevalier](https://community.citystrides.com/user_avatar/community.citystrides.com/jameschevalier/32/2_2.png) [@JamesChevalier](https://community.citystrides.com/u/JamesChevalier)\
**Post date:** [March 8, 2021, 2:51pm UTC](https://community.citystrides.com/t/issues-with-gpx-files-from-routes/22454/6 "2021-03-08T14:51:47Z")

</div>

A post was split to a new topic: [Ability to upload/sync routes](https://community.citystrides.com/t/ability-to-upload-sync-routes/22615)
