Add Other Communities

This commit is contained in:
labcode-de 2017-06-04 23:17:24 +02:00
parent 32e6816ead
commit e86fc183d3
No known key found for this signature in database
GPG Key ID: 9CDB093B80490C2F
17 changed files with 2132 additions and 16 deletions

View File

@ -17,32 +17,178 @@
); );
$community = array( $community = array(
0 => array( 0 => array(
"community_id" => 0, "community_id" => 0,
"name" => "Freifunk Siegburg", "name" => "Hennef",
"linktoseite" => "https://images.freifunk-hennef.de/downloader/firmware.php?id=0",
"geojson" => "geojson/hennef.geojson"
),
1 => array(
"community_id" => 1,
"name" => "Königswinter",
"head_titel" => "Freifunk Königswinter Firmware",
"link_text" => "Zurück zur Startseite",
"link_url" => "http://downloader.freifunk-siegburg.de/",
"lang_titel" => "Freifunk Königswinter 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/königswinter/",
"sub_auswahl" => "",
"geojson" => "geojson/koenigswinter.geojson"
),
2 => array(
"community_id" => 2,
"name" => "Lohmar",
"head_titel" => "Freifunk Lohmar Firmware",
"link_text" => "Zurück zur Startseite",
"link_url" => "http://downloader.freifunk-siegburg.de/",
"lang_titel" => "Freifunk Lohmar 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/lohmar/",
"sub_auswahl" => "",
"geojson" => "geojson/lohmar.geojson"
),
3 => array(
"community_id" => 3,
"name" => "Meckenheim",
"head_titel" => "Freifunk Meckenheim Firmware",
"link_text" => "Zurück zur Startseite",
"link_url" => "http://downloader.freifunk-siegburg.de/",
"lang_titel" => "Freifunk Meckenheim 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/meckenheim/",
"sub_auswahl" => "",
"geojson" => "geojson/meckenheim.geojson"
),
4 => array(
"community_id" => 4,
"name" => "Much",
"head_titel" => "Freifunk Much Firmware",
"link_text" => "Zurück zur Startseite",
"link_url" => "http://downloader.freifunk-siegburg.de/",
"lang_titel" => "Freifunk Much 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/much/",
"sub_auswahl" => "",
"geojson" => "geojson/much.geojson"
),
5 => array(
"community_id" => 5,
"name" => "Neunkirchen",
"head_titel" => "Freifunk Neunkirchen Firmware",
"link_text" => "Zurück zur Startseite",
"link_url" => "http://downloader.freifunk-siegburg.de/",
"lang_titel" => "Freifunk Neunkirchen 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/neunkirchen/",
"sub_auswahl" => "",
"geojson" => "geojson/neunkirchen.geojson"
),
6 => array(
"community_id" => 6,
"name" => "Niederkassel",
"head_titel" => "Freifunk Niederkassel Firmware",
"link_text" => "Zurück zur Startseite",
"link_url" => "http://downloader.freifunk-siegburg.de/",
"lang_titel" => "Freifunk Niederkassel 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/niederkassel/",
"sub_auswahl" => "",
"geojson" => "geojson/niederkassel.geojson"
),
7 => array(
"community_id" => 7,
"name" => "Rheinbach",
"head_titel" => "Freifunk Rheinbach Firmware",
"link_text" => "Zurück zur Startseite",
"link_url" => "http://downloader.freifunk-siegburg.de/",
"lang_titel" => "Freifunk Niederkassel 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/rheinbach/",
"sub_auswahl" => "",
"geojson" => "geojson/rheinbach.geojson"
),
8 => array(
"community_id" => 8,
"name" => "Ruppichteroth",
"head_titel" => "Freifunk Ruppichteroth Firmware",
"link_text" => "Zurück zur Startseite",
"link_url" => "http://downloader.freifunk-siegburg.de/",
"lang_titel" => "Freifunk Ruppichteroth 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/ruppichteroth/",
"sub_auswahl" => "",
"geojson" => "geojson/ruppichteroth.geojson"
),
9 => array(
"community_id" => 9,
"name" => "Sankt Augustin",
"head_titel" => "Freifunk Sankt Augustin Firmware",
"link_text" => "Zurück zur Startseite",
"link_url" => "http://downloader.freifunk-siegburg.de/",
"lang_titel" => "Freifunk Sankt Augustin 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/sanktaugustin/",
"sub_auswahl" => "",
"geojson" => "geojson/staugustin.geojson"
),
10 => array(
"community_id" => 10,
"name" => "Siegburg",
"head_titel" => "Freifunk Siegburg Firmware", "head_titel" => "Freifunk Siegburg Firmware",
"link_text" => "Zurück zur Startseite", "link_text" => "Zurück zur Startseite",
"link_url" => "http://www.freifunk-siegburg.de/", "link_url" => "http://www.freifunk-siegburg.de/",
"logo_alt" => "Freifunk Rhein-Sieg Logo",
"logo_url" => "images/Freifunk-logo-siegburg-klein-200.png",
"lang_titel" => "Freifunk Siegburg Firmware Auswahl", "lang_titel" => "Freifunk Siegburg 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.", "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/siegburg/", "download_path" => "fwuploads/siegburg/",
"sub_auswahl" => "", "sub_auswahl" => "",
"geojson" => "geojson/siegburg.geojson" "geojson" => "geojson/siegburg.geojson"
), ),
1 => array( 11 => array(
"community_id" => 1, "community_id" => 11,
"name" => "Freifunk Lohmar", "name" => "Soziale Netzwerke",
"head_titel" => "Freifunk Lohmar Firmware", "head_titel" => "Freifunk für Soziale Netzwerke Firmware",
"link_text" => "Zurück zur Startseite", "link_text" => "Zurück zur Startseite",
"link_url" => "http://downloader.freifunk-siegburg.de/", "link_url" => "http://downloader.freifunk-siegburg.de/",
"logo_alt" => "Freifunk Lohmar Logo",
"logo_url" => "images/Freifunk-logo-lohmar-klein-200.png",
"lang_titel" => "Freifunk Lohmar Firmware Auswahl", "lang_titel" => "Freifunk Lohmar 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.", "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/lohmar/", "download_path" => "fwuploads/troisdorf/flu",
"sub_auswahl" => "", "sub_auswahl" => "",
"geojson" => "geojson/lohmar.geojson" "geojson" => ""
), ),
12 => array(
"community_id" => 12,
"name" => "Troisdorf",
"head_titel" => "Freifunk Troisdorf Firmware",
"link_text" => "Zurück zur Startseite",
"link_url" => "http://downloader.freifunk-siegburg.de/",
"lang_titel" => "Freifunk Troisdorf 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/troisdorf/tdf",
"sub_auswahl" => "",
"geojson" => "geojson/troisdorf.geojson"
),
13 => array(
"community_id" => 13,
"name" => "Troisdorf - Fußgängerzone",
"head_titel" => "Freifunk Troisdorf Fußgänerzone Firmware",
"link_text" => "Zurück zur Startseite",
"link_url" => "http://downloader.freifunk-siegburg.de/",
"lang_titel" => "Freifunk Troisdorf 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/troisdorf/inn",
"sub_auswahl" => "",
"geojson" => ""
),
14 => array(
"community_id" => 14,
"name" => "Wachtberg",
"head_titel" => "Freifunk Wachtberg Firmware",
"link_text" => "Zurück zur Startseite",
"link_url" => "http://downloader.freifunk-siegburg.de/",
"lang_titel" => "Freifunk Wachtberg 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/wachtberg",
"sub_auswahl" => "",
"geojson" => "geojson/wachtberg.geojson"
),
); );

