Feed Validator now validates KML

Gregor J. Rothfuss, previously of Endoxon but now a Googler, has just given Feedvalidator the ability to validate KML, in addition to RSS and Atom. Here’s what it looks like when I submit one of my own KML files — it is found to be somewhat lacking:-):

fval.jpg

This newfound ability of Feed Validator is not documented anywhere on the site yet — it’s been included in the nightly builds since May 30. Just remember to feed it KML, not KMZ/.It even does KMZ!:-) Practically, Google Earth is a lot more lenient than Feed Validator, though of course the whole point of validators is that they be unforgiving:-)

You can download and run Feedvalidator’s Python code for off-line testing. There are folders in place ready to hold KML 2.2 validation rules, though they do not appear to be fleshed out yet.

Street View: The six-sentence review

[Catching up with the news of the past few weeks:] What I especially like about Google Maps’s new Street View feature is that it is permalinkable, down to the direction you’re looking at. Here is my old apartment at 109 St. Marks Place as a screenshot:

109stmarks.jpg

And here it is as a link. As you’ll notice, addresses are indeed approximate.

Greg Sadetsky gets under the hood of Street View. Finally, a useful Flash application, because it is fast and because it does one thing well. (Via the Daily Ack)

Sweden’s virtual embassy in Second Life: Now featuring Geoglobe

What could possibly justify an 11-day hiatus on this blog? Getting Sweden’s virtual embassy in Second Life out the door in time for an earlier-than-originally-planned press conference with the foreign minister of Sweden, is what. Here are some screenshots of the finished product:

[Scroll down for a geospatial angle to this — it’s not entirely off-topic:-)]

second_house_of_sweden_daylight.jpg

sim.jpg

desk.jpg

sweden_in_images.jpg

printed_information.jpg

And here is a YouTube video of the press conference and inauguration, which had simultaneous feeds between real-life events in Stockholm and in-world events in Second Life:

(Read more about the geek-fest that was the press conference here.)

You may remember that Ogle Earth posted about Geoglobe a few months ago — Josh Knauer and Stephane Desnault’s virtual inverted globe inside Second Life to which you can post geospatial information. I loved it, so much so that we used it in the virtual Swedish Embassy to pinpoint the locations of every real-life Swedish Embassy, with direct links to each embassy’s web site. Here is a YouTube demo featuring Belmeloro DiPrima, my avatar:

Do come visit us in Second Life. If you’ve never been in, you can get a free account and log on directly via www.sweden.se/secondlife. If you already have an avatar, teleport to the Swedish Institute sim.

Google Developer Day 2007: Keynote highlights

[Stefan Lorimer guest-blogs from Google Developer Day 2007. Here is his summary of the keynote.]

Keynote.jpg

Speakers included VP of engineering Jeff Huber, Google data API product manager Paul McDonald, Google Maps and Local Search product manager Thai Tran and Sergey Brin. The keynote speech was broadcast to 10 global cities with 5,000 developers worldwide participating in the conference.

The speech was broken into three major sections: 1) Integrate Google services, 2) Reach Google users, and 3) Build next-gen web apps. Each section featured a product announcement.

For the Integrate section the product announcement was the Google Mashup Editor. It was discussed that AJAX, Javascript, Atom, RSS, caching and parsing on the server were all involved in the process of making mashups. Mashup Editor provides a Sandbox for testing and taking feeds from external sources and creating mashups in as few as 3 lines of code.

There is at this point also the mention of the Gadgets API, which is used in Google homepages for widgets and now will be able to be added in websites. It was also mentioned that ***Gadgets can be added to blogger blogs****. I want a gadget on my blog of a mashup of Frank Taylor’s Google Earth Blog and Stefan Geens Ogle Earth. [:-)]

Next product announcement is Google Mapplets which lets you combine Maps API with Google Gadgets API. This functions by way of an iframe that contains a gadget that inputs data into Google Maps. As a side note, try to implement a Flash app in one of these for some extra bang for your buck. Check out this preview to try it out.

Lastly, there was a mention of Google Web toolkit and the current limits of AJAX.

Picking up on this topic, a new product announcement: Google Gears is demoed, which gives developers offline access for web apps. It is billed as cross-browser, cross-platform and open source, with an evolutionary approach towards working with industry standards. This enables developers to keep using skills that would be based around previous tools such as Javascript API.

It was also brought up that Google Reader would now be functional offline.

Next up an announcement is made of the Gears Industry Collaboration between Adobe, Opera and Firefox. A demo of Flex and Google Gears is given.

[Stefan Lorimer also posted a YouTube video of some new features coming soon to Google Earth:

And here is one of Sergey Brin:

Personally, I’m amazed at how much that was presented at the Keynote has a geospatial component or application. Thanks, Stefan L.!]

