]> git.openstreetmap.org Git - nominatim.git/commitdiff
move blocking of highway objects into osm2pgsql
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 19 Sep 2013 20:08:22 +0000 (22:08 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 19 Sep 2013 20:12:33 +0000 (22:12 +0200)
osm2pgsql
sql/functions.sql

index 0005c3312cdbddb51fdb749315d4c7df59daa82a..48377cecdccacc64528fe070a1495cb2070e833a 160000 (submodule)
--- a/osm2pgsql
+++ b/osm2pgsql
@@ -1 +1 @@
-Subproject commit 0005c3312cdbddb51fdb749315d4c7df59daa82a
+Subproject commit 48377cecdccacc64528fe070a1495cb2070e833a
index 48720628e63c38126e32ca5fda7c43b9bfc1b7be..09ff155c1e26eb3781148f2312906f62255f225f 100644 (file)
@@ -938,10 +938,6 @@ BEGIN
   --DEBUG: RAISE WARNING '% %',NEW.osm_type,NEW.osm_id;
 
   -- just block these
-  IF NEW.class = 'highway' and NEW.type in ('turning_circle','traffic_signals','mini_roundabout','noexit','crossing') THEN
---    RAISE WARNING 'bad highway %',NEW.osm_id;
-    RETURN null;
-  END IF;
   IF NEW.class in ('landuse','natural') and NEW.name is null THEN
 --    RAISE WARNING 'empty landuse %',NEW.osm_id;
     RETURN null;
@@ -2044,9 +2040,6 @@ BEGIN
   END IF;
 
   -- Just block these - lots and pointless
-  IF NEW.class = 'highway' and NEW.type in ('turning_circle','traffic_signals','mini_roundabout','noexit','crossing') THEN
-    RETURN null;
-  END IF;
   IF NEW.class in ('landuse','natural') and NEW.name is null THEN
     RETURN null;
   END IF;