OpenStreetMap

A little shop contact page ...with OpenStreetMap

Posted by Harry Wood on 5 June 2019 in English. Last updated on 6 June 2019.

A rare thing happened with some shop mapping I was doing just now. I was adding “HOM Concept” from my Mapillary view out of a bus window. I looked up the website of the shop …and look! OpenStreetMap!

Imgur

Actually it might be the first time I’ve ever come across a contact page for a small London shop (just a few branches) as I was mapping, and found an OpenStreetMap map.

I have noticed OSM maps popping up around the web more and more lately. That’s something I’ve always pondered ways of encouraging, dreaming up quite a few different angles on the challenge of attracting web developers to use OpenStreetMap, but I guess it’s predictable that the thing which really shifts them off google maps is google maps themselves, as they start getting more strict with charging for high traffic.

I find it significant to see something like the HOM concept website using OpenStreetMap because it’s a very small organisation. I guess they will have paid somebody to do a quick web-design job for them, and that somebody has chosen to quickly do the map with OpenStreetMap, which is great to see! Also great to see not-the-standard OpenStreetMap tiles, both from a tile usage policy point of view (We want web developers to get maps from a diverse range of tile servers, not always hitting one central OSMF hosted server) and because the choice of a black ‘n’ white style (wmflabs tile server) with a yellow marker fits rather well with their colour scheme.

There’s a few not so great things. Some folks will have already spotted the lack of OpenStreetMap credits. In fact they seem to have accidentally covered them up with a black box. It only happens if the browser is wider than 1060px actually. Otherwise the layout is completely different and the normal credits appear on there. This black box is some weird scroll progress bar widget which seems a bit pointless. So that’s annoying, but we know people make mistakes like that. What else?…

Call me a stickler, but I feel a contact page map marker really should point at the right place… like really… I find it quite unfathomable that someone would put together a map for users to find a business, and then put the pointer in the wrong place! And yet I’ve seen it a lot. One cause I’ve noticed is that some google map widgets can be set-up, not with coordinates, but with a geocode happening every time on an address or postcode, which obviously might then be a little off (even so, you’d think the web developer would notice this and think maybe it’s something they ought to find a way to fix). That’s not the case here. They’ve just coded coordinates in the wrong place. Should be more like 51.58697/-0.10138.

But while we’re looking at the marker position, d’you notice something else funny about it? This is another thing I notice web developers getting wrong a lot. Never with google maps. Always with leaflet. I’d like to say it’s only a mistake made by novice web map developers, but I had to point out and fix the same mistake on the map marker of the State Of The Map website last year. Is nobody else noticing this? Well maybe I’ll leave that as a puzzle for you, because I think it deserves it’s own separate blog post.

It’s fun to grumble about other people’s web map mistakes. But it’s more fun when people mess up using google maps. On the whole my primary message to “HOM Concept” web designer would be… “Yay! OpenStreetMap!”

Discussion

Comment from EdLoach on 6 June 2019 at 09:18

I’ve not checked, but is the marker position issue that the marker image has a pointy bit at the bottom, but the co-ordinates are for the centre of the image, causing a slight offset?

Comment from Harry Wood on 6 June 2019 at 11:22

You guessed it without even looking! So it’s not just me noticing that all over the place then?

Comment from Jez Nicholson on 6 June 2019 at 11:43

the tiles are from tiles.wmflabs.org aka Wikimedia Foundation Labs. Is that a legit source?

Comment from Harry Wood on 6 June 2019 at 13:18

We’ve had them listed on here for ages https://wiki.openstreetmap.org/wiki/Tile_servers . A set of four wmflabs tile servers, but I can find no information about who’s running them or whether they actually want random web developers to use them (The more modern wikimedia maps are not much better giving concrete information on this). But yeah “labs” in the URL feels a bit dodgy. So yes it’s one of those things which could disappear at any moment …and yet it has lasted longer than many OpenStreetMap ideas!

Comment from EdLoach on 6 June 2019 at 16:46

It wasn’t so much about noticing it elsewhere, but when I tried doing pins for this map I gave up trying to work out offsets and settled on filled circles instead.

Comment from philippec on 7 June 2019 at 19:12

Sometimes markers are used as stamps, saying : “Yes there is a drinking water fountain in this place”.
That is a part of the explanation for the wandering drinking water fountains in Brussels before I became their curator.

Log in to leave a comment