admin
.CK 6:21pm, 13 July 2005
GMiF v2.0

For easy writing and discussion, I will officially name my Ggreasemonkey user script 'GMiF', short for 'Google Maps in Flickr'.

The new version 2.0 is released, and some new features are added.

1. Steeev contributed some codes to achieve adding geotags, comments, description, and posting to geobloggers database at one-click.
2. Link to Google Maps to see current map area.
3. Fly to Google Earth to see current map area.
4. Get nearby photos from Geobloggers' makeXML.cfm
5. A simple but nice bookmark management for favorite places.
6. Geocoded photos are now supported.

Your feedbacks are always welcomed.

Download GMiF 3.5 - webdev.yuan.cc/greasemonkey/flickr.gmap.user.js
asmythie 12 years ago
If I am viewing nearby photos and click to see the bubble for it, it moves the pin for the original photo near the picture I went to view.
admin
.CK 12 years ago
The moving of the pin of original photo is completely safe as long as you didn't click "add geotags". The behavior of single-click is tricky. It is supposed to place a marker, but often stuck with our mouse. But I think it is ok, it won't ruin the geo tags of any photo.
vanpelt 12 years ago
I was just playing with the script. Great work man. Anyway, I can't seem to add the geotag. I get the following javascript error in my console.

Error: ps_photo_id is not defined
Source File: www.flickr.com/photos/vanpelt/24795613/
Line: 542
admin
.CK 12 years ago
Thanks, vanpelt.

The bug is fixed. Please re-install the script.
admin
steeev 12 years ago
Fantastic! this script just gets better and better, brilliant work .CK! :D
admin
.CK 12 years ago
Thanks steeev. Your code is really helpful.
Captain Chickenpants PRO 12 years ago
That is fantastic!. Nice work .ck and steev.
AdaMacey 12 years ago
Could you change the wording of the link it creates in the comments? Currenty it says "Map of Location" but for all of my photos (taken in Australia) there is no map imagery, just satellite photos
admin
.CK
For those early birds who have installed the script, please re-install. Sorry for inconvenience.

GMiF 2.1 was just out. Some minor bugs fixed and features changed as follows.

1. Upgrade to maps.11.js to show Japanese map
2. Change the pin color of nearby photos to blue
3. Non-owner can't place marker

Download v2.1: flickr.yuan.cc/greasemonkey/flickr.gmap.user.js
AdaMacey 12 years ago
"Non-owner can't place marker"

Nor can the owner it appears :)
cowfish 12 years ago
I've submitted a fix to .CK
admin
.CK 12 years ago
'Owner can't place marker' problem is solved. Thanks Cyron & cowfish.
abstrakone 12 years ago
6. Geocoded photos are now supported.

Does this mean if the image has it embeded in the exif data it will use this data to place the marker on the map? I put used WWMX to put the exif gps data into the file and uploaded it. But I dont see a way to pull the lat/long data from the file to be used in your script.
admin
.CK 12 years ago
Hi abstrakone,

I think i know what's going on. My script was going to find the tag 'geocoded' then check the exif data. Now I have omitted that step and directly fetch the exif data. It should be ok now. Could you pls re-install the script and try again?
abstrakone 12 years ago
.CK, works at expected. Thanks!
abstrakone 12 years ago
I say, until they getting things straightened over at geobloggers regarding exif gps data being parsed and used automagically, this is most likely the best way to go to get geocoded images into geoblogger to be viewer in google earth and google maps.
AdaMacey 12 years ago
'Owner can't place marker' problem is solved

Thank you very much.
admin
.CK
GMiF v2.2

Dear all,

GMiF v2.2 is released.

I've added an option dialog box to GMiF to save some user preferences. Currently we have the following preferences:

1. Customized description/comment template.
2. Default map type: Map or Satellite.
3. Enable/disable japandatumhacks.

In the custom description/comment template, you can use two MACROs: {FLYTO_KML} and {GMAP_URL}. {FLYTO_KML} will be replaced to the KML URL for google earth, and {GMAP_URL} is the permant URL to the location in google
maps.

e.g. my custom description is
See this photo at www.geobloggers.com. Fly to
the location on {FLYTO_KML}, or see the location at
{GMAP_URL}.

Download GMiF 2.2 - flickr.yuan.cc/greasemonkey/flickr.gmap.user.js
RobRoyAus PRO 12 years ago
GMiF is the best thing since ... well since the last great step forward in geoblogging.

I particularly love the RoboGeoTagger feature.

Well done, and thank you.
admin
.CK
Hi RobRoyAus,

So fast response, 20 secondes after my posting.
Furthermore, the RoboGeoTagger feature is credited to Steeev. He is of great skill at GM/javascript.

Thanks.
admin
.CK
I just noticed that, on the same day I released GMiF 2.2, the Mandatory Greasemonkey Update came up. The major feature of 'options' added in v2.2 is exactly based on GM* APIs of greasemonkey. Furthermore, in the previous version, the adding of geotags, description, and comments are also calling the GM* API. So, if you are using my script and have installed the latest GM 0.3.5, GMiF will fail to function.

Security is the most important issue. Please do remember to update your greasemonkey to 0.3.5. I believe the problem will be solved soon.
earthhopper 12 years ago
Oops, that's too bad for you...
absoblogginlutely 12 years ago
thanks for the explanation ck - i installed it a couple of days ago and it wasn't working now (after the update). I'm really looking forward to this as i'm already missing this script.
admin
.CK
ok, this is a very quick patch of GMiF on the GM 0.3.5. I avoid to use GM APIs and get it back to work.

