Skip to content

Commit

Permalink
Adapted project for Tallinn, Estonia
Browse files Browse the repository at this point in the history
  • Loading branch information
62mkv committed Mar 23, 2022
1 parent e33a058 commit 427316b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions config.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

return [
// Relation ID of the OpenstreetMap City
'relationId' => 0,
'relationId' => 2164745,

// Languages in which you want to extract Wiki informations
'languages' => ['en'],
'languages' => ['en', 'et'],

// Exclude datas from beeing extracted. Usefull to exclude streets at the edge of the city for example
'exclude' => [
Expand Down
6 changes: 3 additions & 3 deletions html/en/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
<link rel="stylesheet" href="../../../website/src/sass/style.scss">
<link rel="stylesheet" href="../../assets/style.css">

<title>EqualStreetNames.MyCity</title>
<title>EqualStreetNames.Tallinn</title>
</head>

<body>
<div id="loader-wrapper">
<div id="loader-title">EqualStreetNames.MyCity</div>
<div id="loader-title">EqualStreetNames.Tallinn</div>
<div id="loader"></div>
<div id="loader-status">Loading...</div>
</div>

<nav class="navbar navbar-expand-lg navbar-dark fixed-top">
<div class="container-fluid">
<a class="navbar-brand" href="https://equalstreetnames.org/">EqualStreetNames.MyCity</a>
<a class="navbar-brand" href="https://equalstreetnames.org/">EqualStreetNames.Tallinn</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
Expand Down
2 changes: 1 addition & 1 deletion html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<title>EqualStreetNames.MyCity</title>
<title>EqualStreetNames.Tallinn</title>
<style>
html,
body {
Expand Down
2 changes: 1 addition & 1 deletion overpass/relation-full-json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[out:json][timeout:300];
( area["admin_level"=""]["wikidata"=""]; )->.a;
( area["admin_level"=""]["wikidata"="Q1770"]; )->.a;
(
relation["type"="associatedStreet"]["name"](area.a);
relation["type"="street"]["name"](area.a);
Expand Down
2 changes: 1 addition & 1 deletion overpass/way-full-json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[out:json][timeout:300];
( area["admin_level"=""]["wikidata"=""]; )->.a;
( area["admin_level"=""]["wikidata"="Q1770"]; )->.a;
(
way["highway"]["name"]["highway"!="bus_stop"]["highway"!="elevator"]["highway"!="platform"]["highway"!="service"](area.a);
way["place"="square"]["name"](area.a);
Expand Down

0 comments on commit 427316b

Please sign in to comment.