Wolfram Language

Open live version

Track a GPS-Equipped Wolf

Make a webpage that shows an up-to-date track of a wolf with a GPS tracking device.


code

X

how it works

This pulls GPS data from a website:

In[1]:=
X
Out[1]=

Use Part to select only the tracked points from the data:

In[2]:=
X

The data is a long GeoPosition list of {latitude, longitude, height} points:

In[3]:=
X
Out[3]=

This plots the GPS data on a background of local terrain. Note the use of Ctrl+= to enter natural language units:

In[4]:=
X
Out[4]=

This variation plots the wolfs movements as a line:

In[5]:=
X
Out[5]=

Deploy the map to the cloud as a jpeg image:

In[6]:=
X

You can produce other visualizations from the raw data, for example, of altitude changes along the wolfs path and distance traveled over time. Use GeoElevationData to get the altitude in meters and ListLinePlot to plot it.

In[7]:=
X
Out[7]=

Plot the distance traveled using GeoDistance, in miles:

In[8]:=
X
Out[8]=