Geograph and ArcGIS

Published: 27 July 2008
ArcGISExternal link is a widely used Geographical Information SystemExternal link, particularly in schools and universities. This article assumes you have access to ArcGIS and are familiar with the basics of viewing and editing data.

Geograph is an excellent source of field images for geography and environmental science research of all kinds, and it can be useful to have a "spatial index" of relevant photographs, i.e. a clickable map of their locations, to display in relation to other datasets being used for the research.

This article details a procedure for taking the output of a Search and converting it into a piece of GIS data, allowing the point locations to be shown within ArcGIS. The points can be displayed as clickable items linking to each photograph's page on the Geograph website. There are also Layer files containing the symbology information (in this zip fileExternal link).

Note that to obtain the raw data (image locations and other information within a single file) for this process, you must contact Geograph for access.


Procedure

Within Geograph

1) Identify the desired images via a Search. Remember that you can create custom sets of images using the Mark function on any individual image page, or on a search results page if you have viewed them as "full text + links" or "thumbnails + links". Once you have one or more marked images you can turn them into search results from the "view as search results" link towards the bottom of the Search or Search Results page. The important piece of information is the "i" number in the URL of your search results (e.g. Link )

2) Download your search results as a CSV (comma separated variable) file. General instructions for downloading are available - you should use the following parameters in addition to the search number and your authorisation key:

&en=1&ri=1&taken=1&ppos=1&dir=1&headers=lower&coords=1

These will cause the resulting CSV to contain these columns:


Within ArcMap:

1) Go to Tools > Add XY Data and choose to bring in the saved CSV file.
This creates a temporary "Event" layer, which cannot yet be edited. It shows the location of the subject of each photograph found in your Search.

2) To make the temporary data permanent and editable, right-click on it in the Table of Contents and choose Data > Export. Here you can save it as a Shapefile or within a Geodatabase, as you prefer. Add the saved data to the map and remove the Event layer.

3) Open the data's Attribute Table and choose Options > Add Field. Use the parameters:
4) Open an Editing Session and use the Field Calculator to make the new URL field equal (including quotes and brackets):
Then close the Editing Session (saving the changes).

5) Symbolise the dataset as you wish.

6) Open the layer's Properties and on the Display tab tick the "Support Hyperlinks" box and choose to use the URL field you created. Select the URL option below to tell ArcMap that the field contains a web address.

You will now find that on the Tools toolbar the Hyperlink tool (lightning flash) can be selected. With this active, all clickable objects are shown with blue dots, and clicking on one will open a web browser at the relevant page. (You do have to be rather precise when pointing the lightning flash cursor at the dot on the map!) You can also Label the points (Properties > Labels tab), e.g. using the name field.


Optional extension

You may well find that your dataset does not have any images with a missing photographer location or view direction, and/or the images are all at the same level of precision, in which case the above procedure is all you need. Below are further processing and symbology instructions for dealing with these cases.


To prepare the photo locations for more sophisticated display, you can do the following:
This assumes that the photographer position is more desirable to show, with the subject position being used if the photographer's position is not available. Which one has been used is noted in the disp_type field. The resulting dataset can now be symbolised as follows:

1) Symbolise by Categories on the disp_type field.
From the Advanced button at bottom right, choose Rotation and use the dir field with rotation type Geographic.

You can import appropriate symbology from the ViewDirection Layer file in the zip fileExternal link, although you will still have to set up the rotation yourself.

(*)Some arrows and triangles (e.g. to represent a view cone) can be found by selecting a Character Marker Symbol and then the ESRI Dimensioning font.


2) Load another copy of the dataset and symbolise by Categories on the disp_figs field. Use a simple circle symbol and change the colour to represent different degrees of precision. You can import appropriate symbology from this GridRefPrecision Layer file in the zip fileExternal link.

3) Enable both these layers to see a coloured dot with an arrow showing the view direction, pointing either to or from the location depending on whether it is for photographer or subject.


Example output

Here are two images of the output; one shows the variety of symbols used, the other shows hyperlinking in action. The background map is available to all ArcGIS 9.2 users and is accessed live rather than being held locally on disk. It can be found under GIS Servers > v92 on services.arcgisonline.com > ESRI_StreetMap_World_2D.


Large versionExternal link


Large versionExternal link

Feedback

If you encounter any problems or have other feedback, please send me a message via my profile.
Creative Commons Licence [Some Rights Reserved]   Text © Copyright July 2008, Katy Walters; licensed for reuse under a Creative Commons Licence.
With contributions by Barry Hunter and Barry Hunter. (details)
You are not logged in login | register