GeoTagging Flickr / Discuss

Current Discussion

GPS loggers: recommendations and regrets
Latest: 3 days ago
Please teach me how to geo tag
Latest: 3 days ago
GPS Data
Latest: 8 days ago
i created an online geo tagging tool
Latest: 2 weeks ago
Issues with EXIF GPS Stats from Panasonic Lumix DMC-TZ20 'geotagged' pics...
Latest: 3 weeks ago
Copying EXIF data to Merged files
Latest: 5 weeks ago
Geopic II & D800
Latest: 5 weeks ago
Importing Geotags Manually
Latest: 5 weeks ago
new group Geotagged Local Maps
Latest: 2 months ago
Maps/geotagging
Latest: 2 months ago
how to update already uploaded photos to reveal geotag data stored in exif
Latest: 2 months ago
flickr map not accurate
Latest: 3 months ago
More...

Search this group's discussions

GeoTagging via Google Earth - GreaseMonkey script - **Updated** 19th August 2010 to work with new photo page

view profile

steeev is a group administrator steeev says:

I finally got round to writing some code that lets you GeoTag your Flickr images via Google Earth, if you want to try it out, heres the instructions on how to do it.

◢◣◢◣◢◣◢◣◢◣
Requirements:
◥◤◥◤◥◤◥◤◥◤

* Google Earth (An amazingly cool free program that displays the whole world via satellite imagery and lets you zoom right in and fly all round the world)

* Firefox Web Browser ( you need to enable cookies and you also need to set Firefox as the default web browser in the Firefox Tools/options/general menu )

* GreaseMonkey Firefox Extension

* A Flickr.com account with some publically viewable uploaded photos in it (the process doesnt work with private photos).

* You will also need the following script: GeoTagging Flickr via Google Earth GreaseMonkey Script

◢◣◢◣◢◣◢◣◢◣◢◣
Setup Instructions:
◥◤◥◤◥◤◥◤◥◤◥◤

1) In order for this script to work properly, you first need to install Google Earth Once installed you need to go into the Tools/Options/General/Display menu section and make sure the box that says "Show web results in external browser" is ticked.

2) If you are running any of my other GeoTagging GM scripts ( i.e "geotag.flickr.streetmapuk" or "geotag.flickr.multimap" ) and wish to try this script out, you should disable them in the Tools/Manage User Scripts window. If you wish to go back to using one of the other GM scripts at some point, you need to disable this one, then re-enable the previously disabled script.

3) Open Google Earth, then goto the Places window on the left, right click "My Places" and then select "New Network Link" For the name enter "Flick'rin GeoTagger" and For the location enter the following URL:
http://steeev.site50.net/flickr/gearth.php?user=[Put Your Flickr Username Here]

eg if you were me you would use the following URL: http://steeev.site50.net/flickr/gearth.php?user=steeev

4) Set the "View Based Refresh" value to "On Request" Leave all the other options in the default settings then click OK.

5) Now Install this GreaseMonkey script (click the link and select "install user script") and you will now have a new link on your Flickr photo pages and batch edit pages called "Add to Map via G.E".

◢◣◢◣◢◣◢◣◢◣◢◣
Usage Instructions:
◥◤◥◤◥◤◥◤◥◤◥◤

1) To geotag a single photo: click the "Add GeoTags" link on the photo page. To geotag a batch of photos, select the batch in the Organizer, then select the "Location" menu, then select the "geotag with google earth" menu item. An input box will then be displayed. Enter the address of where the photo/s were taken, then click submit.

2) You will then be sent a KML file which you need to open in Google Earth. FireFox should automatically popup a window asking what to do with the KML file, and the default option will be to open it in Google Earth. (Tip: If you click the checkbox to always open KML files with Google Earth, you wont need to worry about this step again)

3) Once you have opened the KML file, if Google Earth has found the address you entered, it will display a marker showing the approximate location of the area you wish to GeoTag. If Google Earth did not find the address you entered, you can try a new address search using Google Earth's search box, until you find the place, or alternatively you can just find the location by rotating and zooming the globe.

4) You now need to move to the exact spot you wish to GeoTag, once you have identified the right location, you should zoom right in on it, so its right at the center of the screeen. You should also ensure that your view point is not tilted, you can do this by clicking the "reset tilt" button.

5) Now right click on the "Flick'rin GeoTagger" network link in the Places window and select "Refresh". A new placemarker will now be displayed at the point you just specified, click the placemarkers icon, and it will pop up a HTML window, now simply click the "Add GeoTags" link and the geotags will be added to your image/s.