View File

@ -32,6 +32,10 @@ $community_id = $_REQUEST['id'];
<link rel="icon" href="favicon.ico" type="image/x-icon"> <link rel="icon" href="favicon.ico" type="image/x-icon">
<?php <?php
if($community[$community_id]["linktoseite"] != null) {
header("Location: ".$community[$community_id]['linktoseite']);
die();
}
$firmware_download_path = $community[$community_id]["download_path"]; $firmware_download_path = $community[$community_id]["download_path"];
try { try {

201
geojson/hennef.geojson Normal file
View File

@ -0,0 +1,201 @@
{
"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"
},
"geometry":{
"type":"Polygon",
"coordinates":[
[
[
7.305992215845735,
50.813068776849896
],
[
7.336354566762565,
50.80931691439563
],
[
7.341620893832444,
50.80355260946186
],
[
7.337924661987926,
50.799174088990384
],
[
7.340800175257225,
50.79574918918861
],
[
7.363189793034723,
50.804255121498386
],
[
7.371423293103076,
50.793184389315286
],
[
7.367731073696625,
50.79188693581975
],
[
7.369203128348476,
50.77949880496719
],
[
7.380803936378155,
50.779136156489486
],
[
7.382839225289939,
50.770158241871016
],
[
7.39338488256011,
50.76130074638236
],
[
7.413296131126293,
50.76315672680434
],
[
7.412501643601504,
50.75478745473475
],
[
7.419360567267763,
50.7463788326096
],
[
7.415001320479061,
50.74254353472322
],
[
7.425130520670566,
50.73353730954724
],
[
7.424241137471139,
50.720806973547816
],
[
7.439129236937861,
50.711187601503276
],
[
7.423396633125697,
50.70995095897779
],
[
7.407050971009926,
50.718187622324784
],
[
7.397282413114079,
50.714269920096434
],
[
7.374010755091872,
50.718218641349644
],
[
7.362433949846745,
50.70111747342069
],
[
7.349305043544935,
50.69628598701886
],
[
7.341526039257555,
50.697253656871794
],
[
7.332792448704192,
50.7005812597693
],
[
7.32674591454942,
50.70999695835716
],
[
7.319643814663089,
50.712279641152335
],
[
7.314726826703526,
50.718439635577546
],
[
7.29527615030896,
50.725745143203696
],
[
7.289958659320702,
50.73367828736359
],
[
7.262332685706536,
50.73463830008586
],
[
7.242720087661549,
50.741338388382616
],
[
7.229644730919691,
50.75331775359523
],
[
7.23077514521109,
50.75764574954088
],
[
7.24205163668085,
50.76106163560774
],
[
7.245320384702853,
50.78379556066008
],
[
7.242500016308063,
50.79060622272115
],
[
7.262968832913181,
50.79743893988545
],
[
7.279501390976368,
50.79057729302333
],
[
7.279555096597982,
50.80171944048642
],
[
7.297484750584827,
50.812759340789434
],
[
7.305992215845735,
50.813068776849896
]
]
]
}
}
]
}

