Added rimo filters to Preorder

This commit is contained in:
Frank Schubert
2023-05-24 14:39:50 +02:00
parent cdae3cd24a
commit 426170a8c1
5 changed files with 45 additions and 6 deletions
@@ -113,8 +113,8 @@ while($csv = fgetcsv($input, 0, ";")) {
if($strasse_name == "Schilcherlandsiedlung") $strasse_name = "Schilcherland Siedlung";
//if($strasse_name == "Bierbaumer Strasse") $strasse_name = "Bierbaumerstrasse";
if(preg_match('/GST(\s+\.)?$/', $strasse_name) && !$adrcd) continue;
if(preg_match('/^L\d+/',$strasse_name)) continue;
if(preg_match('/^BP/',$strasse_name)) continue;
if(preg_match('/^L\d+/',$strasse_name) && !$adrcd) continue;
if(preg_match('/^BP/',$strasse_name) && !$adrcd) continue;
if($strasse_name == "Lemsitz GNR") {
@@ -209,7 +209,7 @@ while($csv = fgetcsv($input, 0, ";")) {
$sql = "SELECT * FROM view_hausnummer WHERE gemeinde_id = $gemeinde_id AND strasse IN ('". implode("', '", $strasse_search)."') AND hausnummer='$hausnummer_name'";
echo "$sql\n";
//echo "$sql\n";
/*if(preg_match('/^Tobelbader/i',$strasse_name)) {
echo "$sql\n";
}*/