N.B (the last step (6) is optional and isnt currently working, so you can ignore this bit)
6) If you are geotagging a single image, you can then either add the "GeoTagged" link to the description or if you prefer, as a comment. So just click the appropriate button. You can also add a link to "Fly to that location in Google Earth" See RobRoyAus's post on the subject for more info. The GeoTagged link when clicked will take the viewer to that location on the map.

Screenshot of the process in action in Paris:


Originally posted at 7:01PM, 26 July 2005 PDT (permalink)
steeev edited this topic 22 months ago.

view photostream

Nicolas Hoizey  Pro User  says:

"2) If you are running any of my other GeoTagging GM scripts, and wish to try this script out, you should disable them in the Tools/Manage User Scripts window. If you wish to go back to using the other GM script/s at some point, you need to disable or uninstall this one, then re-enable the previously disabled scripts."

This is impossible to do! I have more than 20 scripts, and I can't remember which are yours.

Isn't there any way to let them all activated?
Posted 83 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

Sorry everyone, i should have been more clear about that. The scripts that run on the actual mapping sites themselves dont need to be deactivated, just the ones that run on the flickr photo page/batch page. I can give you a list of the actual scripts that this new one might conflict with:

1) "geotag.flickr.streetmapuk" ( geotagging with streetmap.co.uk )
2) "geotag.flickr.multimap" ( geotagging with multimap.com )

I will add this list to the instructions above, thanks for pointing out the problem nicolas.

BTW Integrating all my geotagging scripts that add the "Add GeoTags" link on to flickr pages and letting the user somehow select which of the mapping services they wish to use via some kind of options menu is on my todo list :) I should also probably come up with a better script naming system :)
Originally posted 83 months ago. (permalink)
steeev edited this topic 38 months ago.

view photostream

EnKayTee  Pro User  says:

Thanks for these great scripts, but I'm gettting an XML error when trying to refresh in Google Earth when it's trying to 'fetch' the Network Link...it's failing with a parser exception on line 1...the link is steeev.f2o.org/flickr/gearth.php?user=enkaytee

any thoughts...?
Posted 83 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

@enkaytee, that could be a cookies issue...

have you got cookies enabled? you might also need to enable them for third party sites.

you also need to set FireFox as the default web browser,

heres how to do it from the firefox help page:
---------------------------
On Windows, you can set Firefox as the default browser by going to Tools/Options/General and clicking the check box under Default Browser. This will ensure Firefox is used whenever an application is trying to display a web page or when you double-click a HTML file.
--------------------------

i will update the instructions to feature this info, cheers.
Posted 83 months ago. (permalink)

view photostream

Captain Chickenpants  Pro User  says:

Hmm doesn't work for me either. I get the same error as EnKayTee.

I wondered if it was because my username has a space in it so I tried replacing the space with %20 and als tried surrounding my name with quotes.

Firefox is my default and I have got cookies enabled.

CC
Posted 83 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

very weird, has anyone actually managed to get this working, or is it just me?

i will check my server logs to see if i can get any clues as to whats going on.
Posted 83 months ago. (permalink)

view photostream

Captain Chickenpants  Pro User  says:

If you want someone to try and contact it I am online at the moment.
MSN Messenger at ******removed for my own safety :-)****
Posted 83 months ago. (permalink)

view photostream

EnKayTee  Pro User  says:

Yep...cookies enabled for me. I'm using RobRoyAus's FlickrFly script which is working fine for me at the moment...
Posted 83 months ago. (permalink)

view photostream

.CK is a group administrator .CK says:

steeev, I fetch "http://steeev.f2o.org/flickr/gearth.php?user=steeev" , and got this...


Notice: Undefined variable: BBOX in

Error message truncated by Steeev for security reasons.
Posted 83 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

ok many thanks to enkaytee and captain chickenpants for helping me to troubleshoot this problem.

basically, i had written step number 4 wrong, you actually need to set the "View Based Refresh" value to "On Request"

DOH! the reason it was working for me was because i had the correct setting, but by mistake i had told everyone else the wrong setting.

hope that fixes things for everyone...
EnKayTee and .CK can you try the process out again with the new setting? i think the problem should be fixed now.

cheers.

Steeev
Posted 83 months ago. (permalink)

view photostream

EnKayTee  Pro User  says:

Ahhh...thanks Steeev...ignore my last e-mail...all is well now...!
Posted 83 months ago. (permalink)