View File

@ -0,0 +1,185 @@
{
"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":"1"
},
"geometry":{
"type":"Polygon",
"coordinates":[
[
[
7.241180658121503,
50.745086779668455
],
[
7.242720087661549,
50.741338388382616
],
[
7.256415185600453,
50.73565251386789
],
[
7.289958659320702,
50.73367828736359
],
[
7.29527615030896,
50.725745143203696
],
[
7.314726826703526,
50.718439635577546
],
[
7.319643814663089,
50.712279641152335
],
[
7.32674591454942,
50.70999695835716
],
[
7.332792448704192,
50.7005812597693
],
[
7.341526039257555,
50.697253656871794
],
[
7.36830787202213,
50.69709009589077
],
[
7.364635414797967,
50.692235585572924
],
[
7.372062798617264,
50.68210706420175
],
[
7.366175165584966,
50.68070489552597
],
[
7.369315910682903,
50.67254968931046
],
[
7.342627770216047,
50.67153588732737
],
[
7.340681979675172,
50.674112465559396
],
[
7.333245090727209,
50.670504804857885
],
[
7.318457206198076,
50.67206218223426
],
[
7.320407610822264,
50.679029851349064
],
[
7.298041374938018,
50.68689641984818
],
[
7.288871351981606,
50.67445057428043
],
[
7.268710987722357,
50.676996161589656
],
[
7.247920566628346,
50.67084742139868
],
[
7.224399169135247,
50.67219193701357
],
[
7.214320951588994,
50.66354789369184
],
[
7.209850098416473,
50.66579367273513
],
[
7.200170656738829,
50.662048307536004
],
[
7.176563878575886,
50.687114469613675
],
[
7.168237685458138,
50.70348964302292
],
[
7.174971638245492,
50.707700013470934
],
[
7.19396780408392,
50.71045092369741
],
[
7.196577745091191,
50.71305632943136
],
[
7.191262592081926,
50.72659467341673
],
[
7.20910622998096,
50.736931027156174
],
[
7.207041656483143,
50.73945568841583
],
[
7.220559293135089,
50.7444236238164
],
[
7.239305422057518,
50.744719893472336
],
[
7.238146385423169,
50.747228650707775
],
[
7.241180658121503,
50.745086779668455
]
]
]
}
}
]
}

View File

