Register | Login
Attackpoint - performance and training tools for orienteering athletes

Discussion: oomap enhancements - feedback sought

in: Orienteering; General

Mar 17, 2021 8:48 PM # 
We extensively use Ollie O'Brien's OpenOrienteeringMap (oomap) website for informal urban events: It's already a fantastic resource and I've been working, with Ollie's knowledge, to add my own improvements. The main ones are:

Global contours (from SRTM - so a bit ropey but better than nothing)
LIDAR-derived contours at 2.5m, 5m or 10m (most of England & Wales, some major population centres in Australia and NZ so far).
Up-to-the-minute mapping data.
Magnetic North grids and map alignment. Also arbitrary rotation (Alt+Shift+Drag)

Downsides: No pre-rendering of O-style maps - only on the PDF and image export. Things take a bit longer as the map data is fetched on the fly. Adding SRTM contours adds a minute or so as the data is only downloaded when needed.

I'm now seeking feedback to see how valuable these additions are. So - please give it a try at the site below. Be aware that this is an ancient PC running off my broadband connection so don't hit it too hard! If feedback is positive I'll work with Ollie to integrate this code into his site.

Mar 20, 2021 3:59 PM # 
JPG, JGW and KMZ exports were broken - now fixed.
Also LIDAR contours added for Perth, WA
Mar 26, 2021 3:28 PM # 
I can't take advantage of the LIDAR (due to location) but really happy with the addition of global SRTM contours. As you note, it is not perfect, but great to have the option to include them. Hopefully you are getting more positive feed back so this can be implemented into the main site.

Mar 27, 2021 12:18 PM # 
Thanks Michael. Not a huge amount of feedback so far...

Ottawa (I'm assuming) - have a look now! I've processed a chunk of data from:

Similarly, if there are areas where better contours would get used and you can point me at a suitable digital elevation model I can see what's possible. E.g. Austria is there now - there are *lots* of contours there!
Mar 28, 2021 1:13 PM # 
Hi David, the added LIDAR data looks great. I don't know why the limited feedback. I know in my club we have a number of very qualified mappers and the club has OCAD licenses (and they also know how to suck in LIDAR etc) so OOmap is not used a lot, although our outreach group does use it for quick events for schools etc. I've definitely seen other Canadian clubs using OOmap, especially for MapRun style events.
The few times I have used it has been as a base template in OOM (the application) and then with Purple Pen. Having the contours on the base is very handy (even if just being used to then draw over).
It would be good to add to the local area North in Quebec (the current ontario set you have "die" just across the provincial border). I'll see if I can track down a source.

Thanks for your effort with this.
Apr 10, 2021 7:00 PM # 
I've now added an alternative to the NASA SRTM-derived contour set. This is from the recently-released GLO-30 elevation model from ESA's Copernicus project. Advantages over SRTM: global coverage where SRTM stops at ~ 60 deg N/S, more recent data, and looks to be a bit higher quality. Background at:
Apr 12, 2021 8:25 PM # 
Looks really nice David. Thanks!
Apr 16, 2021 11:41 AM # 
hi David, i fully understand that you are experimenting with the contour sets so this may be completely irrelevant but I noticed that when using your version the JGW files have rotation values in the two applicable lines. Is this just an artifact of your testing or are you doing something different with the export from the original site?
Apr 16, 2021 5:08 PM # 
Hi Michael, yes this is deliberate and new - the map area is automatically aligned to magnetic North which of course for you is a long way from true N. So - the resulting map is tilted compared to true N and therefore needs a rotation value for it to be properly georeferenced.
I *think* that it works as intended (eg for Routegadget), but happy to be told if it doesn't!
If you want a true-N map click on the small arrow at the top-right of the map view (only appears once magnetic adjustment has been made on adding a new map area). Alternatively add an arbitrary rotation to *really* confuse your local orienteers - Shift-Alt-drag on the map background.
Apr 17, 2021 2:15 AM # 
Hadn't noticed the arrow pop up. I think it is a good addition and always wondered why it wasn't available in the original - having the maps True North oriented I'm sure caused some confusion. For me however it was not working for my work process. I've been using the output as a template in Open orienteering Mapper georeferenced with the JGW (and modifying where needed including any rotation) then making courses with PurplePen. Problem was that the original JPG is not really great resolution so either using the JPG in the KMZ file or, even better, saving the PDF as an image JPG, I have much more usable quality. With a 0 rotation in the JWG, it is easy to convert from the original to an updated JWG as it only involves the x and y ratio difference in the two images (I have an app that does this but a spreadsheet or calculator is all you really need). Add rotation in and the math becomes much more complicated. Now that I know about the arrow on the map then not a problem. There are a few more gotchas with the process I use - selecting the right coordinate system and saving the OOM file in OCAD format but it works really well, it is fast and allows a lot more flexibility in making any required additions to the map before using (such as marking out of bounds areas, adding a path or trail etc).
I had also forgotten that the "UK" version of Routegadget uses a world file - we are still using the original version that just uses the corners.
Apr 17, 2021 5:03 PM # 
Hi Michael - ah I see - always interesting to hear how others put together a process! I typically use Inkscape to composite the final map from the PDF output.

I've made a couple of modifications to help:

1. JPG output resolution is now doubled (and reflected in the worldfile)
2. PDFs are now georeferenced, so can use these directly in OOMapper - that'll fix another of your gotchas.
Apr 18, 2021 1:31 PM # 
Nice. I think the changes you are making are fantastic, especially meeting the needs for those that want to use this tool to make easy maps and courses. My goal has been to provide a process to expand this for those that want/need to make map modifications and more flexible courses while sticking with free software (full disclosure - I do have OCAD.CONDES, Adobe, but I actually like OOMapper (the windows app) and Purple Pen!). The extra resolution output makes this process easier with less finicky bits, but, as you would expect, there are still some gotchas when trying to integrate the free software (example - purple pen cannot use an OMAP file with a PDF template yet, although this is expected to be fixed "soon"). I'm looking forward to your changes being implemented in the original (as I realize you do not want lots of hits on your site!).

One request - can you make the Northing lines you have added optional? In most cases I will likely do the rotation in OOMapper and add the Northing lines from there.
Apr 21, 2021 8:51 PM # 
Optional Northings - yep, can do that (after a bit of refactoring!). There's no option in the web interface yet so try the following:
Download the pdf/jpg/kmz as usual, then go to your browser's history and find the link - it should look like:

If you manually edit the last two parameters (eg "grid=no") you can turn the grid off, and also produce a file of arbitrary resolution by changing the dpi value. Remember to create the jgw and jpg files with matching dpi values!
Apr 23, 2021 11:33 AM # 
Very useful info - little tricky to initially pull the calls out (needed to use the developer console network log functionality) but have now thrown together a small app to produce custom files starting with the map center lon/lat. Much appreciated.

Please login to add a message.