Showing posts with label flickr. Show all posts
Showing posts with label flickr. Show all posts

12 Feb 2010

Quakr - done by the big boys

So, some 3 years after we started this here Quakr thing, Google Maps and MS Bing have taken our idea and 'done it'. With their respective street view bubbles and geotagged photos from flickr, Picasa and Panoramio, they have machine managed them into 'place'. Exactly as we imagined all those moons ago, only with bigger resources than we were ever able to muster in our spare time. Perhaps we should have really gone for it and quit our proper jobs and then been bought out by them thar big boys, but perhaps we've had our fun and we should focus on doing something new...

Bing with street images.
Geoblogger talks about Gmap's thing.
Oxford's Carfax Tower with pictures machined into place.

ps - If it doesn't kill you it makes you stronger. And if it kills you you're dead and don't care anyways. So get on with it.

9 Sept 2009

iPhone overtakes on Flickr

The iPhone (IMHO:rubbish) 2MP camera has overtaken all other camera's taking photos on Flickr. Reported here.

Surely it must be time for us quakr-ites to make an iPhone app like taggr that does ones tagging ready for the viewr? Oooh and we should update the viewr so it works and works in the iPhone's safari and oh dear I forgot we don't have any money or time or energy.

Maybe in a months time.

11 Feb 2008

Not a winge, honest

from here.

I've been attempting to use sort with machine tags in the same photos.search api. Seems the sort is working to date level ONLY, even though the original photos are timestamped. I suppose I could attempt to sort inside my application, but ... is this a known bug / is there a workaround?

to reproduce, go to www.flickr.com/services/api/explore/
user id = 85097477@N00
tags = walkhome
sort = date-taken-asc
machine tags = geo:lat=, geo:lon=, geo:dir=
machine tag mode = any
extras = date_taken

first three results:
<photo id="978048548" owner="85097477@N00" secret="ad5dcdb8d5" server="1259" farm="2" title="DSC00289" ispublic="1" isfriend="0" isfamily="0" datetaken="2007-08-01 17:59:32" datetakengranularity="0"/>
<photo id="977179253" owner="85097477@N00" secret="011da408b7" server="1416" farm="2" title="DSC00285" ispublic="1" isfriend="0" isfamily="0" datetaken="2007-08-01 17:57:06" datetakengranularity="0"/>
<photo id="978039486" owner="85097477@N00" secret="df95c760e9" server="1270" farm="2" title="DSC00286" ispublic="1" isfriend="0" isfamily="0" datetaken="2007-08-01 17:58:02" datetakengranularity="0"/>

remove the machine tag bits and the first three results are correctly...
<photo id="978031002" owner="85097477@N00" secret="4a3bd3f881" server="1253" farm="2" title="DSC00283" ispublic="1" isfriend="0" isfamily="0" datetaken="2007-08-01 17:55:29" datetakengranularity="0"/>
<photo id="977176661" owner="85097477@N00" secret="3c646cda47" server="1346" farm="2" title="DSC00284" ispublic="1" isfriend="0" isfamily="0" datetaken="2007-08-01 17:56:24" datetakengranularity="0"/>
<photo id="977179253" owner="85097477@N00" secret="011da408b7" server="1416" farm="2" title="DSC00285" ispublic="1" isfriend="0" isfamily="0" datetaken="2007-08-01 17:57:06" datetakengranularity="0"/>


Meanwhile, I'm sure you've noticed some changes.... http://www.quakr.co.uk got itself a new logo! The Taggr has been updated to match and now has the quakr:zoom tag added. The Viewr is muchosly updated now at alpha 0.40 which must be some kind of milestone. The most recent additions have been a 'World Move' slider which loads into the world view more tiles and images, and a 'play' button which should auto-move the camera across the loaded image set. [due to the above flickr API bug however, it's not quite as perfect as it should be!].

All comments as ever most welcome. There's still a pile of things in our heads which will be rendered into the software in the coming months.

23 Jan 2008

Alpha 0.39 and Fast vs More?

So we've been quietly updating the Viewr in the past months, and have today released the 'World Move' slider to replace the previous 'Camera Info' slider.

Check it out at http://www.quakr.co.uk/viewr. All comments as ever welcome.

