The Spatial Miscellany

Avatar

A weblog. A website. A geospatial miscellany…

Faster web mapping with Google’s new browser?

Last month Google released a web browser…Google Chrome. It appears to have debuted to mixed reviews, personally I really like it, but others have had less favourable experience. On the surface, it looks much like any other web browser, but underneath, it’s a bit of an animal.

Google have acquired a new JavaScript engine (V8) written from the ground up to work more efficiently with websites that have large amounts of JavaScript rather than the little snippets of JavaScript which was typical of websites developed when JavaScript was first integrated into Netscape Navigator in the mid 1990s.

Typically JavaScript engines use a dictionary-like data structure as storage for object properties - each property access requires a dynamic lookup to resolve the property’s location in memory. V8 works differently…the first time V8 encounters an object it interprets how the object would be represented as a class, creating a hidden class, which means the next time the object is encountered, its properties can be accessed from memory without the time consuming dynamic look up.

Google give a far more comprehensive introduction to this approach in their documentation of V8, conveniently they use the example of an object common to all GIS developers…a Point.

A class based approach to JavaScript

So What?

The novel approach taken by the V8 JavaScript engine, presents a new opportunity for GIS web developers to work with Points, Lines and Polygons on the web client instead of the web server as is typical of a web based GIS. Using JavaScript in the web browser removes the need for lengthy round trips to the Server, which will make for faster web mapping applications.

Here and now, this will allow web mapping API developers to work with more markers, the typical 100 marker limit of Google Maps applications (and similar web mapping API’s) - is no more; Mike Williams and his team have reported working with as many as 2000 markers when using Google Maps within Chrome.

Chrome isn’t the only web browser to recognize the importance of working with JavaScript heavy web sites, for example, much work is being done on a new JavaScript engine for Firefox. Perhaps in the future, as this approach gains support, spatial analysis functionality can move from the server to the client, which would make for a more engaging web mapping experience?

If anyone is looking for a dissertation project, or has time of their hands, it would be interesting to see the outcome of taking some topological operators (e.g. Java Topology Suite), Google Web Toolkit (GWT) and GWT for Google Maps, all served up with Google Chrome?

Mobile Phone tracking with a Nokia N95 & MWS

Another rainy weekend proved a good excuse to sit down and put some theory into practice…

When the rain comes, taken by VeVi @ Flickr.

The theory goes…take a GPS enabled mobile phone; some beta software from Nokia; a handful of HTML, Javascript and PHP goodness; and you have all the components for a dynamic tracking web service and mapping website?

Well, the theory works! I’ve put a demonstration together at the following link:

Mobile Phone Tracking with a Nokia N95 Demonstration

Given all the current hype regarding some telecomunications technology; I’m puzzled by the apparent lack of interest in the mobile web server. Sure, there are a few pieces to still fall into place, but if the mobile web server’s graduation from Nokia research labs, results in widespread deployment, it must have a profound impact on the web?

Tomorrow's Web...

What would you create with Public Information?

…the Power Of Information taskforce is asking that question; and is prepared to stump up £20,000 to take your idea to the next level! The reasoning behind the competition is to get an understanding of the data and information the government needs to share to move things forward. To get the competition underway they’ve just released some new government datasets; for example, a list of all 22,000 schools.

Their website to harvest ideas (showusabetterway.co.uk) has been up for just over a day and seems to be getting a terrific response, I ran the ideas to date through Wordle to get a flavour of the requests being made, here are the results:
Show Us a Better Way: Wordle Analysis

Congratulations to the POI taskforce; it’s a great step forward for the Free Our Data campaign. So if you’ve got ideas, get over there and jot them down. I’ve thrown my hat in the ring with the suggestion of a Road Works API

Nokia Mobile Web Server - a game changer…

This post builds on a previous post from earlier in the week, when I gave mention to some Nokia\Apache software that runs as a mobile web server on my mobile phone (a Nokia N95). The first thing that jumped out was the architecture of the software, ‘software above the level of a single device’ as coined by Tim O’Reilly. Then Phil jumped in with a comment agreeing with O’Reilly that such software has the potential to simplify the user interface of devices with small screens, but there is more to this software. A Google blog search revealed Ricky Cadden asking the same question…”I think there’s some serious potential here [MWS], though I can’t quite put my finger on it”.

Mobile Web Server High Level Architecture

Here is one reason I think it’s a real game changer - it completely removes the necessity of a network operator?

The likes of Skype and Gizmo already threaten the network operators’ phone call revenues, with VOIP based services; the mobile web server goes further. Let’s assume all mobile phones run with a mobile web server and have access to a wireless internet connection. Now write a one sentence webpage and host it on your mobile web server; restrict permission to view that web page to your best pal; make a request against a web service, running on your friend’s mobile web server, that alerts them of the new page you’ve created; and essentially you’ve just sent a text message - but without the network operator.

Moreover, replacement of the 160 character text message is only the beginning, this is revolutionary technology and a whole host of innovative applications can be expected to follow. What form might they take?

If we do move to a situation where the world’s 3 billion mobile devices ship configured as web servers, it would represent at least a doubling in the size of the internet (if there is a suitable metric by which to make such a measurement). What is more, if recent trends continue, and phones are equipped with GPS, these new web servers will be location aware and mobile.

GeoWebServices live webcast:

There will be a live webcast of the Geospatial Web Services workshop held at the University of Nottingham today:

http://www.nottingham.ac.uk/geography/geowebservices/

The University of Nottingham GeoWebServices Webcast

Continue Next page



Free GIS Software...

 

Download ArcGIS Explorer, a free globe explorer from ESRI. Use ArcGIS Explorer to answer your everyday geography questions... “How do I drive to Birmingham?” and “Which river flows through London?”. For the GIS Professional, use ArcGIS Explorer to fuse your rich GIS datasets, with server-based geoprocessing applications, and distribute your geospatial activities throughout your organisation.

Before you go

Going so soon? Test your geography with the...

 

Do you support the campaign? Should government-funded and approved agencies such as the Ordnance Survey collect data with significant indirect contributions from the UK tax-payer, but then charge users and companies for access to it?

 

Download Flash plugin