From 02a77db39159001687f3229347e2e1a2d1be5df9 Mon Sep 17 00:00:00 2001 From: labcode-de Date: Mon, 5 Jun 2017 12:13:17 +0200 Subject: [PATCH] Add Altenkirchen --- community-config.inc.php | 72 +++++++++++-------- geojson/altenkirchen.geojson | 126 ++++++++++++++++++++++++++++++++++ geojson/hennef.geojson | 2 +- geojson/koenigswinter.geojson | 2 +- geojson/lohmar.geojson | 2 +- geojson/meckenheim.geojson | 2 +- geojson/much.geojson | 2 +- geojson/neunkirchen.geojson | 2 +- geojson/niederkassel.geojson | 2 +- geojson/rheinbach.geojson | 2 +- geojson/ruppichteroth.geojson | 2 +- geojson/siegburg.geojson | 2 +- geojson/staugustin.geojson | 2 +- geojson/troisdorf.geojson | 2 +- geojson/wachtberg.geojson | 2 +- index.php | 2 +- 16 files changed, 182 insertions(+), 44 deletions(-) create mode 100644 geojson/altenkirchen.geojson diff --git a/community-config.inc.php b/community-config.inc.php index b647b42..8525d30 100644 --- a/community-config.inc.php +++ b/community-config.inc.php @@ -19,12 +19,24 @@ $community = array( 0 => array( "community_id" => 0, + "name" => "Altenkirchen", + "head_titel" => "Freifunk Altenkirchen Firmware", + "link_text" => "Zurück zur Startseite", + "link_url" => "http://downloader.freifunk-siegburg.de/", + "lang_titel" => "Freifunk Altenkirchen Firmware Auswahl", + "lang_text" => "Bitte suchen Sie den passenden Router aus, indem Sie den Hersteller, das Modell und die Version auswählen.
Legen Sie anschließend fest, ob sie den Router zum ersten Mal auf dem Router eine Freifunk Firmware installieren und welches Entwicklungsstadium die Firmware haben soll.", + "download_path" => "../fwuploads/altenkirchen/", + "sub_auswahl" => "", + "geojson" => "geojson/altenkirchen.geojson" + ), + 1 => array( + "community_id" => 1, "name" => "Hennef", "linktoseite" => "https://images.freifunk-hennef.de/downloader/firmware.php?id=0", "geojson" => "geojson/hennef.geojson" ), - 1 => array( - "community_id" => 1, + 2 => array( + "community_id" => 2, "name" => "Königswinter", "head_titel" => "Freifunk Königswinter Firmware", "link_text" => "Zurück zur Startseite", @@ -35,8 +47,8 @@ "sub_auswahl" => "", "geojson" => "geojson/koenigswinter.geojson" ), - 2 => array( - "community_id" => 2, + 3 => array( + "community_id" => 3, "name" => "Lohmar", "head_titel" => "Freifunk Lohmar Firmware", "link_text" => "Zurück zur Startseite", @@ -47,8 +59,8 @@ "sub_auswahl" => "", "geojson" => "geojson/lohmar.geojson" ), - 3 => array( - "community_id" => 3, + 4 => array( + "community_id" => 4, "name" => "Meckenheim", "head_titel" => "Freifunk Meckenheim Firmware", "link_text" => "Zurück zur Startseite", @@ -59,8 +71,8 @@ "sub_auswahl" => "", "geojson" => "geojson/meckenheim.geojson" ), - 4 => array( - "community_id" => 4, + 5 => array( + "community_id" => 5, "name" => "Much", "head_titel" => "Freifunk Much Firmware", "link_text" => "Zurück zur Startseite", @@ -71,8 +83,8 @@ "sub_auswahl" => "", "geojson" => "geojson/much.geojson" ), - 5 => array( - "community_id" => 5, + 6 => array( + "community_id" => 6, "name" => "Neunkirchen", "head_titel" => "Freifunk Neunkirchen Firmware", "link_text" => "Zurück zur Startseite", @@ -83,8 +95,8 @@ "sub_auswahl" => "", "geojson" => "geojson/neunkirchen.geojson" ), - 6 => array( - "community_id" => 6, + 7 => array( + "community_id" => 7, "name" => "Niederkassel", "head_titel" => "Freifunk Niederkassel Firmware", "link_text" => "Zurück zur Startseite", @@ -95,8 +107,8 @@ "sub_auswahl" => "", "geojson" => "geojson/niederkassel.geojson" ), - 7 => array( - "community_id" => 7, + 8 => array( + "community_id" => 8, "name" => "Rheinbach", "head_titel" => "Freifunk Rheinbach Firmware", "link_text" => "Zurück zur Startseite", @@ -107,8 +119,8 @@ "sub_auswahl" => "", "geojson" => "geojson/rheinbach.geojson" ), - 8 => array( - "community_id" => 8, + 9 => array( + "community_id" => 9, "name" => "Ruppichteroth", "head_titel" => "Freifunk Ruppichteroth Firmware", "link_text" => "Zurück zur Startseite", @@ -119,8 +131,8 @@ "sub_auswahl" => "", "geojson" => "geojson/ruppichteroth.geojson" ), - 9 => array( - "community_id" => 9, + 10 => array( + "community_id" => 10, "name" => "Sankt Augustin", "head_titel" => "Freifunk Sankt Augustin Firmware", "link_text" => "Zurück zur Startseite", @@ -131,8 +143,8 @@ "sub_auswahl" => "", "geojson" => "geojson/staugustin.geojson" ), - 10 => array( - "community_id" => 10, + 11 => array( + "community_id" => 11, "name" => "Siegburg", "head_titel" => "Freifunk Siegburg Firmware", "link_text" => "Zurück zur Startseite", @@ -143,8 +155,8 @@ "sub_auswahl" => "", "geojson" => "geojson/siegburg.geojson" ), - 11 => array( - "community_id" => 11, + 12 => array( + "community_id" => 12, "name" => "Soziale Netzwerke", "head_titel" => "Freifunk für Soziale Netzwerke Firmware", "link_text" => "Zurück zur Startseite", @@ -155,8 +167,8 @@ "sub_auswahl" => "", "geojson" => "" ), - 12 => array( - "community_id" => 12, + 13 => array( + "community_id" => 13, "name" => "Troisdorf", "head_titel" => "Freifunk Troisdorf Firmware", "link_text" => "Zurück zur Startseite", @@ -167,8 +179,8 @@ "sub_auswahl" => "", "geojson" => "geojson/troisdorf.geojson" ), - 13 => array( - "community_id" => 13, + 14 => array( + "community_id" => 14, "name" => "Troisdorf - Fußgängerzone", "head_titel" => "Freifunk Troisdorf Fußgänerzone Firmware", "link_text" => "Zurück zur Startseite", @@ -179,8 +191,8 @@ "sub_auswahl" => "", "geojson" => "" ), - 14 => array( - "community_id" => 14, + 15 => array( + "community_id" => 15, "name" => "Troisdorf - Soziale Netzwerke", "head_titel" => "Freifunk für Troisdorfer Soziale Netzwerke Firmware", "link_text" => "Zurück zur Startseite", @@ -191,8 +203,8 @@ "sub_auswahl" => "", "geojson" => "" ), - 15 => array( - "community_id" => 15, + 16 => array( + "community_id" => 16, "name" => "Wachtberg", "head_titel" => "Freifunk Wachtberg Firmware", "link_text" => "Zurück zur Startseite", diff --git a/geojson/altenkirchen.geojson b/geojson/altenkirchen.geojson new file mode 100644 index 0000000..f052ea0 --- /dev/null +++ b/geojson/altenkirchen.geojson @@ -0,0 +1,126 @@ +{ + "type":"FeatureCollection", + "crs":{ + "type":"name", + "properties":{ + "name":"urn:ogc:def:crs:OGC:1.3:CRS84" + } + }, + "source":"\u00a9 GeoBasis-DE \/ BKG 2013 (Daten ver\u00e4ndert)", + "features":[ + { + "type":"Feature", + "properties":{ + "community_id":"0", + "color":"#f44336" + }, + "geometry":{ + "type":"Polygon", + "coordinates":[ + [ + [ + 7.646390234245196, + 50.71022482380167 + ], + [ + 7.655050215374621, + 50.70727748840145 + ], + [ + 7.651815881507266, + 50.699166069068255 + ], + [ + 7.657537610080714, + 50.69996407279473 + ], + [ + 7.657873138170221, + 50.69631656345037 + ], + [ + 7.678611425614515, + 50.69236699659794 + ], + [ + 7.680570416168002, + 50.689366825415306 + ], + [ + 7.660069675641759, + 50.68980635836706 + ], + [ + 7.65668677320433, + 50.68716604254046 + ], + [ + 7.664758118978156, + 50.68239377020071 + ], + [ + 7.655606346460742, + 50.68116961566667 + ], + [ + 7.655379629239891, + 50.676283695102335 + ], + [ + 7.640613978641262, + 50.673038188434184 + ], + [ + 7.634432737750737, + 50.677477455516126 + ], + [ + 7.621990192035526, + 50.67724955841527 + ], + [ + 7.602757680311957, + 50.66677430877403 + ], + [ + 7.605705350413477, + 50.67225086489818 + ], + [ + 7.599277423568861, + 50.68471425982706 + ], + [ + 7.602892709701163, + 50.689591068475394 + ], + [ + 7.618800365440682, + 50.68898404714648 + ], + [ + 7.619861426067922, + 50.69223407632671 + ], + [ + 7.633090803529912, + 50.693102908531245 + ], + [ + 7.634219589079426, + 50.70519680078151 + ], + [ + 7.639746015885116, + 50.710114849778726 + ], + [ + 7.646390234245196, + 50.71022482380167 + ] + ] + ] + } + } + ] +} \ No newline at end of file diff --git a/geojson/hennef.geojson b/geojson/hennef.geojson index 4ebea29..f3e676f 100644 --- a/geojson/hennef.geojson +++ b/geojson/hennef.geojson @@ -11,7 +11,7 @@ { "type":"Feature", "properties":{ - "community_id":"0", + "community_id":"1", "color":"#f44336" }, "geometry":{ diff --git a/geojson/koenigswinter.geojson b/geojson/koenigswinter.geojson index d584a5b..e154275 100644 --- a/geojson/koenigswinter.geojson +++ b/geojson/koenigswinter.geojson @@ -11,7 +11,7 @@ { "type":"Feature", "properties":{ - "community_id":"1", + "community_id":"3", "color":"#e91e63" }, "geometry":{ diff --git a/geojson/lohmar.geojson b/geojson/lohmar.geojson index c46c6cf..be0581d 100644 --- a/geojson/lohmar.geojson +++ b/geojson/lohmar.geojson @@ -11,7 +11,7 @@ { "type":"Feature", "properties":{ - "community_id": "2", + "community_id": "3", "color":"#9c27b0" }, "geometry":{ diff --git a/geojson/meckenheim.geojson b/geojson/meckenheim.geojson index c7278bd..aa63115 100644 --- a/geojson/meckenheim.geojson +++ b/geojson/meckenheim.geojson @@ -11,7 +11,7 @@ { "type":"Feature", "properties":{ - "community_id":"3", + "community_id":"4", "color":"#673ab7" }, "geometry":{ diff --git a/geojson/much.geojson b/geojson/much.geojson index 92577a6..9362afe 100644 --- a/geojson/much.geojson +++ b/geojson/much.geojson @@ -11,7 +11,7 @@ { "type":"Feature", "properties":{ - "community_id":"4", + "community_id":"5", "color":"#795548" }, "geometry":{ diff --git a/geojson/neunkirchen.geojson b/geojson/neunkirchen.geojson index e1fc484..e997ac1 100644 --- a/geojson/neunkirchen.geojson +++ b/geojson/neunkirchen.geojson @@ -11,7 +11,7 @@ { "type":"Feature", "properties":{ - "community_id":"5", + "community_id":"6", "color":"#3f51b5" }, "geometry":{ diff --git a/geojson/niederkassel.geojson b/geojson/niederkassel.geojson index 34fbdc1..44ed642 100644 --- a/geojson/niederkassel.geojson +++ b/geojson/niederkassel.geojson @@ -11,7 +11,7 @@ { "type":"Feature", "properties":{ - "community_id":"6", + "community_id":"7", "color":"#8bc34a" }, "geometry":{ diff --git a/geojson/rheinbach.geojson b/geojson/rheinbach.geojson index 6b529b5..9d8d710 100644 --- a/geojson/rheinbach.geojson +++ b/geojson/rheinbach.geojson @@ -11,7 +11,7 @@ { "type":"Feature", "properties":{ - "community_id":"7", + "community_id":"8", "color":"#00bcd4" }, "geometry":{ diff --git a/geojson/ruppichteroth.geojson b/geojson/ruppichteroth.geojson index a17f4e1..b39cd40 100644 --- a/geojson/ruppichteroth.geojson +++ b/geojson/ruppichteroth.geojson @@ -11,7 +11,7 @@ { "type":"Feature", "properties":{ - "community_id":"8", + "community_id":"9", "color":"#009688" }, "geometry":{ diff --git a/geojson/siegburg.geojson b/geojson/siegburg.geojson index 52e35d2..6c12db4 100644 --- a/geojson/siegburg.geojson +++ b/geojson/siegburg.geojson @@ -11,7 +11,7 @@ { "type":"Feature", "properties":{ - "community_id": "10", + "community_id": "11", "color":"#2196f3" }, "geometry":{ diff --git a/geojson/staugustin.geojson b/geojson/staugustin.geojson index 0323bc8..f5124c6 100644 --- a/geojson/staugustin.geojson +++ b/geojson/staugustin.geojson @@ -11,7 +11,7 @@ { "type":"Feature", "properties":{ - "community_id":"9", + "community_id":"10", "color":"#4caf50" }, "geometry":{ diff --git a/geojson/troisdorf.geojson b/geojson/troisdorf.geojson index 49f4a76..002d47d 100644 --- a/geojson/troisdorf.geojson +++ b/geojson/troisdorf.geojson @@ -11,7 +11,7 @@ { "type":"Feature", "properties":{ - "community_id":"12", + "community_id":"13", "color":"#ff9800" }, "geometry":{ diff --git a/geojson/wachtberg.geojson b/geojson/wachtberg.geojson index 3b40ca5..19898cd 100644 --- a/geojson/wachtberg.geojson +++ b/geojson/wachtberg.geojson @@ -11,7 +11,7 @@ { "type":"Feature", "properties":{ - "community_id":"14", + "community_id":"16", "color":"#ff5722" }, "geometry":{ diff --git a/index.php b/index.php index 3898da8..0514463 100644 --- a/index.php +++ b/index.php @@ -18,7 +18,7 @@ if (count($community) == 1) { - <?php echo $community[0]["head_titel"]?> + Freifunk Rhein-Sieg Firmware Downloader