Now. In building and releasing this version (and the last three or four to be frank), we've changed the way we GET from Flickr. In the distant past, we asked Flickr for the whole set of geo-located photos in a specific Bounding Box. Simple really. The only trouble was that a whole pile of them (90+%) were *no use* to us as they had no directional tag. So then we extended the Flickr API query to get ONLY the photos which were geo-located AND had some kind of directional tag (geo:dir, ge:head, ge:heading, kml:heading or geo:heading). Fabulous. And FAST. Now we were only getting usable photos and the response was speedy.

But. Then we started thinking about usability and we added support for point. But point isn't a machine tag, so attempting the fast GET wouldn't be sufficient to capture all the newly tagged photos. Hmmm...

So what'd you prefer? 'Fast' or 'More'??? We're obviously considering a solution which would do both, but for now, give us a vote! We're defaulting to the 'More' version.

30 Nov 2007

What's the point of your photos?

Go on! Give your photos a point! It's not hard and it'll make them far more useful and interesting to view.

Currently there are a large number of mapped photos in flickr
- More than 30,320,000 are geotagged... but ...
- 8,215 have a geo:dir
- 3,419 have a ge:head/ge:heading
- 26 have a kml:heading
- 10 have a geo:heading
- 0 have a kml:dir, quakr:compass or exif:GPSImgDirection (at least that's what the searchers tells me)

That's such a huge minority, we decided to make it all easier for you...

As of α0.38, the Quakr Viewr now supports point!

simply add
point=[[north, northnortheast, northeast, eastnortheast, east, eastsoutheast, southeast, southsoutheast, south, southsouthwest, southwest, westsouthwest, west, westnorthwest, northwest, northnorthwest]] or
point=[[n, nne, ne, ene, e, ese, se, sse, s, ssw, sw, wsw, w, wnw, nw, nnw]] or
point=[[0...359]]
and the greasemonkey flickr script will understand and add the link to the Viewr to your Flickr image page and we'll include your images in the generated world.

See http://www.flickr.com/photos/hardbutnot/1534749879/in/set-72157602245100210/
as a simple example from flickr ... and in the viewr here.

Comments as ever welcome...

15 Oct 2007

New alpha times two

Following some R&R for the last month and a half, the Quakr team have once more returned to work! Released today are two updated αlphα's.

Taggr - the tool to help you tag.
> Now supports GEO:ALT and GE:TILT tag.
> A simpler, clearer help and new look and feel.
> Links to the Viewr.

Viewr - the 3d photo view
> Compass on the ground instead of three lines
> Semi transparent images until selection
> No longer standard 'shabbatagging' - more images displayed in first view

All comments as welcome as ever...

10 Jul 2007

Quietly working away

Following a hectic June which included moving house, Glastonbury, some photos and our speaking engagement at the Where 2.0 conference, we've been mostly a bit quiet.

However...
*) Due to popular request we've updated the Taggr application to include the newly updated Google Map satellite imagery.
*) We are currently working "hard" on getting some more functionality into the Viewr.
*) We've done some testing on the relatively newly released Sandy v1.2 and it looks oddly slower, but we'll discuss and sort that soon I suspect.
*) Now that the Flickr Query problem we uncovered has been fixed, the whole Viewr experience is much speedier. We're now able to subset the GEO data we get from Flickr to only include those with the minimum tag set on the first query rather than having to mess with the whole pile ourselves.

7 May 2007

Greasemonkey scripts make Quakr simple

Today, due to popular demand, Quakr launch 2 Greasemonkey extensions for Firefox to make visiting the Quakr World easier.

The flickr script enhances your experience of flickr by inserting a link to Quakr whenever you browse to a geotagged photo.

The Google Maps script allows you to navigate around in Google Maps and then jump straight to that location within Quakr. This means that you can search Google Maps for something like Tower Bridge, London and then click straight through from there to view the same scene in Quakr.

It's really easy to set up. The instructions and scripts are on the Quakr website, and if you are too eager to go and read those, the scripts are here:

Flickr to Quakr

Google Maps to Quakr

We would love to hear your feedback:
* do these scripts do what you want?
* are there any other Greasemonkey scripts you would like written?
* have you written any yourself?
* do you also find it strange that your CV could ever contain a word like 'Greasemonkey' and that it might actually enhance your job prospects?

Have fun.

19 Feb 2007

Flickr API - features and foibles

This week, I've been working on the flickr communications side of the Quakr Viewr app.

