<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 03/12/2019 09:47, Edward Bainton
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGJTS21apMm+yk9GE2mf=F9MCmFxE08wG2W9Tw6JKdpWN5gfow@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi all
<div><br>
</div>
<div><a
href="https://electionresults.parliament.uk/#Cities%20of%20London%20and%20Westminster"
moz-do-not-send="true">General Elections Online</a> (hosted
at <a href="http://parliament.uk" moz-do-not-send="true">parliament.uk</a>)
have got a failed page where the Google map is overlaid with
"Development purposes only".</div>
<div><br>
</div>
<div>I was planning to suggest they use OSM instead. </div>
<div><br>
</div>
<div>Can anyone point me to the precise technical detail their
webmaster will need? Is it the wiki page, <a
href="https://wiki.openstreetmap.org/wiki/Deploying_your_own_Slippy_Map"
moz-do-not-send="true">Deploying your own Slippy Map</a>?</div>
</div>
<br>
</blockquote>
<p>It depends very much on what they want to do.</p>
<p>At the highest level, they have a choice of two options - they
can pay someone else to provide a service to them or they can
create something themselves without using a third party.</p>
<p>IF someone else is providing a service the amount work that they
need to do could be anything from nothing (like a new kitchen
planned and installed for you for lots of £) to quite a lot (order
some units from B&Q and assemble it yourself).</p>
<p>Andy's already mentioned <a class="moz-txt-link-freetext" href="https://switch2osm.org/">https://switch2osm.org/</a> - that has an
(incomplete) providers list at <a class="moz-txt-link-freetext" href="https://switch2osm.org/providers/">https://switch2osm.org/providers/</a>
. Many of the organisations there will be able to help and will
be able to help them and may offer different products for
different levels of involvement.</p>
<p>There's also the "completely do it yourself" option, which is
actually somewhat easier than the kitchen analogue of a pile of
timber from Jewson's. One option that would achieve this would
need:</p>
<ul>
<li>Some map tiles underneath (which don't need to be hugely
detailed)</li>
<li>A way of displaying constituency boundaries on top</li>
<li>A way of handling "user clicks on constituency A, display
details"</li>
</ul>
<p>The hard part might actually be making the whole lot robust
enough to cope with demand over the next couple of weeks. What
wouldn't be a good idea would be using an existing set of
free-at-the-point-of-use map tiles (such as the ones at
OpenStreetMap.org) and expecting them to "just cope" with the
volume - see
<a class="moz-txt-link-freetext" href="https://twitter.com/OSM_Tech/status/1122495446465810438">https://twitter.com/OSM_Tech/status/1122495446465810438</a> for what
happened when the London Marathon did that (for completeness the
relevant policy is at
<a class="moz-txt-link-freetext" href="https://operations.osmfoundation.org/policies/tiles/">https://operations.osmfoundation.org/policies/tiles/</a> ).</p>
<p>If they did want to "completely do it themselves" then
<a class="moz-txt-link-freetext" href="https://switch2osm.org/serving-tiles/manually-building-a-tile-server-18-04-lts/">https://switch2osm.org/serving-tiles/manually-building-a-tile-server-18-04-lts/</a>
will get them some raster map tiles, and
<a class="moz-txt-link-freetext" href="https://switch2osm.org/using-tiles/">https://switch2osm.org/using-tiles/</a> and the examples at (to pick
just one example) <a class="moz-txt-link-freetext" href="https://leafletjs.com/">https://leafletjs.com/</a> will allow them to create
overlays over those, and allow people to click through for
particular information.<br>
</p>
<p>With regards to the "hard part" they can restrict the map zoom to
something that is not too high (enough so that constituencies are
visible and clickable should be good enough) prerender tiles and
cache them, but I'm sure they must have lots of familiarity with
this sort of problem given that they already run a public and
intermittently very busy website.</p>
<p>Best Regards,</p>
<p>Andy</p>
<p><br>
</p>
</body>
</html>