Open Infrastructure Map, a view of infrastructure data in OpenStreetMap
Update paths for new web setup
Russ Garrett763163db543b
diff --git a/dist/about.html b/dist/about.htmldeleted file mode 100644index c55378c..0000000--- a/dist/about.html+++ /dev/null@@ -1,100 +0,0 @@-<!DOCTYPE html>-<html>-<head>- <meta charset="utf-8">- <meta name="viewport" content="width=device-width, initial-scale=1">- <title>About — Open Infrastructure Map</title>- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">-</head>-<body>- <div class="container">- <header>- <h1>About Open Infrastructure Map</h1>- </header>- <div class="row">- <div class="col-lg-6">-- <p class="lead"><a href="/">Open Infrastructure Map</a> is a view of the world's hidden infrastructure mapped in the- <a href="http://www.openstreetmap.org/">OpenStreetMap database</a>.</p>- <p>By and large, this data isn't exposed on the main OSM map, so I built- Open Infrastructure Map to visualise it.</p>-- <h2>How do I contribute?</h2>- <p>If you want to edit the data and you're new to OpenStreetMap, check out- <a href="https://learnosm.org">learnOSM.</a></p>- <p>- If you already have some OSM experience and want to start tagging infrastructure things,- take a look at the tagging guidelines for- <a href="http://wiki.openstreetmap.org/wiki/Power">power</a> and <a href="http://wiki.openstreetmap.org/wiki/WikiProject_Telecoms">WikiProject Telecoms</a>.- </p>-- <h2>How is OIM made?</h2>- <p>The following mess of tools and services make Open Infrastructure Map run:</p>- <ul>- <li><a href="https://www.postgresql.org/">Postgres</a>/<a href="http://postgis.net/">PostGIS</a> for data storage- <li><a href="https://imposm.org/">Imposm3</a> for filtering and importing the OSM data- <li><a href="http://tegola.io/">Tegola</a> for vector tile rendering and serving- <li>The <a href="https://github.com/MapLibre/maplibre-gl-js">MapLibre GL JS</a> web interface</li>- </ul>-- <p>The background map data is kindly provided by <a href="https://www.maptiler.com/"><img width="150px" src="img/maptiler.png"></a>.</p>-- <h2>Where's the code?</h2>- <p>You can find some bits of OIM on the- <a href="https://github.com/openinframap/">openinframap Github organisation</a>.- More to come, soon.</p>-- <h2>Who made this?</h2>- <p>I'm <a href="https://russ.garrett.co.uk">Russ</a>, and I like infrastructure.- Please don't contact me about copyright claims or similar, these should properly- be directed <a href="https://wiki.osmfoundation.org/wiki/Takedown_procedure">to- OpenStreetMap</a>.</p>-- <h2>Get in touch</h2>- <p>If you want to get in touch with the OSM infrastructure mapping community, join- <a href="irc://irc.oftc.net/osm-infrastructure">#osm-infrastructure on irc.oftc.net</a>.-- Join this channel with IRCCloud:- <a href="https://www.irccloud.com/invite?channel=%23osm-infrastructure&hostname=irc.oftc.net&port=6697&ssl=1" target="_blank"><img src="https://www.irccloud.com/invite-svg?channel=%23osm-infrastructure&hostname=irc.oftc.net&port=6697&ssl=1" height="18"></a>.</p>-- <p>You can also follow <a href="https://twitter.com/openinframap">OpenInfraMap on Twitter</a>- for occasional status updates.</p>- <h2>Support OpenInfraMap</h2>- <p>OpenInfraMap is a personal side project which costs me around $1200/year to run. If you like- OpenInfraMap, you can chip in to help with these costs on Liberapay: <script src="https://liberapay.com/russss/widgets/button.js"></script>- <noscript><a href="https://liberapay.com/russss/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></noscript>- </p>-- <h2>How do I access the data?</h2>- <p>All the data currently displayed on OpenInfraMap is sourced directly from OpenStreetMap.</p>-- <p>If you can consume vector data in Mapbox Vector Tiles format, you can fetch vector data directly- from the OpenInfraMap tile server using the <a href="/map.json">TileJSON file</a>.</p>-- <p>If you need relatively small extracts of data, you can use- <a href="https://overpass-turbo.eu/">Overpass Turbo</a> to generate these in GeoJSON and- similar formats.</p>-- <p>For larger amounts of data, you will need to fetch and process the raw OSM data directly,- which is relatively complex.</p>-- <p>I can provide exports from the OpenInfraMap database, for which I charge a fee of- £85 to cover my time. More complex work will normally be billed at £100/hour although I am- happy to negotiate this based on the task. Please contact- <a href="mailto:[email protected]">[email protected]</a> if you are interested in this.</p>-- <p>If you use this data, you will need to comply with the- <a href="https://www.openstreetmap.org/copyright">OpenStreetMap licensing terms</a>, which- require that you attribute OpenStreetMap. Attribution of "OpenInfraMap", and a link to this- website, would be appreciated but is not required.- </p>-- </div>- <div class="col-lg-4">-<a class="twitter-timeline" data-width="390" data-height="800" data-dnt="true" href="https://twitter.com/openinframap?ref_src=twsrc%5Etfw">Tweets by openinframap</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>- </div>-- </div>- </div>-</body>-</html>diff --git a/dist/carto.json b/dist/carto.jsondeleted file mode 100644index bfe5283..0000000--- a/dist/carto.json+++ /dev/null@@ -1,10 +0,0 @@-{- "tilejson": "2.2.0",- "name": "carto-positron",- "attribution": "© <a href=\"http://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors, © <a href=\"https://carto.com/attributions\">CARTO</a>",- "bounds": [-180, -85.0511, 180, 85.0511],- "center": [0, 0, 0],- "tiles": [- "https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_nolabels/{z}/{x}/{y}.png"- ]-}diff --git a/dist/map.json b/dist/map.jsonindex 2657b82..04d9a31 100644--- a/dist/map.json+++ b/dist/map.json@@ -1,7 +1,7 @@{"tilejson": "2.2.0","name": "openinframap",- "attribution": "<a href=\"https://www.openstreetmap.org/copyright\">© OpenStreetMap contributors</a>, OpenInfraMap",+ "attribution": "<a href=\"https://www.openstreetmap.org/copyright\">© OpenStreetMap contributors</a>, <a href=\"https://openinframap.org/copyright\">OpenInfraMap</a>","bounds": [-180, -85.0511, 180, 85.0511],"center": [0, 0, 0],"format": "pbf",diff --git a/src/index.html b/src/index.htmlindex 3f6ff34..40e529b 100644--- a/src/index.html+++ b/src/index.html@@ -14,7 +14,7 @@<body><noscript>You must have Javascript enabled to view Open Infrastructure Map</noscript><div id="container" style="display:none">- <header><h1>Open Infrastructure Map</h1> <a href="/about.html">about</a></header>+ <header><h1>Open Infrastructure Map</h1> <a href="/about">about</a></header><div id="map"></div></div></body>