Semantically sensible
I've found the Flickr REST API fast, simple, and very well documented - incomparable to the befuddling eBay services docs I worked with last year.

The search API does wot it says on the tin. A GET Request for:

http://api.flickr.com/services/rest/
?method=flickr.photos.search
&api_key=[your key]
&tags=tin

, gives back a semantically sensible piece of XML metadata, with a list of elements named <photo>. By concatenating the bits in the right order, you can make the URLS of the photos themselves.

Cool things
Cool thing 1: &bbox=
The most exciting aspect of the Flickr API from our Quakr perspective is support for bounding box searches, meaning that we can give four geo:lat/long coordinates, and get back sets of photo metadata.

As a pedant, I must point out that, before the fanfare, Flickr already "supported" geotagging in that it supported whatevertagging - people were merrily adding geo:long=1234, and Flickr were letting people query it. What is new is that Flickr have started splitting the machine tag at the equals sign, treating 1234 as a number, stuffing it into some special database AS a number. Suddenly, they can do MATHS, and support COMPARISON operators, and presto, offer bounding box searching.

Cool thing 2: &extras=
The &extras optional parameter on a search causes extra metadata to be returned in the results. For Quakr, we're going to be using tags like ge:tilt for 5 of the 7 in our 7D metadata, so we need to get at these tags, and, for good user experience, to get at them quickly (ie, without making lots of extra requests.) extras=machine_tags is just the job.

Foibles
One or two features which confused me at first:

Foible 1: backdata
Geotags that were entered before the geotagging 'release' aren't imported into the special database. From the groups:

"# What about all the machine tags that are already in the Flickr database?
At the moment, they are still treated as plain old tags. We have plans to go back and re-import them as machine tags but for now, only new tags will be processed as machine tags."


The solution is given in the same post:
"In the meantime, if you re-save a machine from the 'edit this tag' page it will be re-imported as a machine tag."

Foible 2: 'limiting agent'
From the search docs:
"Geo queries require some sort of limiting agent in order to prevent the database from crying.
...If no limiting factor is passed we return only photos added in the last 12 hours (though we may extend the limit in the future)."


I solved this, following guyfisher's advice, with a
&min_taken_date=1970-01-01%252000%3A00%3A00
. (I'm OK with the start of time in viewr being the unix epoc...)

28 Jan 2007

Geotagging

Our data gathering trip with the 7D tiltometer produced much smirking and several notebook pages of metadata. We went home, warmed up (eventually), and uploaded the photos to flickr (see the set here).

Next... load the data

The question of how to represent all the tilt/heading/shoesize data in triple tags/machine tags is a big one - I'll leave it to Katie to deal with that later ;)
For the time being I'll just take you through the basic geotagging process.

Step 1: Decimalise the data

Our GPS device gave lat/long data in degrees and minutes like this:

GPS data in degrees and minutes

What you are seeing there is data in degrees and minutes. I guess it made sense to somebody once, and there are probably important nautical reasons why you wouldn't want a decimal figure. Hmmm.

Either way, it's still no good for us - we need decimal values.

So, from 51°44.915 do the following:
1. Take the 44.915 (the minutes value - which is actually decimal already in our case)
2. Divide it by 60 (44.915/60 = 0.748583)
3. Add this on to the 51 (the degrees value)
4. 51 + 0.748583 = 51.748583

And that's it!

If your device gives you degrees, minutes and seconds, follow the full conversion instructions on wikipedia.

Step 2: Enter the data into flickr

The flickr map does allow you to drop photos directly onto the map but we have our own location data (that's the whole point), so...
I just went through each of the photos on flickr clicking on 'Add a tag'. For each photo I entered something like:

geotagged
geo:lon=-1.25691667
geo:long=-1.25691667
geo:lat=51.75406667

(more on lon vs long in later posts!)

Step 3: Import into the flickr map

This isn't crucial to anything we are doing at quakr, but we were eager to see where our photos would end up. To do this go here: http://flickr.com/account/geo/import.
Follow the instructions and you should get the message

"OK! Your import request has been placed in a queue. It shouldn't take too long to complete"

Step 4: Check the map!

I tagged all of our photos with quakr, and doing a map search for 'quakr' brings up something very pleasing...

quakr on flickr map

And that's it for the basic lat/long data. Happy geotagging!