@ -11,7 +11,7 @@
{ {
"type":"Feature", "type":"Feature",
"properties":{ "properties":{
"community_id": "1" "community_id": "2"
}, },
"geometry":{ "geometry":{
"type":"Polygon", "type":"Polygon",

149
geojson/meckenheim.geojson Normal file
View File

@ -0,0 +1,149 @@
{
"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":"3"
},
"geometry":{
"type":"Polygon",
"coordinates":[
[
[
7.024341991575346,
50.662009381215405
],
[
7.026879245740833,
50.65495159085289
],
[
7.03248204073807,
50.65430012419505
],
[
7.050659280246245,
50.63962725833799
],
[
7.060008559766892,
50.63888119867724
],
[
7.0560982867468,
50.63186602981456
],
[
7.064028160374225,
50.632264289164695
],
[
7.064222163633812,
50.624424590906244
],
[
7.042523429371555,
50.616652133215545
],
[
7.03794917384514,
50.605390737576954
],
[
7.043162529312359,
50.60245735572736
],
[
7.04889554024381,
50.60532211809885
],
[
7.04900905451604,
50.603208745403165
],
[
7.015911208263798,
50.57698842226416
],
[
6.998096294634187,
50.56504990464773
],
[
6.985679764710591,
50.56485245908502
],
[
6.983515147382838,
50.571074000834464
],
[
6.957829219473759,
50.57323222521432
],
[
6.956317640416278,
50.577015858078624
],
[
6.997189379538712,
50.596719190226686
],
[
7.005897543128913,
50.60702990875373
],
[
7.007811394438509,
50.611492159073904
],
[
7.000028221381486,
50.620686641314194
],
[
6.988461084649442,
50.62560512285415
],
[
6.987157852965328,
50.63013248653379
],
[
7.014095253850654,
50.642082035036275
],
[
7.0011339002272,
50.6443475761548
],
[
6.992756610941499,
50.6495073216453
],
[
7.018918052152416,
50.66652115986528
],
[
7.024932056205366,
50.66512575276486
],
[
7.024341991575346,
50.662009381215405
]
]
]
}
}
]
}

209
geojson/much.geojson Normal file
View File

@ -0,0 +1,209 @@
{
"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":"4"
},
"geometry":{
"type":"Polygon",
"coordinates":[
[
[
7.406419358919639,
50.94762177214607
],
[
7.444177064316765,
50.94747608089462
],
[
7.443827246638047,
50.94282919868853
],
[
7.461384683332916,
50.935688841276495
],
[
7.46200520106736,
50.92968961434931
],
[
7.47076550167368,
50.924713198650316
],
[
7.479297465839325,
50.91095029085512
],
[
7.467964056348522,
50.89800299364093
],
[
7.469178022519014,
50.88965087573533
],
[
7.461272685737134,
50.881213644199526
],
[
7.460946662405227,
50.87444221431993
],
[
7.453048568848511,
50.87399214394727
],
[
7.446609940040791,
50.86735726796638
],
[
7.438630322831201,
50.867084144848434
],
[
7.442755844122638,
50.854333263675365
],
[
7.436959185941786,
50.849029418539814
],
[
7.430272218715795,
50.85120317774715
],
[
7.430614153295672,
50.847961281513896
],
[
7.420583036559062,
50.84628174981604
],
[
7.417296472509351,
50.84221410721538
],
[
7.413351670978029,
50.84228937339726
],
[
7.411584716890175,
50.84619576935323
],
[
7.406383593791248,
50.845264780306096
],
[
7.402815017968845,
50.854427276987835
],
[
7.367042530639538,
50.86485959518831
],
[
7.372192091236665,
50.87017667299169
],
[
7.367241181785757,
50.8739516879785
],
[
7.362439633402658,
50.87275939927224
],
[
7.36157020811188,
50.875518671625805
],
[
7.353286038282118,
50.874889263488086
],
[
7.341587157588179,
50.88409084899788
],
[
7.343692321143735,
50.8962788673375
],
[
7.336505383265026,
50.901234750776084
],
[
7.330883308589399,
50.900766361338185
],
[
7.331250597240318,
50.90436070438452
],
[
7.322753217566687,
50.9032371185296
],
[
7.303434363552256,
50.90725535576976
],
[
7.324164368736081,
50.91697363227077
],
[
7.335209510796221,
50.91106084296655
],
[
7.345756755984745,
50.91223010945857
],
[
7.359150503584523,
50.92271518979834
],
[
7.363255228860568,
50.93472248062191
],
[
7.385784027677973,
50.93434635203072
],
[
7.394602538374291,
50.94334450555901
],
[
7.393766701350992,
50.94880652731814
],
[
7.406419358919639,
50.94762177214607
]
]
]
}
}
]
}