view photostream

EnKayTee  Pro User  says:

Errmm..sorry Steeev, I'm now getting a bit further, but when I click on the 'add geotags' link from the placeholder in Google Earth I'm getting the following message:

Error: You either need to update to the latest GreaseMonkey scripts or you havent followed the geotagging procedure correctly (i.e you have to start at your flickr image, then click the "add geotags" link, then follow the instructions you are given from there :)


I'm running the very latest GreaseMonkey extension (0.3.5) and downloaded your script from the link above...

Sorry!
Posted 83 months ago. (permalink)

view photostream

EnKayTee  Pro User  says:

OK I think I've sussed it...in Google Earth, make sure that in Tools - Options - Preferences, the 'Show web results in external brower' check box is ticked, otherwise it will try to load in the Google Earth web interface and fail with the message in my last posting...
Posted 83 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

thanks for the tip enkaytee, i will add it to the instructions, cheers!
Posted 83 months ago. (permalink)

view photostream

Vikingo's Pub says:

Steeev, when I click in "Add Geotag" link, nothing happens. Well, the page refresh to the same photo, but there isn't an input box displayed, nor nothing similar to it. Do you know what can be the problem?
Posted 74 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

none of my geotagging scripts are working at the moment, sorry.

UPDATE - 31/8/2006: strangely enough, this script has started working again, all of a sudden, the hosting folk must have changed a setting on the server :)
Originally posted 74 months ago. (permalink)
steeev edited this topic 70 months ago.

view photostream

Vikingo's Pub says:

So, in your opinion, what is the best way to geotag a flickr photo?
Posted 74 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

@vikingo's Pub: try GMIF 4 by CK:
flickr.com/groups/topic/72057594123393303/
Posted 74 months ago. (permalink)

view photostream

Vikingo's Pub says:

And, do you have a preference on how to do it offline (i.e. in your computer photos files)? I recently discover Itag, but I don't know any much of this.
Posted 74 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

no, i dont geotag offline, so cant help you with that, but theres a tool called wmmx stamper that might be of use to you, you can find more info about it in this groups description.
Posted 74 months ago. (permalink)

view photostream

yeled  Pro User  says:

i can't get this to even bring up a place for me to enter a location! could this be a Firefox 2 thing? The page just reloads..

i get this error in the console:

Error: displaylocationfield is not defined
Source File: flickr.com/photos/yeled/296240052/in/photostream/
Line: 1

using:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
greasemonkey version 0.6.6.20061017.0
Posted 67 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

i havent tried the script with ff2.0 or gm 0.6.6
but i dont think that should be a problem, its more likely to be a clash of scripts. try disabling other scripts that are also affecting the page 1 by 1 to see which one its clashing with.

BTW One thing to be aware of when using this script is, sometimes the "add link to description" step doesnt work properly, so if you see the textboxes for image title and description are blank, dont click the add link to description button, as it will erase the images title and description, this step isnt really necessary anyway, as at that point, the geotags will have been added to the image already.
Originally posted 67 months ago. (permalink)
steeev edited this topic 67 months ago.

view photostream

yeled  Pro User  says:

I had actually already disabled all scripts, and that is the test-case I was talking about.

Thanks though, I will try with FF 1.5 and see if I have any luck.
Posted 67 months ago. (permalink)

view photostream

yeled  Pro User  says:

i'm now trying on win32 with 1.5 and 0.6.5, and no love - but google earth now says:

Fetch of NetworkLink "Flickr'in GeoTagger" failed (http://steeev.f2o.org/flickr/gearth.php?user=yeled): File has missing or bad root element
Do you want to stop fetching, continue, or ignore fetch errors?

again - all other scripts disabled.
Posted 67 months ago. (permalink)

view photostream

yeled  Pro User  says:

perhaps this is a hosting issue again.
Posted 67 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

yeled wrote:

i'm now trying on win32 with 1.5 and 0.6.5, and no love
so are you telling you are now getting the input box for entering the location, as you didnt make that clear.

BTW rather than creating a new post for each revelation, you could always use the "edit" link beneath your post, to make updates :)
Originally posted 67 months ago. (permalink)
steeev edited this topic 67 months ago.

view photostream

yeled  Pro User  says:

sorry, trying to create less confusion, and here i am, fucking it up.

no - on win32 with an older setup, i still just get a page reloading (exactly the same), and the same javascript error.

as does this guy above.
Posted 67 months ago. (permalink)

view photostream

