cluster
Walter Hupfeld 3 years ago
parent 7a4affe6ac
commit 449b1d5a00

@ -1,15 +1,27 @@
<?php <?php
date_default_timezone_set('UTC'); date_default_timezone_set('UTC');
$dbFilename = "db/unfallorte";
$db = new SQLite3($dbFilename);
$strTitle = "Unfallkarte Hamm "; // $dbFilename = "db/unfallorte";
$strIntroText = "Unfallkarte für die Stadt Hamm basierend auf den Daten des Statistischen Bundesamtes."; // $db = new SQLite3($dbFilename);
$numInfoLat =51.66;
$numInfoLng =7.825; $db_server = "mariadb";
$db_user = "unfallstatistik";
$db_passwd = "BCJloVozJbdDHQTS";
$db = "unfallstatistik";
try {
$db = new PDO('mysql:host='.$db_server.';dbname='.$db.';charset=utf8mb4', $db_user, $db_passwd);
} catch (PDOException $e) {echo "Fehler: ".$e->getMessage(); die();}
$strTitle = "Unfallkarte Soest ";
$strIntroText = "Unfallkarte für die Stadt Soest basierend auf den Daten des Statistischen Bundesamtes.";
$numInfoLat =51.5718;
$numInfoLng =8.10716;
$numZoom=12; $numZoom=12;
$fileGeojson ="geojson/hamm.geojson"; $fileGeojson ="geojson/soest.geojson";
$strLocation = " AND ULAND=5 AND UREGBEZ=9 AND UKREIS=74 AND UGEMEINDE=40 ";
$arrVehicles = array ( $arrVehicles = array (
1 => "Fahrrad", 1 => "Fahrrad",

Loading…
Cancel
Save