Crater Lake National Park

NPMap

Digital maps for the National Park Service

Using SPOT with NPMap

SPOT Satellite GPS Messenger devices can be used in the field to track individuals in real-time. Many NPS parks use SPOT devices to track employees, partners, and cooperators while in the field to ensure their safety.

If enabled, SPOT accounts can be configured to publish a XML feed of locations for one or more SPOT devices. Note that at this time SPOT XML feeds are completely open to the public, so they should not be created if you don't want members of the public viewing the contents of the feed.

NPMap supports mapping SPOT XML feeds via the XML layer handler. This layer handler is new to version 1.0.0 of the NPMap library.

This brief tutorial will walk you through getting a SPOT XML feed up and running.

Publish a SPOT XML feed

  1. Go to the SPOT website and click "My Account" (note that you must activate your SPOT device on the website before you can publish your XML feed)
  2. Login using your SPOT account
  3. Click on the "Share" tab at the top of the page
  4. Click on "Create Shared Page"
  5. Fill out the form and click "Create"
  6. A new browser tab/window will open up
  7. Copy everything after ?glid= from the address bar of the web page

Creating a web map

Now that you have a public SPOT XML feed, you can create a NPMap web map to display the contents of the XML feed on a map.

Take a look at the SPOT example for a working code example that shows how to get a SPOT XML feed into a web map using the Xml layer handler. To use the example, take the value that you copied out of the browser address bar in step 7 and paste it into the text box at the top of the page and hit "Build Map."