yeled  Pro User  says:

mate i just reinstalled XP on my mac. FF 2.0 latest GM.

I still get this n the console:
Error: displaylocationfield is not defined
Source File: www.flickr.com/photos/yeled/287590844/
Line: 1

is it *meant* to head to the CGI and pull down a file?
Posted 67 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

yeled, i just realised the gm script on my server is an old version, sorry about that, ive just uploaded the latest version, try it now.
Posted 67 months ago. (permalink)

view photostream

yeled  Pro User  says:

hello! we are GO!
thank you steeev.
Posted 67 months ago. (permalink)

view photostream

z_kevino  Pro User  says:

I tried following directions, but still get:
fetch of NetworkLink "Flick'rin GeoTagger" failed (http://steeve.f2o.org/flickr/gearth.php?user=z_kevino):
File has missing or bad root element
Do you want to stop fetching, continue, or ignore fetch errors?

any ideas?
FF ver 2.0.0.1
GM ver 0.6.6.20061017.0
Originally posted 66 months ago. (permalink)
z_kevino edited this topic 66 months ago.

view photostream

steeev is a group administrator steeev says:

i just tried geotagging an image using this script myself, and it worked fine, you may have been experiencing a temporary server glitch.
Originally posted 66 months ago. (permalink)
steeev edited this topic 66 months ago.

view photostream

z_kevino  Pro User  says:

well, I must be unlucky - since the error is repetitive and consistent. any ideas where to start troubleshooting?
could the underscore in my username be causing me issues?


here's the content of the kml file:


Notice: Undefined variable: BBOX in /home/sites/steeev/www/public_html/flickr/gearth.php on line 90

Notice: Undefined offset: 1 in /home/sites/steeev/www/public_html/flickr/gearth.php on line 94

Notice: Undefined offset: 2 in /home/sites/steeev/www/public_html/flickr/gearth.php on line 95

Notice: Undefined offset: 3 in /home/sites/steeev/www/public_html/flickr/gearth.php on line 96

Notice: Undefined offset: 2 in /home/sites/steeev/www/public_html/flickr/gearth.php on line 99

Notice: Undefined offset: 3 in /home/sites/steeev/www/public_html/flickr/gearth.php on line 100

Notice: Undefined offset: 1 in /home/sites/steeev/www/public_html/flickr/gearth.php on line 100

Notice: Undefined offset: 1 in /home/sites/steeev/www/public_html/flickr/gearth.php on line 100
Open me and click the Add GeoTags Link<![CDATA[ steeev.f2o.org/flickr/gearthaddtags.php?latitude=0&lo...,See this location on Windows Live Local ]]>0,0,0
Originally posted 66 months ago. (permalink)
z_kevino edited this topic 65 months ago.

view photostream

listorama  Pro User  says:

I'm new to all this; it sounds exciting. However, I ran into trouble when following the Set-up Instructions because they didn't match what I saw in the Google Earth sidebar. You state:

"3) Open Google Earth, then goto the Places window on the left, right click "My Places" and then select "New Network Link" For the name enter "Flick'rin GeoTagger" and For the location enter the following URL:..."

This wording matches what I saw in Google Earth:
"3) Open Google Earth,
open the sidebar ("View--->Sidebar" on the Google Earth menu),
open the "Places" section of the sidebar,
right click "My Places,"
click on "Add...,"
click on "Network Link" (which displays the "New" window),
in the "Name" field enter "Flick'rin GeoTagger"
in the "Link" field enter the following URL:..."


Step 4 could use some re-wording too. You state:
"Set the "View Based Refresh" value to "On Request" Leave all the other options in the default settings then click OK."

This is a little clearer:
In the lower part of the same window, click on the "Refresh" tab,
go to the section called "View-Based Refresh,"
in the "When" field select the option "On Request"
click on "OK."



Thanks for all the work you've done! I look forward to using this tool.
Posted 53 months ago. (permalink)

view photostream

listorama  Pro User  says:

I followed steps 1-5 of the Set-up Instructions. I have Greasemonkey and the script installed on Firefox 2.0. I disabled the one other script (comment management) I had. But I can't go any farther because I can't find the "Add Geotags" link. There is no such link or tab or anything on my photo page (the page listing all the photo's details), nothing on the batch edit page, and nothing on the map page.

Where does it show up? Is it a link or a tab or something else?
I'm confused. Please help. Thanks.
Posted 53 months ago. (permalink)

view photostream

tommmm  Pro User  says:

Hmm, I installed Greasemonkey but I don't get the option to install the script when I click on your link. Nothing happens at all. I tried going to another Greasemonkey script to test it and it worked fine, but I am unable to install your script. Any idea why? I'm on a mac running Firefox 2.0.0.13, and I just installed the newest Greasemonkey.
Posted 50 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

Ive updated the script, and also had to move the server side code to a new server, so if you want to use this script, you need to reinstall the gm script, and also update the network link. the full instructions have been updated above.

Batch geotagging has also been enabled, you can access the batch geotagging feature by selecting a batch of images in the Organizer, then select the "Location" menu then select "geotag with google earth"
Originally posted 38 months ago. (permalink)
steeev edited this topic 33 months ago.

view photostream

bryansolmeta says:

Googe Earth just adds a new feature, to explore the ocean. That is cool to dive beneath the surface of the ocean. So we would like to make navigation mode of GPS which can fully support to photo on the ship.
Posted 38 months ago. (permalink)

view photostream

Etrusia UK  Pro User  says:

Has this script stopped working for some reason - or is it my incompetence?

When I try to add GeoTags via GE I get an error page saying I should have started from the image (I did) and if I try to refresh the network link it either does nothing or sends me to 0 long / 0 lat.
Posted 34 months ago. (permalink)

view photostream

IrenicRhonda is a group moderator IrenicRhonda  Pro User  says:

Lots of scripts stopped working when FF updated. Many have new version releases now as a result.
Posted 34 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

@etrusia_uk thanks for the report. i havent had access to the server for a while, so couldnt find what was causing the problem. have now patched the server code, to get the basic functionality working again (adding geolocation info to single or batch images via google earth)
Originally posted 33 months ago. (permalink)
steeev edited this topic 33 months ago.

view photostream

opinioneditor98 says:

I put in your new script, but when I hit the refresh button in Google Earth, it throws me to the south Atlantic. What gives?
Posted 31 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

oe98 i just tested the script myself and it worked fine for me (well the adding geo data to pictures part), i do notice that if GE doesnt recognise the address you enter initially on your flickr page, it seems to put the initial placemark somewhere in outer space. for instance when i tried entering "leake street, london" as the address of one of my pics, the placemark returned is somewhere in "outer space" basically i guess that means it doesnt recognise the address, when i typed "leake street, lambeth" which is how GE seems to have the address stored in its database, the initial placemark was located correctly. if g.e doesnt recognise the initial address you enter and returns an obviously incorrect placemark, you just need to refine your search using the "Fly To" search box in the top left of GE, or if you prefer it, the harder way, manually spinning and zooming the globe. once you have the map centered on the correct location, then Refresh the network link.

though if i read you correctly, you are saying, it throws you to the south atlantic when you hit refresh... that is odd... i havent experienced that. it shouldnt change your position, when you hit refresh, it should just put a new placemark at the center of your viewing window.
Originally posted 31 months ago. (permalink)
steeev edited this topic 31 months ago.

view photostream

opinioneditor98 says:

If it helps, I'm using FIrefox 3.5, and it also tells me that when I go to click the add geotag link that I didn't do it right and I should start over (even though I followed all the steps.).
Posted 31 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

can you check the following:

have you got v0.7 of the script installed?
have you got cookies enabled?
if you are browsing via a proxy server or have certain security software installled, they might mess with your cookies. try disabling them temporarily and then trying the script and see if that works.
have you set Firefox as your Operating System's default browser?
have you set GE to use firefox as its external browser?
have you added your username "opinioneditor98" to the end of the network link in GE?
btw what is the exact error message you are getting?
Originally posted 31 months ago. (permalink)
steeev edited this topic 31 months ago.

view photostream

Lost in Japan, by Miguel Michán  Pro User  says:

I have the same problem. The Flick'rin GeoTagger appears in the middle of the ocean and no matter what I do next.
Posted 31 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

ive had to move the server code again, this means the network link has changed to "http://steeev.site50.net/flickr/gearth.php?user="
also the gm script has been updated too. so if you have already installed the script, you need to reinstall it, and you also need to edit the network link in Google Earth

not sure if this will fix the problem mac users seem to be experiencing though
Originally posted 30 months ago. (permalink)
steeev edited this topic 30 months ago.

Would you like to comment?

Sign up for a free account, or sign in (if you're already a member).

RSS 2.0 feedSubscribe to a feed of stuff on this page...</!!> Feed – Subscribe to GeoTagging Flickr discussion threads