Google Adds CSV and KML Upload Support to Maps Data API

Andres Ferrate, April 2nd, 2010

Google Maps DataThis week Google announced a new feature for its Maps Data API (check out our Maps Data API Profile) that will have a significant impact on how developers upload, and subsequently access, geospatial data in the cloud: data can now be uploaded to Google’s infrastructure in either KML or CSV format.

Although at first this may seem like a subtle new feature, it actually has significant implications, as data uploads and updates can be performed much more easily. Matt Holden sums up the significance in a recent post on the Google Geo Developers Blog:

You can now upload thousands of features using a single POST request, and then immediately perform scalable searches over your data (while controlling exactly who has access to your maps).

Uploading data in CSV format allows developers to easily upload data dumps, thereby eliminating the need to format point data into KML. Below is a sample POST request that will upload several records at once:

GData-Version: 2.0
Authorization: GoogleLogin auth="authorization_token"
Content-Type: text/csv
Slug: Some National Parks in the U.S.

Canyonlands,-109.88397,38.27176,Canyonlands National Park, in Utah
Big Thicket,-94.31812,30.16425,Big Thicket National Preserve, in Texas
Denali,-150.50929,63.27534,Denali National Park, in Alaska

This is a nice new feature and one which we believe will allow developers to manage geospatial data more efficiently. Be sure to check out the GData documentation if you’re still coming up to speed on Google’s Data APIs and the Google Data Protocol.

Both comments and pings are currently closed.

One Response to “Google Adds CSV and KML Upload Support to Maps Data API”

April 2nd, 2010
at 9:18 am
Comment by: connie greenway

when will the maps be available in real time instead of 3 to 5 years behind.
I need a pollution map of my property in sep. of 2008 and they only have this location in 2006. The maps are years behinds when you need to find the oil field filth that the country people have to breath. It should be able to show these people exactly what has hit them when they realize they have been destroyed and their bodies are burning up with the frequencies that happens with the oil field.

Follow the PW team on Twitter

APIs, mashups and code. Because the world's your programmable oyster.

John Musser
Founder, ProgrammableWeb

Adam DuVander
Executive Editor, ProgrammableWeb. Author, Map Scripting 101. Lover, APIs.