Posts tagged WiFi
Google Maps and Grand Rapids WiFi
May 19th
For the past few weeks I’ve been meaning to play with myGmaps, and last night I finally got the opportunity. I’d introduced a map view to Grand Rapids WiFi a few months ago, but I’ve never been entirely satisfied with the map in use or the flexibility of the zoom, so I decided to explore what it would take to move that data onto a google map.
Generating the required XML was very straightforward. Between this piece at Engadget and the tools at myGmaps it was very simple to add a new Smarty template to the site and get everything up and running. It’s a shame google didn’t go with some more standardised vocabularies (it would be wonderful to be able to pipe the existing RDF version of the site straight in), but at least the format is simple.
What I did find, however, was that my browsers quickly became unstable. I’d never seen Firefox’s “A script is making Firefox become very slow, should I terminate it?” warning before last night, but plotting around 40 points on such a map triggered it. Reducing that to five points with an SQL LIMIT helped considerably, but at the cost of much of the map’s utility. The full maps is nice, but nowhere near stable enough to make a regular part of the site (I may put a link to it, but it will be with provisos).
I hope there’s a way to reduce the weight of this toolkit, as it’s definitely a far better map. If google were to launch a public API, perhaps we could start building more advanced applications which integrate directions and other tools. For now, it’s back to the drawing board for me, to try and work out a UI that lets me reduce the number of points plotted while still being useful for the user.
For those with plenty of RAM, you can find the full map at grwifi.net/gmaps/.
RDF and GRWiFi
Mar 22nd
Looking to the future of the Grand Rapids WiFi site, I hope to see it become part of an integrated set of local websites supporting and promoting community development and local business. Geolocation seems to be the topic du jour, and while the site has for several months featured geodata about all of its locations the time seemed right to develop it further.
Today I’ve been adding RDF representations of almost all the data on the site. I’ve extended the RDF descriptions of each location to list all the comments on that location. The vocabulary for that is one I found over at FilmTrust and it means that almost all the useful content of the site can now be represented using RDF.
To tie it all together I’ve added an RDF/XML index of the site so that agents can easily get a complete list of WiFi locations listed on the site. Obviously a spider could have worked its way through the site and found all the data, but this removes a hurdle.
It’s remarkably easy to add RDF representations of data on a database-driven site such as this one. There was some tweaking to do, but mostly the work was constructing and validating a new set of templates. Now I need to start harnessing the new power.