In past blog posts we covered adding geotagged photos using the Add Photo task available under tasks at the ArcGIS Explorer Resource Center. This task reads the coordinate information that is embedded into the header of the image, and uses that to place it at the appropriate location.

But if you don't have a camera that geotags photos, but you do have a regular camera and a GPS device, here are a couple of ways for you to accomplish the same thing.

We found a USGS dust collector while out hiking the other weekend. It's an odd-looking device made from an angel-food cake mold, wire mesh, and marbles. We're not kidding - you can check out the USGS link which describes the device in more detail.

We took a photo of it, and recorded the following GPS location (not the actual location):

Longitude: 115°16'43"W
Latitude: 35°3'14"N

We used Go to Location, found under Tools:

And entered the coordinates

 

And then chose Create Result. Here's the result on our map, and note the coordinates displayed in the hover text and the popup window and title.

We can place the photo at this location by editing the popup window properties and adding the path to the photo. To edit the popup properties right click the pushpin (or right click the result) and choose properties top make the edits. Here we've added the full path to the photo.

Now when we click the pushpin we see the photo displayed in the popup window.

 

So that's an easy way to add a couple of photos at a precise location. But if we wanted to add many photos at once we can create a file with the information and import it, and here's how...

In this example we've created a text file using Notepad, but could also have created the file by exporting data from a spreadsheet or database. ArcGIS Explorer supports both text and .csv files for import, as well as GPX - a standard that most GPS devices support. Here's what our text file looks like:

In our text file we're using the first line for field names and using commas to separate all information. In this example we're only adding a single line with GPS coordinates and photo information, but obviously we could add (or export from a spreadsheet) as many lines as we want.

Now we can import the text file using Tools > Import File

Navigate to the file to select it

and from here the Import Text File Wizard guides us. In the first wizard dialog (shown below) the defaults are exactly what we want - comma delimited, and first line contains field names. Note the preview window at the bottom which provides a visual as to how the file is being parsed. If things don't look as expected there we can try other options or double-check the file for formatting.

Clicking Next above, we reach this second dialog shown below:

In the circled area at the top we see that because we used "latitude" and "longitude" for our field names they've automatically been picked up by Explorer.

In the lower circled area we've made some selections. We chose the Name field as the title (which displays in the hover text and the popup window title) and the field named Photo for the description. The description is what is displayed inside the popup window, so since we used the pathname to the photograph it will automatically show when clicked.