Journal

Archive for the 'web mapping' category.

KML validator released

Jun 30 | Posted by Jeffrey Barke | Add a Comment

Geo developers: Galdos Systems released a KML validator. "The current release will support KML 2.2 and implements the Abstract Test Suite (ATS) defined in the OGC KML 2.2 Specification. It will provide diagnostic support in addition to determining the point or points of non-compliance in the submitted KML file. Galdos Systems Inc. intends to extend this support to provide stronger diagnostics and for future KML versions as they are adopted by the OGC <http://www.galdosinc.com/archives/517>."

The KML validator displays relevant portions of the OGC KML spec to explain error messages. There are two different ways to access the service: upload files for validation or point to a URL of a file on the web. The site also has a helpful set of FAQs about KML.

Via Google Geo Developers Blog

Jeffrey Barke is senior developer and information architect at theMechanism, a multimedia firm with offices in New York, London and Durban, South Africa.

Creating Custom Maps with John Coryat

Apr 5 | Posted by Jeffrey Barke | Add a Comment

Source: YouTube

Jeffrey Barke is senior developer and information architect at theMechanism, a maxi-media firm in New York City and London.

Easy legend generation for the Google Charts API map chart type

Apr 4 | Posted by Jeffrey Barke | 1 Comment

In an earlier post, I wrote "I agree with Bjørn that the lack of an API-generated legend is problematic, though one could be constructed via HTML adjacent to the chart." However, it turns out that creating a legend is a bit more difficult than I initially thought. The difficulty was brought to my attention via a post to the Google Charts API Google Group that requested help in writing a PHP function to determine the hex value of interpolated colors. Since I figured this would be a common problem, I wrote a PHP 4 class that will hopefully solve it. You can see the tmMapLegend class in action below with the map produced in the earlier tutorial. Learn more about the class and download it here: http://themechanism.com/barkode/code/tmmaplegend/.

Red States and Blue States, USA

  •   States carried by the Republicans in all four elections
  •   States carried by the Democrats in all four elections
  •   States carried by the Republicans in three of the four elections
  •   States carried by the Democrats in three of the four elections
  •   States carried by each party twice in the four elections

Jeffrey Barke is senior developer and information architect at theMechanism, a maxi-media firm in New York City and London.

Thematic mapping with the Google Charts API: A brief tutorial

Mar 30 | Posted by Jeffrey Barke | 1 Comment

This brief tutorial assumes a basic knowledge of the Google Charts API, but no knowledge of the new map chart type. This tutorial will cover all of the required and optional Charts API parameters for the map chart type and will culminate in displaying a US map of red states and blue states.

Producing the base map

United States of America

To produce our base map using the Google Charts API requires a URL similar to the following one:
http://chart.apis.google.com/chart?chs=350x200&cht=t&chtm=usa&chd=s:_

Read the rest of this entry »

Google Charts API Update—Sparklines and maps!

Mar 28 | Posted by Jeffrey Barke | Add a Comment

The latest version of the Google Charts API released 18 March 2008 includes thematic maps and our old Tufte favorite, sparklines!

Hopefully, I'll have a chance to play around with them this weekend(!) and put together a more substantial post then.

Search the Archives
Feeds

Upcoming events

  • 24 Jul 2008

O'Reilly user group program member

Add to Technorati Favorites

We endorse

Basecamp

Want to work with us yet? We’re ready when you are.