# Difficulties with Map Thing and Unfolding (show GPX)

**URL:** <https://discourse.processing.org/t/difficulties-with-map-thing-and-unfolding-show-gpx/44188>\
**Category:** Project Guidance\
**Created:** [March 31, 2024, 7:15am UTC](https://discourse.processing.org/t/difficulties-with-map-thing-and-unfolding-show-gpx/44188 "2024-03-31T07:15:15Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [June 15, 2024, 12:48pm UTC](https://discourse.processing.org/t/difficulties-with-map-thing-and-unfolding-show-gpx/44188/5 "2024-06-15T12:48:20Z")

</div>

> [@Chrisir](#):
>
> Can someone show how to load and show an gpx file here?

Unfolding has a GPXReader with very basic functionality.

Example:

> [@Give some examples (Unfolding library)](https://discourse.processing.org/t/give-some-examples-unfolding-0-9-6-library-for-javafx/44362/5):
>
> Hello @Ciosiek , This example uses Processing 4.3 library and Unfolding 0.9.92 library and worked in Visual Studio Code 1.88.1: import processing.core.\*; import java.util.List; import de.fhpotsdam.unfolding.UnfoldingMap; import de.fhpotsdam.unfolding.data.Feature; //import de.fhpotsdam.unfolding.geo.Location; import de.fhpotsdam.unfolding.marker.Marker; import de.fhpotsdam.unfolding.utils.MapUtils; import de.fhpotsdam.unfolding.data.GPXReader; //GPX Reader public class App extends PApplet {…

I was also able to write my own custom code from the _GPXReader_ source example and custom parse the JSON files which gave me much more flexibility.

You can also load the GPX files with _loadStrings()_ and parse these for the data you want and plot the tracks.

Reference:  
_[unfolding/src/de/fhpotsdam/unfolding/data/GPXReader.java at master · tillnagel/unfolding · GitHub](https://github.com/tillnagel/unfolding/blob/master/src/de/fhpotsdam/unfolding/data/GPXReader.java)_

> [@Give some examples (Unfolding library)](https://discourse.processing.org/t/give-some-examples-unfolding-library/44362/7):
>
> There is an updated link to Unfolding 0.9.92 here: These worked for me in Processing 4.3 and in Java code (modified for VS Code). slight_smile

`:)`

---

_[View the full topic](https://discourse.processing.org/t/difficulties-with-map-thing-and-unfolding-show-gpx/44188)._
