Categories
Notes

Dupes

I’ve tidied up the database behind the Map of Maps 3 list of orienteering maps in the UK. The source database I got the data from lists old as well as new maps of the same area.

The process I’ve used to remove the dupes is:

  1. Where multiple maps have the same grid reference, I’ve removed the ones which have an older year – or if the same year, a lower BOF reference number. This is done regardless of name or club differences between each map. This affects around 10% of the maps.
  2. Where maps differ by grid reference but have exactly the same name and club, I’ve again removed the ones with the older year (or lower BOF reference number). I’ve then updated any map extracts pointing to the old grid reference, to point to the new one. This affects around 3% of the maps.
  3. Where maps differ by grid reference and club, but have the same name and region, I’ve manually looked through the list and removed (technically, “succeeded”) the older one, and moved any associated map extracts. There are a couple of instances that mean we wouldn’t want to do this automatically, e.g. there are two genuine Bar Hill and two Victoria Park orienteering maps in the Scotland region. This affects around 0.3% of the maps.
  4. There are still going to be some dupes out there that have maps with different spellings and slightly different grid references. These are going to have to be succeeded on a case by case basis. Use the “Alert!” button beside each map if you spot a dupe.

I’ve also added an About page so you can see who helped me build the page, and some stats on how many maps there are.

Categories
Notes

Googlejuice

Google is currently ranking the UK Orienteering Fixtures Map around 30th or so (out of ~40,000,000) when searching for the word “Fixtures”. I’m quite chuffed that the page is ranking so highly for such a generic term – there must be a lot of fixtures pages for all the other sports right across the world. It must be the Googlejuice from the club websites – cool.

Interestingly it’s listed as high as 5th when I’m logged in to Google – I think it’s remembering previous pages I’ve been to and rating them more highly in future searches.

Categories
Notes

Map of Maps – Extracts

Map of Maps now has small extracts of some of the maps. These are photographs from my own collection, that I did for the original Map of Map 1 project several years ago. There’s only a few there currently, gradually I’ll add more from my collection. Around 3% of maps have the extracts, this should eventually rise to around 10%. The extracts are generally in Scotland and Southern England, as that’s where I typically have run.

Because, in most cases, the extracts are photographs of the maps I ran on, are only 300×225 pixels, and only show a small part of the map, I consider their inclusion on the website fair use.

Click on the “(Extract)” link after the map name to view the extract.

What the extracts look like

Categories
Notes

Map of Maps – View by Club

I’ve added a new feature to Map of Maps – you can now specify a club or region. Instead of displaying the 100 maps nearest to you, it displays all maps which have a club or region matching the text you specify.

e.g. Entering SOA will show all registered maps in the SOA region.
e.g. Entering SLOW will show all maps registered by SLOW.

When using this mode, the map will initially be zoomed out to cover the whole of the UK. Zoom in towards the o-markers to see the individual map locations.

Maps out at SeaWhy is this useful? Mainly for tidying up the database. By entering a particular region, you can see at a glance maps which are not where they should be – either because they are in the sea or because they are well away from the mass of other maps correctly in the region. If you spot such maps, please use the “Alert” button to tell me about them. There are too many errors for me to proactively fix, so I’m concentrating on the ones you care and tell me about. This method will also list maps with no grid reference at all – they are at the end of the list, with an “Unknown” location from your home postcode.

My next task will be to reduce the number of “duplicate” maps, i.e. multiple maps in exactly the same location. This will reduce the number of maps listed by around 15%.

Categories
Notes

Map of Maps

I’ve added a Map of Maps to go alongside my UK O-Events Map page. Both pages look similar as they have the same structural layout and stylesheet. The Map of Maps shows you your nearest orienteering maps registered with BOF, and from this lists your local clubs – possibly useful for someone wanting to join their local club or an existing orienteer moving house.

The Map of Maps page is much slower to render as it has to parse 3000+ maps. For each one it takes the OS grid reference, works out the latitude and longitude* and then the distance from your postcode, before ordering everything to find the 100 closest to you, showing them on a map, and on a handy table with weblinks to each club.

Map of Maps

The main problem remaining is the quality of the source data – there are numerous grid reference mistakes, many maps don’t have grid references at all which means they will never show up – there are spelling and capitalisation inconsistencies, entities listed in the clubs field which are not actually clubs, and older revisions of a particular map remaining alongside the newest one.

Most of these I’ve been able to deal with in an elegant way, by creating my own clubs database table with the appropriate metadata. The one hack I’ve had to leave hardcoded into the page is NOC, which is normally Nottingham Orienteering Club, but is also the National Orienteering Centre for some Scottish maps (and so not a club.) It also appears as NATCEN. Grr!

The initial work is now complete – it took a couple of days of effort, including quite a lot of learning about PHP arrays and lamda functions – I’d managed to get away with not using these before. I also took the opportunity to tidy up my existing code, into something which was more efficient, with a lot less duplication and sloppy coding, which I’ll be able to extend easily for future mashups.