Links: Microsoft Popfly, Useamap.com, J2MEMaps

  • Just-announced Microsoft Popfly is a competitor to Yahoo! Pipes. From the screenshots, it looks like formidable competition indeed, and there seems to be plenty of geospatial functionality included. (As this TechCrunch image makes clear, Geonames.org’s database is provided as a resource). The beta is closed, so I can’t answer the big question in my mind: Will Microsoft manage to provide output as KML, or will it succumb to not-invented-here-ism? If the latter, that would be a big mistake, one that Yahoo! has avoided and which would hand it the geospatial mashup stakes on a platter.
  • Useamap.com, the map application with easy-to-remember map URLs that was rapturously reviewed on this blog a few months ago, just got better: You can now also permalink directions, and alternative maps are available if Google’s imagery happens to be low res.
  • Currently playing on my N95: J2MEMaps, which impressively renders Google My Maps’s KML output on the phone as well as all georeferenced Flickr images for the current view; and a test version of 8motions by the same developer that looks so good you want to lick it.
  • Got Crackberry with GPS? MobileTracker is for you. Exports your tracks to KML. $24
  • Got PocketPC with GPS? GPS Tuner imports and exports KML. $24-$48
  • Trip Tracker Sportsmate is a Dutch site that lets you upload your GPS tracks for analysis and commentary. They’re currently providing live tracking of several Dutch sports events as way of advertising their services and stress-testing their system. Events are viewable in Google Earth and are updated every second. TTSM’s Reiner Fleuren writes that they’re also planning on letting individuals do private live tracking in the future.
  • Freeware Windows Image viewer IrfanView version 4.0 is out, and it has the following feature relevant to this blog: “New EXIF dialog button: Show in Google Earth (if GPS data available)”
  • Google’s new universal search incorporates geospatial search, of course.
  • Google gets serious about scaling up its 3D buildings creation for Google Earth, and licenses an automated technology developed at Stanford. Details on Google Earth Blog.

Censoring US imagery: Is there any point?

On May 8, AP’s Katherine Shrader had an interesting interview with Vice Admiral Robert Murrett, director of the US National Geospatial-Intelligence Agency (NGA) that got picked up by a number of newspapers. Murrett seems to be indicating he’d like a shift in US policy when it comes to the availability of satellite imagery in the public domain. It is well worth reading in its entirety, if you haven’t already.

That article, in turn, inspired a piece in the San Francisco Chronicle on May 18 (“Top secret, in plain view / Google Earth may blur the image, but others don’t“) that looks at the feasibility of efforts to censor imagery, and the patchwork results that localized censorship attempts produce. Nut graf:

This patchwork censorship raises doubts about efforts to protect some of the nation’s key facilities, a matter of high urgency after the terrorist attacks of Sept. 11, 2001. It also raises the question of whether obscuring aerial views serves any purpose, given that overhead photographs of many important installations are already widely available elsewhere online. And it shows the futility of attempts to control Internet information in the digital, online age.

And to underline that point:

Surprisingly, some of California’s most sensitive locations, including the Diablo Canyon nuclear power plant or Lawrence Livermore National Laboratory in the Bay Area, are not blacked out or blurred on any of the mapping sites.

What neither article really manages to drive home, however, is that the reason so many sites in the US are uncensored is because most security experts agree that the publicly available high resolution imagery is not a threat. They understand that such imagery is not current, not a replacement for an actual scoping of a place, and far more likely to do good than harm. And let’s not forget that there are always other countries’ satellite services available if US sources are censored.

There actually exists a very liberal US policy on disseminating such imagery (direct link to PDF), prepared by the USGS, though neither article mentions it. The policy paper implicitly berates self-styled “experts” at individual government organizations for taking ad hoc and paranoid positions on censorship.

The risk now, of course, is that Murrett intends to replace an enlightened policy with something more paranoid, in keeping with the current US administration’s wider obsession with secrecy. But that just leaves me wondering: It’s Murrett’s job to run an agency that analyses satellite and aerial imagery and hands the results to the Pentagon. Where in that job description is there a formal policy-making role?

I bet he doesn’t have one, though he certainly has access to a tool for making a de facto censorship policy, and it has even a name, according to Shrader: “Checkbook shutter control”:

During the 2001 invasion to overthrow Afghanistan’s Taliban regime, the geospatial intelligence agency bought up all the imagery over that country for several months, creating a blackout for private groups at the height of the fighting. The agency was criticized for embarking on “checkbook shutter control” and hampering relief work and public understanding of the fight.

In the past, the agency has said publicly that it doesn’t plan to take such steps again. But Murrett, who took over last summer, clearly sees moments where such information may have to be restricted, especially to protect U.S. forces.

“I think we may need to have some control over things that are disseminated. I don’t know if that means buying up all the imagery or not. I think there are probably some other ways you could do it,” he said, leaving the specifics to legal and policy experts.

Yuck. That’s a good example of how you can circumvent the letter of laws that protect the public interest with tactics that completely demolish the spirit of those laws.

Notes on the political, social and scientific impact of networked digital maps and geospatial imagery, with a special focus on Google Earth.