]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/imports.php
take country names only from relations
[nominatim.git] / utils / imports.php
index 073bc036d8afc47eec8c9c1e07a16560ac42c8d8..8dc2c8203b3309dcc677972cb64a9fea2019756b 100755 (executable)
@@ -26,7 +26,7 @@ if (isset($aCMDResult['parse-tiger'])) {
 
     foreach (glob($aCMDResult['parse-tiger'].'/tl_20??_?????_edges.zip', 0) as $sImportFile) {
         set_time_limit(30);
-        preg_match('#([0-9]{5})_(.*)#',basename($sImportFile), $aMatch);
+        preg_match('#([0-9]{5})_(.*)#', basename($sImportFile), $aMatch);
         $sCountyID = $aMatch[1];
         echo "Processing ".$sCountyID."...\n";
         $sUnzipCmd = "unzip -d $sTempDir $sImportFile";