The next feature will be a slightly more intelligent “local club” calculation, based on the number of maps a club has, weighted by their proximity to you, rather than simply the club with the closest map being your “most local club” in the present form. I also need to automate the collection and processing of data from BOF, although this is lower priority as I’m only planning on sync’ing with them every few months, unlike the events map which is sync’d, in theory, on a weekly basis.

Announcement of my original Map of Maps, way back in 2004 – before Google Map Mashups took off.

*Technically minded readers will realise I could do this when doing the initial load of BOF data into my database. I could – it’s on the list, and will be done if the Map of Maps page performance gets worse.

Categories
Notes

Fame at Last ;-)

…I’m in the picture on the front page of the OpenStreetMap wiki.

OMG Ponies!

(For the archives: Direct link to the photo.)

Categories
Notes

Events Map Update

{Updated] I’ve added a new feature to the events map – filtering by club or region. This only works on the table at present, not on the map. The filtering is done client-side, i.e. by your web browser, using Javascript. Choose a club, or a region, from the drop-down at the top of the table, and the table should dynamically redraw itself to only show the relevant rows. Let me know if this feature doesn’t work for you, or you see bugs I’ve missed.

[Update – It looks like this feature wasn’t working in Internet Explorer 7, this was due to a bug which I’ve now fixed! I’ve also made the drop-down lists more readable.]

In addition, the webpage is now W3C standards compliant (XHTML Strict and CSS.) If that means nothing to you, you just need to know that it means it should work well, and look the same, regardless of which web browser you use. Less than 2/3rds of visitors use Internet Explorer, now. Cosmetically, you’ll see a little different, but I had to rewrite quite large parts of the page in order to get it to pass the W3C tests. This spring-cleaning means I’ll find it easier to add new functionality in the future.

BOF have overhauled their website, including their fixtures page. This breaks the script I use to pull updates from their page to the events map, so updates won’t work until I’ve figured out how to parse the new page. I’ll take a look at this next time their fixtures page is updated.

Categories
Notes

City of London Orienteering Map

I’m going to have quite a lot of spare time over the next year (more on that shortly) and one of the projects I’m planning on doing is creating a City of London Orienteering Map, to ISSOM spec, for a possible future sprint orienteering race. There is already an orienteering map of the area, although it is simple (black & white, with roads features shown as lines.)

The City of London is an ideal area for a sprint orienteering race – a maze of historic winding roads, lots of interesting features, and best of all it is very quiet traffic-wise on Saturday and Sunday mornings.

This map shows the planned area I am going to survey. The light blue area is my initial target area (Smithfields, St Barts, St John Street, Barbican, The Square Mile north of Bank, Moorgate, Liverpool Street, Charterhouse, Tower 42 and the Gherkin.) A future extension might include some of light green area (the area between Bishopsgate and Commercial Street, the Tower of London, St Catherine’s Dock, Shad Thames, Millennium Bridge, Bankside, The Tate Modern, St Paul’s Cathedral and the Pool of London.)

The undoubted highlight will be the Barbican Complex, confusing at the best of times. I don’t think I’ve ever not got lost wandering around the Barbican area. The network of bridges above the busiest roads will be a feature too. Other interesting areas in the initial map will be Smithfields Meat Market, St Bart’s Hospital, and Guildhall.

I will probably be using Adobe Illustrator and the MapStudio plugin to create the map, as OCAD does not run well on Macs. Here’s a previous map I created with it – although this was done in a couple of hours based on a very short survey!

I’ve been to a few sprint races recently – Oxford, York and Kingussie to name but three. I’ll also be going to Warwick and Lincoln, and back to Oxford, soon.



ISSOM map samples from York, Scarborough, Sheffield and Wapping. The last is just east of the City of London.

And after the City of London there’s always Canary Wharf…

Categories
Notes

OO Cup Maps

I’ve put my maps from the recent OO Cup 5-Day event in Slovenia on my Routegadget install here. You can also view the maps individually (1, 2, 3, 4, 5.)

Here’s my favourite part out of all the OO Cup areas this year. One word: Karstastic.

Categories
Notes

Back

Back from an awesome 5 days of orienteering at the OO Cup in northern Slovenia. Had some time to be a tourist too.

I will (of course!) write up each day in full when I get the time but, to sum up the week in a few phrases: Rustic chalet on remote farm, alpine shepherd houses, cows with cowbells, Lake Bled with fairy-tale island, negative karst terrain (the contours go down, not up!), a gorge and a cave, hairpin bends on mountain roads, hot and sunny to cold and wet in 24 hours, a walk in the mist, huge portions of food at amazing prices, some new Slovenian roads to be added to OSM in due course, a random biker bar, and some of the most enjoyable orienteering courses I’ve ever done.

Now back in London for a day or so, then up to Scotland to prepare for the Scottish 6 Days. I’ve just heard I”m going to be living in a remote Victorian Highland lodge for the week there – Glentromie Lodge, several miles down a winding country road deep into the Cairngorms. Possibilities for some Munro-ing, if I’m not too exhausted from the racing… or maybe just some Geographing and OSMing. Hoping for another memorable week.