Add Altenkirchen

This commit is contained in:
labcode-de 2017-06-05 12:13:17 +02:00
parent 900a85d1a5
commit 02a77db391
No known key found for this signature in database
GPG Key ID: 9CDB093B80490C2F
16 changed files with 182 additions and 44 deletions

View File

@ -19,12 +19,24 @@
$community = array( $community = array(
0 => array( 0 => array(
"community_id" => 0, "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.<br />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", "name" => "Hennef",
"linktoseite" => "https://images.freifunk-hennef.de/downloader/firmware.php?id=0", "linktoseite" => "https://images.freifunk-hennef.de/downloader/firmware.php?id=0",
"geojson" => "geojson/hennef.geojson" "geojson" => "geojson/hennef.geojson"
), ),
1 => array( 2 => array(
"community_id" => 1, "community_id" => 2,
"name" => "Königswinter", "name" => "Königswinter",
"head_titel" => "Freifunk Königswinter Firmware", "head_titel" => "Freifunk Königswinter Firmware",
"link_text" => "Zurück zur Startseite", "link_text" => "Zurück zur Startseite",
@ -35,8 +47,8 @@
"sub_auswahl" => "", "sub_auswahl" => "",
"geojson" => "geojson/koenigswinter.geojson" "geojson" => "geojson/koenigswinter.geojson"
), ),
2 => array( 3 => array(
"community_id" => 2, "community_id" => 3,
"name" => "Lohmar", "name" => "Lohmar",
"head_titel" => "Freifunk Lohmar Firmware", "head_titel" => "Freifunk Lohmar Firmware",
"link_text" => "Zurück zur Startseite", "link_text" => "Zurück zur Startseite",
@ -47,8 +59,8 @@
"sub_auswahl" => "", "sub_auswahl" => "",
"geojson" => "geojson/lohmar.geojson" "geojson" => "geojson/lohmar.geojson"
), ),
3 => array( 4 => array(
"community_id" => 3, "community_id" => 4,
"name" => "Meckenheim", "name" => "Meckenheim",
"head_titel" => "Freifunk Meckenheim Firmware", "head_titel" => "Freifunk Meckenheim Firmware",
"link_text" => "Zurück zur Startseite", "link_text" => "Zurück zur Startseite",
@ -59,8 +71,8 @@
"sub_auswahl" => "", "sub_auswahl" => "",
"geojson" => "geojson/meckenheim.geojson" "geojson" => "geojson/meckenheim.geojson"
), ),
4 => array( 5 => array(
"community_id" => 4, "community_id" => 5,
"name" => "Much", "name" => "Much",
"head_titel" => "Freifunk Much Firmware", "head_titel" => "Freifunk Much Firmware",
"link_text" => "Zurück zur Startseite", "link_text" => "Zurück zur Startseite",
@ -71,8 +83,8 @@
"sub_auswahl" => "", "sub_auswahl" => "",
"geojson" => "geojson/much.geojson" "geojson" => "geojson/much.geojson"
), ),
5 => array( 6 => array(
"community_id" => 5, "community_id" => 6,
"name" => "Neunkirchen", "name" => "Neunkirchen",
"head_titel" => "Freifunk Neunkirchen Firmware", "head_titel" => "Freifunk Neunkirchen Firmware",
"link_text" => "Zurück zur Startseite", "link_text" => "Zurück zur Startseite",
@ -83,8 +95,8 @@
"sub_auswahl" => "", "sub_auswahl" => "",
"geojson" => "geojson/neunkirchen.geojson" "geojson" => "geojson/neunkirchen.geojson"
), ),
6 => array( 7 => array(
"community_id" => 6, "community_id" => 7,
"name" => "Niederkassel", "name" => "Niederkassel",
"head_titel" => "Freifunk Niederkassel Firmware", "head_titel" => "Freifunk Niederkassel Firmware",
"link_text" => "Zurück zur Startseite", "link_text" => "Zurück zur Startseite",
@ -95,8 +107,8 @@
"sub_auswahl" => "", "sub_auswahl" => "",
"geojson" => "geojson/niederkassel.geojson" "geojson" => "geojson/niederkassel.geojson"
), ),
7 => array( 8 => array(
"community_id" => 7, "community_id" => 8,
"name" => "Rheinbach", "name" => "Rheinbach",
"head_titel" => "Freifunk Rheinbach Firmware", "head_titel" => "Freifunk Rheinbach Firmware",
"link_text" => "Zurück zur Startseite", "link_text" => "Zurück zur Startseite",
@ -107,8 +119,8 @@
"sub_auswahl" => "", "sub_auswahl" => "",
"geojson" => "geojson/rheinbach.geojson" "geojson" => "geojson/rheinbach.geojson"
), ),
8 => array( 9 => array(
"community_id" => 8, "community_id" => 9,
"name" => "Ruppichteroth", "name" => "Ruppichteroth",
"head_titel" => "Freifunk Ruppichteroth Firmware", "head_titel" => "Freifunk Ruppichteroth Firmware",
"link_text" => "Zurück zur Startseite", "link_text" => "Zurück zur Startseite",
@ -119,8 +131,8 @@
"sub_auswahl" => "", "sub_auswahl" => "",
"geojson" => "geojson/ruppichteroth.geojson" "geojson" => "geojson/ruppichteroth.geojson"
), ),
9 => array( 10 => array(
"community_id" => 9, "community_id" => 10,
"name" => "Sankt Augustin", "name" => "Sankt Augustin",
"head_titel" => "Freifunk Sankt Augustin Firmware", "head_titel" => "Freifunk Sankt Augustin Firmware",
"link_text" => "Zurück zur Startseite", "link_text" => "Zurück zur Startseite",
@ -131,8 +143,8 @@
"sub_auswahl" => "", "sub_auswahl" => "",
"geojson" => "geojson/staugustin.geojson" "geojson" => "geojson/staugustin.geojson"
), ),
10 => array( 11 => array(
"community_id" => 10, "community_id" => 11,
"name" => "Siegburg", "name" => "Siegburg",
"head_titel" => "Freifunk Siegburg Firmware", "head_titel" => "Freifunk Siegburg Firmware",
"link_text" => "Zurück zur Startseite", "link_text" => "Zurück zur Startseite",
@ -143,8 +155,8 @@
"sub_auswahl" => "", "sub_auswahl" => "",
"geojson" => "geojson/siegburg.geojson" "geojson" => "geojson/siegburg.geojson"
), ),
11 => array( 12 => array(
"community_id" => 11, "community_id" => 12,
"name" => "Soziale Netzwerke", "name" => "Soziale Netzwerke",
"head_titel" => "Freifunk für Soziale Netzwerke Firmware", "head_titel" => "Freifunk für Soziale Netzwerke Firmware",
"link_text" => "Zurück zur Startseite", "link_text" => "Zurück zur Startseite",
@ -155,8 +167,8 @@
"sub_auswahl" => "", "sub_auswahl" => "",
"geojson" => "" "geojson" => ""
), ),
12 => array( 13 => array(
"community_id" => 12, "community_id" => 13,
"name" => "Troisdorf", "name" => "Troisdorf",
"head_titel" => "Freifunk Troisdorf Firmware", "head_titel" => "Freifunk Troisdorf Firmware",
"link_text" => "Zurück zur Startseite", "link_text" => "Zurück zur Startseite",
@ -167,8 +179,8 @@
"sub_auswahl" => "", "sub_auswahl" => "",
"geojson" => "geojson/troisdorf.geojson" "geojson" => "geojson/troisdorf.geojson"
), ),
13 => array( 14 => array(
"community_id" => 13, "community_id" => 14,
"name" => "Troisdorf - Fußgängerzone", "name" => "Troisdorf - Fußgängerzone",
"head_titel" => "Freifunk Troisdorf Fußgänerzone Firmware", "head_titel" => "Freifunk Troisdorf Fußgänerzone Firmware",
"link_text" => "Zurück zur Startseite", "link_text" => "Zurück zur Startseite",
@ -179,8 +191,8 @@
"sub_auswahl" => "", "sub_auswahl" => "",
"geojson" => "" "geojson" => ""
), ),
14 => array( 15 => array(
"community_id" => 14, "community_id" => 15,
"name" => "Troisdorf - Soziale Netzwerke", "name" => "Troisdorf - Soziale Netzwerke",
"head_titel" => "Freifunk für Troisdorfer Soziale Netzwerke Firmware", "head_titel" => "Freifunk für Troisdorfer Soziale Netzwerke Firmware",
"link_text" => "Zurück zur Startseite", "link_text" => "Zurück zur Startseite",
@ -191,8 +203,8 @@
"sub_auswahl" => "", "sub_auswahl" => "",
"geojson" => "" "geojson" => ""
), ),
15 => array( 16 => array(
"community_id" => 15, "community_id" => 16,
"name" => "Wachtberg", "name" => "Wachtberg",
"head_titel" => "Freifunk Wachtberg Firmware", "head_titel" => "Freifunk Wachtberg Firmware",
"link_text" => "Zurück zur Startseite", "link_text" => "Zurück zur Startseite",

View File

@ -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
]
]
]
}
}
]
}

