Archive

Posts Tagged ‘wifi’

Map of Rogers-branded hotspots for iPhone use

July 12th, 2008 No comments

I wasn’t going to buy an iPhone, but the last-minute data plan price reduction was just enough to change my mind. (It still feels like a deal with the devil of course…)

The data plan includes free wifi access at any Rogers-branded hotspot, so I decided to map out the locations. The address of each hotspot is provided by this website but requires processing in order to be usable by Google Maps.

Process
  • Downloaded the XLS version of the hotspot list
  • Converted it to CSV format and imported it into the database
  • Ran a modified version of this PHP script from Google that geocodes addresses into latitudes and longitudes
  • Wrote a PHP script that exports the database to KML format in a few different configurations

And presto! Here they are, viewed in Google Maps:

If you want to load the entries in Google Earth or another mapping tool, you can grab the raw KML files here:
http://www.techknight.com/kml

Update

I got someone with an iPhone to try loading the maps on their device. (Mine won’t arrive until next week.) It seems that KML support is spotty at best… In Safari the map loaded but wasn’t interactive, while the actual Google Maps application could not load an external resource. So for now these are useful only when you’re at your PC, about to leave home. :)

Screenshots

image

image

Issues

A few problems cropped up while geocoding. Addresses that returned french accents in the XML caused simplexml_load_string() to error out with “Entity: line 1: parser error : Input is not proper UTF-8″. A forum post here had a solution using iconv().

Another problem was that some addresses in the original file are out of date. For example, this entry for Emerald Hills Golf Club:

14001 Concession #5, Stouffville, ON

Doing a search for emerald hills golf club ontario, it looks like “Concession #5″ was renamed to “Warden Avenue”, which causes the lookup to fail.

Also, there are some perfectly valid entries that show up in Google Maps but return a GGeoStatusCode of G_GEO_UNKNOWN_ADDRESS (602) when querying for them using the geocoding API. Examples:

Suite 220, 10610 Airport Drive, Grande Prairie, AB
1 First Canadian Place, Toronto, ON
7585 Market Crossing, Burnaby, BC

I’m guessing that the database used by the geocoding API differs from the database used by Google Maps proper. Other addresses in the original list are simply misspelled. Anyway, I thought at first that I would manually get co-ordinates for such entries, but there are 151 of them so I’m going to pass on that. :) (I did do some manual updates using this tool for the few downtown Toronto locations that didn’t work though.)

I’ll try to get in touch with whoever is in charge of updates at canadianhotspot.ca… Maybe if I give them a list of the non-working entries they can fix them.

Categories: Gaming Tags: , , , , , ,

Making Wi-Fi useful and secure on a Pocket PC

April 19th, 2006 No comments

In March I replaced my dead BlackBerry 957 with an HP iPAQ hx2490 Pocket PC. By switching from cellular networking to wi-fi I was able to save the Rogers CAD$24.95/month fee.

However, the default install of Windows Mobile 5.0 lacks some basic features necessary for truly secure mobile computing. Security that is especially important if one is to depend on public wireless hotspots for connectivity.

These three programs go a long way towards filling in the gaps:

PockeTTY

This application serves two purposes. First, it is a functional SSH client for remote administration. Second, it acts as a port forwarder so that any networked application can communicate securely through an SSH tunnel.

Public hotspots mean untrustable networks. But if all of the traffic in and out of your device is encrypted then you needn’t worry about snoops.

(To make typing easy I was able to buy an HP Thumb Keyboard sheath that slips on to the bottom of the iPaq. More information here.)

image

NetFront 3.3 Technical Preview

NetFront supports modern web browser features that Internet Explorer lacks including the especially useful multiple windows and manual proxy settings. It’s just a better browser overall.

image

image

Resco Explorer 2005

An alternative to the built-in File Explorer, Resco Explorer has handy features like network share browsing/mapping and file encryption.

image

image

Links

PockeTTY
NetFront 3.3
Resco Explorer 2005
Pocket SnapIt, a free Pocket PC screenshot tool

Categories: Gadgets Tags: ,