189
geojson/neunkirchen.geojson Normal file
View File

@ -0,0 +1,189 @@
{
"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":"5"
},
"geometry":{
"type":"Polygon",
"coordinates":[
[
[
7.303434363552256,
50.90725535576976
],
[
7.322753217566687,
50.9032371185296
],
[
7.331250597240318,
50.90436070438452
],
[
7.330883308589399,
50.900766361338185
],
[
7.336505383265026,
50.901234750776084
],
[
7.343692321143735,
50.8962788673375
],
[
7.341587157588179,
50.88409084899788
],
[
7.353286038282118,
50.874889263488086
],
[
7.367241181785757,
50.8739516879785
],
[
7.372383135392335,
50.86902909443342
],
[
7.367042530639538,
50.86485959518831
],
[
7.402815017968845,
50.854427276987835
],
[
7.407417929065137,
50.84682327676014
],
[
7.376101699640399,
50.845453346714876
],
[
7.367813293046154,
50.83144225119181
],
[
7.361831946844559,
50.83030801920326
],
[
7.36505496800773,
50.828269794130414
],
[
7.35605768313278,
50.82190242214491
],
[
7.355723220960213,
50.81675106120364
],
[
7.347470655847153,
50.81622987669719
],
[
7.34831047108749,
50.81243423282748
],
[
7.337817589192693,
50.808285114677304
],
[
7.316990036663177,
50.81313695555621
],
[
7.298818536105567,
50.81191553412008
],
[
7.30920425230506,
50.820442802983116
],
[
7.303793850671669,
50.81979740675673
],
[
7.305121345900579,
50.8234303246292
],
[
7.296630530305391,
50.82248313319438
],
[
7.28314996984564,
50.82806317480935
],
[
7.288486165434747,
50.83419106925503
],
[
7.289283963186543,
50.843858694333065
],
[
7.299395041961212,
50.8552694450659
],
[
7.289810600078698,
50.862407819869205
],
[
7.27926236099566,
50.86143123153995
],
[
7.275824225655047,
50.86791931736017
],
[
7.28159395759392,
50.875239249652935
],
[
7.293631438292942,
50.87943580140051
],
[
7.304739448918386,
50.87957979855253
],
[
7.306581843678129,
50.88633092520841
],
[
7.299743008813436,
50.90066944000722
],
[
7.303434363552256,
50.90725535576976
]
]
]
}
}
]
}

View File

@ -0,0 +1,157 @@
{
"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":"6"
},
"geometry":{
"type":"Polygon",
"coordinates":[
[
[
7.051627632196581,
50.84925413338691
],
[
7.057926072816302,
50.84912583576175
],
[
7.061270096198355,
50.84417398212247
],
[
7.062354846414035,
50.82963003266808
],
[
7.090617567690088,
50.83327427826498
],
[
7.100675564261434,
50.820004608657925
],
[
7.084984905791411,
50.817192816947404
],
[
7.086368754434594,
50.809955697355925
],
[
7.09456068291731,
50.80485527276785
],
[
7.085387281666537,
50.798721772792106
],
[
7.08887013322298,
50.79638333348472
],
[
7.084119293523362,
50.793532263101135
],
[
7.088912428844838,
50.78979127532057
],
[
7.078509482084868,
50.785359334500484
],
[
7.082976447791324,
50.777537680019456
],
[
7.075575319350539,
50.76748321020391
],
[
7.035915787927577,
50.78549030279549
],
[
7.030164643196852,
50.793751275583446
],
[
7.029696150651235,
50.810039064523906
],
[
7.024995452271911,
50.81827754665219
],
[
7.012774650829347,
50.823516239761375
],
[
6.988511318124263,
50.82673104635717
],
[
6.979741973678567,
50.83401566224452
],
[
6.984081152791151,
50.844128602798556
],
[
6.987075659526433,
50.8392201991631
],
[
6.998204337603468,
50.83614264401872
],
[
7.011766927380783,
50.83993873402836
],
[
7.013401660204016,
50.83801450870805
],
[
7.023335571815643,
50.839256349293734
],
[
7.027095184479434,
50.84700036998108
],
[
7.033119510196793,
50.846730108669924
],
[
7.032549711669224,
50.848838864906156
],
[
7.051627632196581,
50.84925413338691
]
]
]
}
}
]
}