View File

@ -11,7 +11,7 @@
{ {
"type":"Feature", "type":"Feature",
"properties":{ "properties":{
"community_id":"0", "community_id":"1",
"color":"#f44336" "color":"#f44336"
}, },
"geometry":{ "geometry":{

View File

@ -11,7 +11,7 @@
{ {
"type":"Feature", "type":"Feature",
"properties":{ "properties":{
"community_id":"1", "community_id":"3",
"color":"#e91e63" "color":"#e91e63"
}, },
"geometry":{ "geometry":{

View File

@ -11,7 +11,7 @@
{ {
"type":"Feature", "type":"Feature",
"properties":{ "properties":{
"community_id": "2", "community_id": "3",
"color":"#9c27b0" "color":"#9c27b0"
}, },
"geometry":{ "geometry":{

View File

@ -11,7 +11,7 @@
{ {
"type":"Feature", "type":"Feature",
"properties":{ "properties":{
"community_id":"3", "community_id":"4",
"color":"#673ab7" "color":"#673ab7"
}, },
"geometry":{ "geometry":{

View File

@ -11,7 +11,7 @@
{ {
"type":"Feature", "type":"Feature",
"properties":{ "properties":{
"community_id":"4", "community_id":"5",
"color":"#795548" "color":"#795548"
}, },
"geometry":{ "geometry":{

View File

@ -11,7 +11,7 @@
{ {
"type":"Feature", "type":"Feature",
"properties":{ "properties":{
"community_id":"5", "community_id":"6",
"color":"#3f51b5" "color":"#3f51b5"
}, },
"geometry":{ "geometry":{

View File

@ -11,7 +11,7 @@
{ {
"type":"Feature", "type":"Feature",
"properties":{ "properties":{
"community_id":"6", "community_id":"7",
"color":"#8bc34a" "color":"#8bc34a"
}, },
"geometry":{ "geometry":{

View File

@ -11,7 +11,7 @@
{ {
"type":"Feature", "type":"Feature",
"properties":{ "properties":{
"community_id":"7", "community_id":"8",
"color":"#00bcd4" "color":"#00bcd4"
}, },
"geometry":{ "geometry":{

View File

@ -11,7 +11,7 @@
{ {
"type":"Feature", "type":"Feature",
"properties":{ "properties":{
"community_id":"8", "community_id":"9",
"color":"#009688" "color":"#009688"
}, },
"geometry":{ "geometry":{

View File

@ -11,7 +11,7 @@
{ {
"type":"Feature", "type":"Feature",
"properties":{ "properties":{
"community_id": "10", "community_id": "11",
"color":"#2196f3" "color":"#2196f3"
}, },
"geometry":{ "geometry":{

View File

@ -11,7 +11,7 @@
{ {
"type":"Feature", "type":"Feature",
"properties":{ "properties":{
"community_id":"9", "community_id":"10",
"color":"#4caf50" "color":"#4caf50"
}, },
"geometry":{ "geometry":{

View File

@ -11,7 +11,7 @@
{ {
"type":"Feature", "type":"Feature",
"properties":{ "properties":{
"community_id":"12", "community_id":"13",
"color":"#ff9800" "color":"#ff9800"
}, },
"geometry":{ "geometry":{

View File

@ -11,7 +11,7 @@
{ {
"type":"Feature", "type":"Feature",
"properties":{ "properties":{
"community_id":"14", "community_id":"16",
"color":"#ff5722" "color":"#ff5722"
}, },
"geometry":{ "geometry":{

View File

@ -18,7 +18,7 @@ if (count($community) == 1) {
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title><?php echo $community[0]["head_titel"]?></title> <title>Freifunk Rhein-Sieg Firmware Downloader</title>
<meta name="author" content="Leo Maroni, Caspar Armster" /> <meta name="author" content="Leo Maroni, Caspar Armster" />