Category Archives: Uncategorized

Pixagogo adds Google Earth support

Pixagogo adds a KML feed next to its RSS feed for labels, containing all the latest photos for that label, ready for viewing in Google Earth.

What you really need to do to get this to work properly is: Grab the URL of a particular label’s KML feed, go to Google Earth, add a network link, and then paste the URL into the source field. If you just click on the KML feed link in your browser, you will open a static file.

What Pixagogo (and several other sites) could do is offer up a ready-made KMZ network link file that links to the feed, rather than just the feed. This makes subscribing simpler and easier.

Oktoberfest helper

If you need to find a place to eat in Munich this Oktoberfest, going-out guide Gastroguide-Muenchen has poured their entire database into a Google Earth KMZ file.

As they point out, this makes far more sense than an alphabetical listing. Zagat and Time Out, are you listening? (Via)

The Atlas of Canada: Now showing on Google Earth

For a while now I’ve wanted to play with the PHP script that Chris wrote to drag data off an WMS server and throw it onto Google Earth via a network link. Tonight I had some time, so I adapted the script to query the Atlas of Canada‘s WMS server and present the results.

The Atlas of Canada makes 25 layers available on its WMS server, of which I took the seven most useful for my script. While Google Earth’s built-in layers already contain all this information, the point of this exercise was more to acquaint myself with the nitty-gritty of querying geographical databases.

The Atlas of Canada provides background about its WMS server here, while an XML document handles the details. I used both to create a custom PHP script that sits on the Ogle Earth server. When this script is invoked by a network link in Google Earth, it takes the bounding box information Google Earth gives it and brings it to the WMS server, where it asks politely for the required layers. The result is correctly positioned GIFs delivered to Google Earth.

Here is the script if you want to take a gander at the code.

Here is the network link for you to download if you want to see the script in action.

As the metadata about the layers is encoded in a standard XML document that is delivered by the WMS server upon request, there are opportunities here for automating the repetitive work I did to code the seven layers. A much more powerful solution would be to write a parser that queries any given WMS server for the metadata, which it then uses to construct the custom PHP script and KML network link for that server.

Even better would be for Mapdex.org to automatically provide these files alongside search results for WMS servers:-)

Google Earth for Mac, virtually

I’d heard that VNC was doable on a Mac for channeling Google Earth remotely (using a PC, natch), but Andrew in High Earth Orbit recommends Microsoft’s free Remote Desktop Connection. The reason? It appears to demand far less overhead from the PC, and it is faster, says Andrew. He is also kind enough to walk us through getting started using a secure shell connection.