This commit is contained in:
stubbfel
2013-08-14 15:48:21 +02:00
parent 8438b526fe
commit 82fdac229b
33 changed files with 30 additions and 31 deletions

View File

@@ -4,7 +4,7 @@
* @author stubbfel
* @since 01.07.2013
*/
if (($handle = fopen(utf8_decode("../../map/campus-senftenberg-gebäude.csv"), "r")) !== FALSE) {
if (($handle = fopen(utf8_decode("../../map/campus-cottbus-mitte-gebäude.csv"), "r")) !== FALSE) {
$firstRow = true;
while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
@@ -16,7 +16,7 @@ if (($handle = fopen(utf8_decode("../../map/campus-senftenberg-gebäude.csv"), "
$id = $data[1];
$name = $data[2];
$typ = $data[3];
$insetPlace = "INSERT INTO `place`(`id`, `plan`,parent) VALUES ($id,GeomFromText('$plan'),-3);\n";
$insetPlace = "INSERT INTO `place`(`id`, `plan`,parent) VALUES ($id,GeomFromText('$plan'),1);\n";
$insertAlias = "INSERT INTO `placealias`(`pid`, `alias`) VALUES ($id,$id);\n";
$insertDomain = "INSERT INTO `placedomain`(`pid`, `did`) VALUES ($id,1);\n";
$insertName = "";