253
geojson/rheinbach.geojson Normal file
View File

@ -0,0 +1,253 @@
{
"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":"7"
},
"geometry":{
"type":"Polygon",
"coordinates":[
[
[
7.018918052152416,
50.66652115986528
],
[
6.992756610941499,
50.6495073216453
],
[
7.0011339002272,
50.6443475761548
],
[
7.014095253850654,
50.642082035036275
],
[
6.987157852965328,
50.63013248653379
],
[
6.988461084649442,
50.62560512285415
],
[
7.000028221381486,
50.620686641314194
],
[
7.008061199946837,
50.61115651836055
],
[
7.006551043257339,
50.607907674275225
],
[
6.997189379538712,
50.596719190226686
],
[
6.956317640416278,
50.577015858078624
],
[
6.957829219473759,
50.57323222521432
],
[
6.983515147382838,
50.571074000834464
],
[
6.983576971721074,
50.56573420622005
],
[
6.976577608174789,
50.56282380799722
],
[
6.976104596681484,
50.55777571569976
],
[
6.960440820664792,
50.556223553257134
],
[
6.947315423271744,
50.5636682683991
],
[
6.927901086851827,
50.55861862427332
],
[
6.921798146041551,
50.56612249765864
],
[
6.934746954787824,
50.57103652518883
],
[
6.927039603450465,
50.57527517149176
],
[
6.927208677720539,
50.57843328577509
],
[
6.917114567385822,
50.57815632236784
],
[
6.919247042293335,
50.57210590301573
],
[
6.914625951150856,
50.57112461243836
],
[
6.913208193598393,
50.5778097486131
],
[
6.909327186526462,
50.57860788842512
],
[
6.899332353424194,
50.57042309058513
],
[
6.896881843985692,
50.57450846436384
],
[
6.891174068128942,
50.57533000681453
],
[
6.891320542493101,
50.587369863995356
],
[
6.887480953489432,
50.58834877046226
],
[
6.884192141029039,
50.59940728802615
],
[
6.898406893437475,
50.60413065165014
],
[
6.908767557059572,
50.60230041208507
],
[
6.91377929183279,
50.605978456559455
],
[
6.904795319551288,
50.60849163531892
],
[
6.915439233935653,
50.62933079778513
],
[
6.898502445556818,
50.63571167334177
],
[
6.899998702717041,
50.64180717317698
],
[
6.905795427206003,
50.64421856426005
],
[
6.898375200093015,
50.65066705195579
],
[
6.911176414426366,
50.661650080164684
],
[
6.922494638619264,
50.660613659012824
],
[
6.923799600384821,
50.65689760260098
],
[
6.93388081612744,
50.65552455928771
],
[
6.93743282539648,
50.66190378416156
],
[
6.962573844852167,
50.65723504804175
],
[
6.965507089518519,
50.66004519897349
],
[
6.976748920261315,
50.65398376458053
],
[
6.988488631120365,
50.662745382903466
],
[
6.982646611691348,
50.668242744972254
],
[
6.984932755689483,
50.67044714457948
],
[
6.996749427429424,
50.6733460039899
],
[
7.010309779514896,
50.671711312273395
],
[
7.018918052152416,
50.66652115986528
]
]
]
}
}
]
}

View File

