Geotagged Flickr Photos

robogeo.com banner

Flickr2Map Documentation

Flickr2Map is a free service that allows Flickr users to link their photos to a variety of different maps. Here's an example.

To use Flickr2Map, you must geotag your photos and then place the appropriate links in the Flickr photo descriptions. These 2 requirements are described below.

Geotagging Flickr Photos

There are 2 ways to geotag photos. One is to use Flickr tags. For example, if a photo is located at a latitude/longitude of 32.12345/-103.987654 and the camera is pointing to the southeast, the tags should be:

geo:lat=32.12345 geo:lon=-103.987654 geo:dir=135

That's all there is to it. If tags of this format are found, Flickr2Map uses them to locate the photos.

If any or all of these tags don't exist, Flickr2Map will try to determine them from the photo's EXIF headers.

The direction tag (geo:dir=angle) is optional. If it exists, the icons in Google Earth and Google Maps will contain an arrow that points in the direction that the picture was taken. Otherwise, standard icons are used. Directions are positive and measured clockwise from true north.

There are advantages to using EXIF instead of Flickr tags. These include:

1. You can include altitude information when viewing in Google Earth.
2. It's significantly faster since the information is cached locally.
3. You won't have to go through the trouble of typing in the tags.

Linking to Flickr2Map

Once your photos are geotagged using either of the above methods, all you have to do is link to the Flickr2Map URL anywhere (description, notes or comments) on the Flickr photo page.

Flickr2Map determines the Flickr photo by looking at the HTTP referring URL - that's why the links must originate on a Flickr photo page. If you want to use the links on other web pages, you must include the Flickr URL as a URL parameter named 'referer'. For example:

http://www.robogeo.com/Flickr2Map?referer=http://www.flickr.com/photos/geoguy/89187192/

Examples

1. Link to Google Earth (the default) and let Flickr automatically generate the HTML link:

www.robogeo.com/Flickr2Map/

2. Link to Google Earth and specify the range (meters above the earth), tilt (degrees relative to vertical), and heading (degrees clockwise from north):

www.robogeo.com/Flickr2Map/?range=500&tilt=45&heading=180

3. Link to Google Earth and provide your own HTML formatting:

<a href="http://www.robogeo.com/Flickr2Map/">Fly to this location</a> (requires Google Earth)

4. Link to Google Maps and default to a street map view:

www.robogeo.com/Flickr2Map/?type=map

5. Link to Google Maps and default to a satellite view with a zoom factor of 11:

www.robogeo.com/Flickr2Map/?type=map&view=satellite&zoom=11

6. Link to Google Maps and default to a hybrid view with a zoom factor of 15:

www.robogeo.com/Flickr2Map/?type=map&view=hybrid&zoom=15

7. Link to Google Maps and default to a terrain view with a zoom factor of 13:

www.robogeo.com/Flickr2Map/?type=map&view=terrain&zoom=13

8. Link to a topo map (only valid in the USA):

www.robogeo.com/Flickr2Map/?type=topo

9. Link to an aeronautical chart (only valid in the USA and Europe):

www.robogeo.com/Flickr2Map/?type=nautical

10. Link as shown in the example (line breaks and white space shown for clarity purposes only):

Map it:
<a href="http://www.robogeo.com/Flickr2Map/">Google Earth</a> |

<a href="http://www.robogeo.com/Flickr2Map/?type=map" target="_blank">Street</a> |

<a href="http://www.robogeo.com/Flickr2Map/?type=map&view=satellite" target="_blank">Satellite</a> |

<a href="http://www.robogeo.com/Flickr2Map/?type=map&view=hybrid" target="_blank">Hybrid</a> |

<a href="http://www.robogeo.com/Flickr2Map/?type=nautical" target="_blank">Nautical</a> |

<a href="http://www.robogeo.com/Flickr2Map/?type=topo" target="_blank">Topo</a>





© 2003-2024 Pretek, Inc.