fredag den 10. oktober 2008

guardian.co.uk gets maps


Endelig! Alle aviser skulle følge trop. Om noget så er nyheder geografisk funderede.
/Sik


Finally! All other news papers should follow. If anything news are geographically based.
/Sik


Quote

We have published our first article containing geolocation data! We introduced this feature in the US Elections blog pages to track our reporters as they travel with the presidential election campaigns. On those pages you can see a Google map with the points marked where our reporter wrote a blogpost. You can also see all the posts aggregated together on a larger map. Our intrepid reporters simply add latitude and logitude data when they file the story and we do the rest.

Here's the technical details. We are using the GeoRSS Simple location encoding standard. This means that within our RSS feed for an item with geolocation data you will find an element like this:

51.5225 -0.1085

which contains latitude and longitude data, separated by a space, to describe a single point on Earth.

To make use of this data, just grab the RSS feed, and parse the GeoRSS element into a new GLatLng javascript object for use with Google Maps, or into any other third party mapping application you want to use.

Remember you can add /rss onto the end of most guardian.co.uk URLs to get a nice RSS feed of the content from that page.

And yes, this blog post is geolocated too. The example above is the lat/lng data for one of The Guardian's offices.

[...]


Kortdata ©2008 LeadDog Consulting, Tele Atlas - Vilkår for anvendelse







    Read more: http://www.guardian.co.uk/help/insideguardian/2008/oct/09/1

    Ingen kommentarer:

    Send en kommentar