@ -0,0 +1,213 @@
{
"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":"8"
},
"geometry":{
"type":"Polygon",
"coordinates":[
[
[
7.462246567416919,
50.878726669051375
],
[
7.490877633180306,
50.87422195350074
],
[
7.506198195636633,
50.85975065152975
],
[
7.504372791137341,
50.852526593649316
],
[
7.512558128448573,
50.853989204110086
],
[
7.518308731546449,
50.851939836028336
],
[
7.52924817286363,
50.84213482841392
],
[
7.528921790556902,
50.83343676521588
],
[
7.502065729411038,
50.82806345794377
],
[
7.473714072040115,
50.81757486511265
],
[
7.463482836864802,
50.81817200460106
],
[
7.457259553825356,
50.81399259682418
],
[
7.440725549951226,
50.81317047063385
],
[
7.399328894519925,
50.80193097858689
],
[
7.39201705895656,
50.79906057749747
],
[
7.392492306820071,
50.79236414769722
],
[
7.38185278188053,
50.78829611135124
],
[
7.381424820034707,
50.777711958507574
],
[
7.376838004764001,
50.78087552295886
],
[
7.369203128348476,
50.77949880496719
],
[
7.367731073696625,
50.79188693581975
],
[
7.371423293103076,
50.793184389315286
],
[
7.363189793034723,
50.804255121498386
],
[
7.340800175257225,
50.79574918918861
],
[
7.337817589192693,
50.808285114677304
],
[
7.34831047108749,
50.81243423282748
],
[
7.347470655847153,
50.81622987669719
],
[
7.355723220960213,
50.81675106120364
],
[
7.35605768313278,
50.82190242214491
],
[
7.36505496800773,
50.828269794130414
],
[
7.361831946844559,
50.83030801920326
],
[
7.367813293046154,
50.83144225119181
],
[
7.376101699640399,
50.845453346714876
],
[
7.391131796210546,
50.84765800444239
],
[
7.411584716890175,
50.84619576935323
],
[
7.413351670978029,
50.84228937339726
],
[
7.417296472509351,
50.84221410721538
],
[
7.420583036559062,
50.84628174981604
],
[
7.430614153295672,
50.847961281513896
],
[
7.430272218715795,
50.85120317774715
],
[
7.437657369633509,
50.84922794603284
],
[
7.442854689876239,
50.854560999182645
],
[
7.438630322831201,
50.867084144848434
],
[
7.44730312874024,
50.86763664500249
],
[
7.453048568848511,
50.87399214394727
],
[
7.460946662405227,
50.87444221431993
],
[
7.462246567416919,
50.878726669051375
]
]
]
}
}
]
}

View File

@ -11,7 +11,7 @@
{ {
"type":"Feature", "type":"Feature",
"properties":{ "properties":{
"community_id": "0" "community_id": "10"
}, },
"geometry":{ "geometry":{
"type":"Polygon", "type":"Polygon",

125
geojson/staugustin.geojson Normal file
View File

@ -0,0 +1,125 @@
{
"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":"9"
},
"geometry":{
"type":"Polygon",
"coordinates":[
[
[
7.180251270856724,
50.79796410613954
],
[
7.189861457306718,
50.791321744524055
],
[
7.200367726022041,
50.7896398046852
],
[
7.220338228442328,
50.77965088671494
],
[
7.231921335841183,
50.791722493887995
],
[
7.242500016308063,
50.79060622272115
],
[
7.245320384702853,
50.78379556066008
],
[
7.24205163668085,
50.76106163560774
],
[
7.23077514521109,
50.75764574954088
],
[
7.229644730919691,
50.75331775359523
],
[
7.239305422057518,
50.744719893472336
],
[
7.220559293135089,
50.7444236238164
],
[
7.207041656483143,
50.73945568841583
],
[
7.198575927383396,
50.7475638018129
],
[
7.194960773577625,
50.74376603541352
],
[
7.18258567762452,
50.75173376635224
],
[
7.162994368356174,
50.75637051875951
],
[
7.156681239926158,
50.753918746788344
],
[
7.139730062814289,
50.76905795687381
],
[
7.125265297984769,
50.774435466448885
],
[
7.131201084192273,
50.7834980986866
],
[
7.143910406367107,
50.787334472805405
],
[
7.147213792937443,
50.795725439109
],
[
7.175012295269184,
50.80047998115016
],
[
7.180251270856724,
50.79796410613954
]
]
]
}
}
]
}

145
geojson/troisdorf.geojson Normal file
View File

@ -0,0 +1,145 @@
{
"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":"12"
},
"geometry":{
"type":"Polygon",
"coordinates":[
[
[
7.185665241668919,
50.87445059285362
],
[
7.209624086372428,
50.859544098033915
],
[
7.213396412215248,
50.85347427025695
],
[
7.202849774405916,
50.84570442313858
],
[
7.19132176293663,
50.82921179307591
],
[
7.194752486691901,
50.82361405154672
],
[
7.191567832154012,
50.81450857587173
],
[
7.182543458729692,
50.81087328834576
],
[
7.175012295269184,
50.80047998115016
],
[
7.146208953295146,
50.79527305002401
],
[
7.143910406367107,
50.787334472805405
],
[
7.131201084192273,
50.7834980986866
],
[
7.125265297984769,
50.774435466448885
],
[
7.111600274936293,
50.77072207725781
],
[
7.105116089568329,
50.76263299652406
],
[
7.096009165832547,
50.76190639999705
],
[
7.076943661753612,
50.76857750200691
],
[
7.082976447791324,
50.777537680019456
],
[
7.078509482084868,
50.785359334500484
],
[
7.088912428844838,
50.78979127532057
],
[
7.084119293523362,
50.793532263101135
],
[
7.08887013322298,
50.79638333348472
],
[
7.085387281666537,
50.798721772792106
],
[
7.09456068291731,
50.80485527276785
],
[
7.086368754434594,
50.809955697355925
],
[
7.084984905791411,
50.817192816947404
],
[
7.100675564261434,
50.820004608657925
],
[
7.090617567690088,
50.83327427826498
],
[
7.137641813901699,
50.85803312105547
],
[
7.185665241668919,
50.87445059285362
]
]
]
}
}
]
}

