Browse Source

use only guidepost nodes

tkas 7 months ago
parent
commit
3cbef73622
1 changed files with 1 additions and 1 deletions
  1. 1 1
      detect/index.php

+ 1 - 1
detect/index.php

@@ -129,7 +129,7 @@ if(!isset($_GET['p']) || !in_array($_GET['p'],array ('all', 'wrong_osm', 'check_
   $detect_time = date ("d.m.Y H:i.", filemtime('csv/update.log'));
   echo "<p>Data from $db_time, photos analyze last run $detect_time</p>\n";
 
-  $query="SELECT nodeid, ref, ST_AsText(geom) AS geom, img FROM hicheck.analyze_cache WHERE img != ''";
+  $query="SELECT nodeid, ref, ST_AsText(geom) AS geom, img FROM hicheck.analyze_cache WHERE img != '' AND tags LIKE '%information:guidepost'";
   $res = pg_query($query);
 
   printf("<p>Using %d entries from analyze run</p>\n", pg_num_rows($res));