If you are interested in it, please download it at flickr.yuan.cc/greasemonkey/flickr.gmap_v2.2.1.user.js

Some functionalities still can't work.

1. post to geobloggers
2. add comments

Have a try.
earthhopper 12 years ago
.CK,
This works pretty well. Thanks!
Sam Judson PRO 12 years ago
cool! been waiting for this (or for a fixed greasemonkey!)
alephnaught PRO 12 years ago
I've only just got into this script. Great work, .CK!
EDIT: Fixed. Thanks for all the hard work, looking forward to V.2.3
admin
.CK
If you downloaded GMiF v2.2.1 for greasemonkey 0.3.5, you will probably experiencing a very slow response after you added 3 or 4 favorite places. It is caused by a misuse of cookie.

Please re-install v2.2.1 and then click 'Del All' button. I am sorry for inconvenience.

flickr.yuan.cc/greasemonkey/flickr.gmap_v2.2.1.user.js
I've installed the V2.2.1 but I'm not seeing a GMiF button or anything else new on any of my geotagged images. I've quit and restarted Firefox (latest PC ver.). Is there someting else I can do? I'm sure I'm missing something obvious.
admin
.CK 12 years ago
Really? Mine works just fine. Is there anyone running my GMiF v2.2.1 successfully?

Could you please open the Javascript console before you load a flickr photo page? And see if there's any error message?

I appreciate your help.
cowfish 12 years ago
I just installed the latest version, and it works fine for me (as in it brings up the GMap button and lets me tag stuff). I didn't have any saved locations/etc though...
neilbruder PRO 12 years ago
Okay, I'm getting the following errors.


Error: GM_xmlhttpRequest has no properties
Source File: www.flickr.com/photos/neil_b/
Line: 571

Error: GM_xmlhttpRequest is not a function
Source File: www.flickr.com/photos/neil_b/26716571/
Line: 576
admin
.CK
Hi neil,

Thanks for checking the error msg for me.

I've removed the GM_xmlhttpRequest in the latest version to get compatible with GM 0.3.5. I believe you are still running the old version of GMiF. Could you please re-install the GMiF v2.2.1 and try again?

Download: flickr.yuan.cc/greasemonkey/flickr.gmap_v2.2.1.user.js
stechico PRO 12 years ago
How about having the latest script on the ABOUT GROUP description. Should be a bit easier to follow with that. Just my $0.02.

Anyways, keep up the great work!
neilbruder PRO 12 years ago
Thanks, it's working great now.
NÜRNBERGER_BRATWURST [deleted] 12 years ago
I have a problem with two functions:

- the "nearby photos"-button isn´t working (it always shows: "Getting nearby photos from Geobloggers......" endlessy)
- when I click on the "Post to Geobloggers" link the same game will start. I have to wait but nothing changes. No success. I have to click the link in the comment to register the images at geobloggers.com.

What´s wrong?
admin
.CK 12 years ago
no, they are not working.

As we discussed earlier in this thread, the current version of GMiF isn't fully functional because of the greasemonkey security problem.

For now, GMiF have the following disabilities:

1. post to geobloggers
2. add comments
3. get nearby photos

I hope this is only a temporary status and we are still expecting the new greasemonkey release that can solve the problem.
NÜRNBERGER_BRATWURST [deleted] 12 years ago
upps...sorry...next time I will read all of the posts before I press the button ;-)
admin
.CK 12 years ago
Never mind, darkrob. This thread is too long actually. :)
I love it. It doesn't seem to be saving my custom text or saved locations between uses, though. Otherwise, I don't even know how I would improve on it.
___
<a href="http://www.geobloggers.com">Geotagged</a> - {GMAP_URL} - {FLYTO_KML}
admin
.CK 12 years ago
hi fo.ol,

Thanks for compliments.

Since the greasemonkey 0.3.5 remove GM APIs for security reason, GMiF use cookie to save preferences instead. Does your browser enable cookies?
Cookies are enabled, and I have the latest GreaseMonkey and FireFox...

Now it seems to be saving locations, but reducing the sig to "___" , are line breaks bad?
a.phasia 12 years ago
Is there any way to add the same geotags to a batch of photos?
admin
.CK Posted 12 years ago. Edited by .CK (admin) 12 years ago
It's an interesting idea. Have you ever tried my another project - Super Batch Processing?

Batch operation needs to create a list of photos first. I am thinking to integrate GMiF and Super Batch in a way.
a.phasia 12 years ago
I've installed that now, it's rather useful, I can easily copy the geotags between images on flickr, but can't work out how to register them all on geobloggers.com easily.. I am terribly new to this so may be missing something rather obvious though.
mcclouds 12 years ago
This is awesome!!! Great job!!
admin
.CK 12 years ago
Thank you, mjparnell.

If you have any comment or question, please visit the latest version of GMiF thread.

www.flickr.com/groups/geotagging/discuss/115986/
earthsound 11 years ago
should point ppl to the latest versions:

webdev.yuan.cc/gmif/

GMiF 3.x

:)
imnewtryme 11 years ago
this is most excellent, i used steev's before, but this is quite an extravagant upgrade.
props to you both.
admin
.CK 11 years ago
I lock this thread because a new version GMiF 4.0 is out. Any suggestions and comments, please visit GMiF v4.0 - Powered by Google Maps API v2.0
Groups Beta