137
geojson/wachtberg.geojson Normal file
View File

@ -0,0 +1,137 @@
{
"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":"14"
},
"geometry":{
"type":"Polygon",
"coordinates":[
[
[
7.125599963976668,
50.65115651977844
],
[
7.128048493073197,
50.64726487495967
],
[
7.156430690284973,
50.65468256279831
],
[
7.184027571925204,
50.651127300728156
],
[
7.195200521214145,
50.64272321032323
],
[
7.189838907797947,
50.62389544364724
],
[
7.173981968717001,
50.618909518667
],
[
7.173019848639377,
50.61255228387663
],
[
7.154717366986707,
50.61470533746364
],
[
7.149216780537222,
50.609483967570895
],
[
7.147851587133212,
50.600293280365086
],
[
7.135429964682132,
50.602169056696994
],
[
7.119386718944817,
50.6123074126252
],
[
7.115121105360966,
50.61178614459459
],
[
7.104723509323127,
50.59239465255774
],
[
7.093399822826473,
50.586035158910484
],
[
7.069025677549422,
50.59274423432447
],
[
7.066347430470023,
50.600699207917046
],
[
7.059252758802113,
50.60037088156727
],
[
7.056131464348486,
50.60624075925606
],
[
7.043162529312359,
50.60245735572736
],
[
7.03794917384514,
50.605390737576954
],
[
7.042523429371555,
50.616652133215545
],
[
7.064222163633812,
50.624424590906244
],
[
7.064028160374225,
50.632264289164695
],
[
7.105341569450315,
50.659692359928265
],
[
7.120594305251571,
50.65670275248725
],
[
7.125599963976668,
50.65115651977844
]
]
]
}
}
]
}

View File

@ -42,9 +42,12 @@ if (count($community) == 1) {
<h3 class="thin">Freifunk Rhein-Sieg Firmware Downloader</h3> <h3 class="thin">Freifunk Rhein-Sieg Firmware Downloader</h3>
</header> </header>
<div class="row"> <div class="row">
<h5>W&auml;hle von der Karte: </h5>
<p>Die Versionen Soziale Netzwerke und Troisdorf - Fu&szlig;g&auml;ngerzone sind nur unten in der Auswahl verf&uuml;gbar</p>
<div id="map"></div> <div id="map"></div>
</div> </div>
<div class="row"> <div class="row">
<h5>oder :</h5>
<div class="input-field col s12"> <div class="input-field col s12">
<select onchange="selectChangeCommunity(this)"> <select onchange="selectChangeCommunity(this)">
<option disabled selected value=""><?php echo $texte["ebene1_text"]?></option> <option disabled selected value=""><?php echo $texte["ebene1_text"]?></option>

View File

@ -4,7 +4,7 @@ $(document).ready(function() {
var communityid = event.layer.feature.properties.community_id var communityid = event.layer.feature.properties.community_id
location.href = 'firmware.php?id=' + communityid location.href = 'firmware.php?id=' + communityid
} }
var map = L.map('map').setView([50.857048590, 7.207637429], 11) var map = L.map('map').setView([50.75600670286445, 7.170810699462891], 9.5)
L.tileLayer('https://cartodb-basemaps-{s}.global.ssl.fastly.net/{style}/{z}/{x}/{y}.png', { L.tileLayer('https://cartodb-basemaps-{s}.global.ssl.fastly.net/{style}/{z}/{x}/{y}.png', {
attribution: 'Map data &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap-Mitwirkende</a>, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="https://carto.com/location-data-services/basemaps">Carto</a>', attribution: 'Map data &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap-Mitwirkende</a>, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="https://carto.com/location-data-services/basemaps">Carto</a>',