Geonames, rdf, triplr, json, Yahoo! Pipes and the Semantic Web, oh my!

And these types of experimental services (or similar services) will get more stable in the future so the points of failure become less risky.Ok, so here’s the recap;GeoNames.org gives us information about a gazillion places around the world, we’re going to use the Golden Gate Bridge as an example. Here’s the GeoNames page for Golden Gate Bridge…http://www.geonames.org/5352844/golden-gate-bridge.htmlYou can get away with knocking the last path element from the URL to get just this …http://www.geonames.org/5352844/Great!

Geonames machine tags, Triplr.org and JSON, oh my!

(you may need to do a view source to see the actual RDF for that).Which is great, but you know, still a bit of pain to parse, what we need is some good old fashion JSON.First lets throw the geonames.org rdf file at triplr, as it says “Stuff in, triples out” and we all love triples!http://triplr.org/html/http://sws.geonames.org/5352844/about.rdfThat looks kinda neat, Golden Gate Bridge, in all sorts of languages (even if it’s not translated into all of them yet), the location and nearby stuff, that we’ll come back to in a tick.Now the magic, JSONifyed …http://triplr.org/json/http://sws.geonames.org/5352844/about.rdfHere’s a snippet of what you get:{ “triples” : [ { "subject" : { "value" : "http://sws.geonames.org/5352844/" , "type" : "uri" } , "predicate" : { "value" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" , "type" : "uri" } , "object" : { "value" : "http://www.geonames.org/ontology#Feature" , "type" : "uri" } },[... snip ...]{ “subject” : { “value” : “http://sws.geonames.org/5352844/” , “type” : “uri” } , “predicate” : { “value” : “http://www.w3.org/2003/01/geo/wgs84_pos#lat” , “type” : “uri” } , “object” : { “value” : “37.8196506″ , “type” : “literal” } }, { “subject” : { “value” : “http://sws.geonames.org/5352844/” , “type” : “uri” } , “predicate” : { “value” : “http://www.w3.org/2003/01/geo/wgs84_pos#long” , “type” : “uri” } , “object” : { “value” : “-122.4788612″ , “type” : “literal” } }, ], “count” : “48″,}So by using triplr.org, we can convert the lovely information from geonames.org into JSON.

[Offtopic] Test Post to see what’s up with the geobloggers site.

People we read the site, probably not for a while.Why, because something seems to either be up with the server of the WordPress configuration…. Either way it’s not good enough so I’m troubleshooting with this very post and probably the next one!In other news I changed the css for the site so it loads the important middle column first, then all the secondary stuff on the right and left.

Eyes on the World, Provo, Utah: Mount Timpanogos

Taken in Provo, Utah by a4gpa

Quicklinking: New version PhotoGPSEditor

Over on the MMISoftware blog they let us know that a new version (Mac OS X) of PhotoGPSEditor has just been released.The two main upgrades seem to be…Wizard to simplify and walk users through the geotagging of photos.Support for the Sony GPS-CS1 GPS now compatible with Mac OS X 10.4.9.Which is good for me, for when I get round to reviewing and writing up geotagging tools, which I keep telling myself I do really soon now.

Eyes on the World, Tokyo: Accident

Taken in Tokyo by udono

Google Map + geoRSS

Which means you can throw them onto Google Maps really easily.Here’s an RSS feed of my latest photos, split over two lines for clarity…http://api.flickr.com/services/feeds/photos_public.gne?id=35468159852@N01&format=rss_200Now here’s the same one but with georss added …http://api.flickr.com/services/feeds/photos_public.gne?id=35468159852@N01&format=rss_200&georss=truePretty simple. This is what you get in the rss XLM.<georss:point>37.79586 -122.395259</georss:point>If you then take that georss feed and throw it into the Search Box on Google Maps you’ll get markers for each photo on the map.

Follow

Get every new post delivered to your Inbox.