Tag Archives: perl

Georeferencing QGIS output rasters

Some of the design packages I rely on use very crude GIS facilities. In fact, all they can support is a georeferenced raster as a background image, so it’s more of a rough map than GIS. It helps if these … Continue reading

Posted in GIS | Tagged , , , | Leave a comment

Ham Radio log to interactive OpenStreetMap

You might notice that there’s now a Ham Radio QSO Map lurking on the front page. Thanks to the WordPress OpenStreetMap plugin (which I’ve slightly abused before). Here’s a small piece of Perl which will take your ADIF log and … Continue reading

Posted in GIS | Tagged , , , , , , , , , | 1 Comment

More radio amateur grid squares

After yesterday’s post, I went a bit nuts with working out the whole amateur radio grid locator thing (not that I’m currently likely to use it, though). I’d hoped to provide a shapefile of the entire world, but that would … Continue reading

Posted in GIS | Tagged , , , , , , | Leave a comment

Maidenhead Grid Locator, in Perl

Amateur radio operators sometimes use the Maidenhead Grid Locator Square system to identify location. Here’s my attempt at a translator, written in slightly squirrelly Perl: Grid square to lat/long and grid square shapefiles to follow.

Posted in GIS | Tagged , , , | 4 Comments

Got a receiver inside my head – writing Spectrum Direct data as CSV

Industry Canada publishes the locations of all licensed radio spectrum users on Spectrum Direct. You can find all the transmitters/receivers near you by using its Geographical Area Search. And there are a lot near me: While Spectrum Direct’s a great … Continue reading

Posted in GIS | Tagged , , , , , | 2 Comments

three norths to choose from

North is a slippery thing, a trickster. There are at least three norths to choose from: Magnetic north – where the compass needle points. Currently way in the northwest of Canada, it’s scooting rapidly towards Siberia. Come baaack, magnetic north! … Continue reading

Posted in GIS | Tagged , , , , , , , , , , | Leave a comment

Toronto’s Human Centre, part 2: by neighbourhood

Beware throwaway comments; that way overanalysis lies. This was a challenge. Taking the 2006 neighbourhoods population into account, the human centre of Toronto is at 43.717955°N, 79.389828°W … … pretty close to the one I’ve already worked out by ward. … Continue reading

Posted in GIS | Tagged , , , , , , | 1 Comment

closer to ward maps: scraping the data

Toronto publishes its candidates here  http://app.toronto.ca/vote2010/findByOffice.do?officeType=2&officeName=Councillor in a kind of tabular format. All I want to do is count the number of candidates per ward, remembering that some wards have no candidates yet. Being lazy, I’d far rather have another … Continue reading

Posted in GIS | Tagged , , , | 1 Comment