maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [PATCH] ignore all the nominatim entries except boundar


From: David Decotigny
Subject: [Maposmatic-dev] [PATCH] ignore all the nominatim entries except boundaries and places
Date: Mon, 21 Dec 2009 00:30:16 +0100

---
 www/maposmatic/nominatim.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/www/maposmatic/nominatim.py b/www/maposmatic/nominatim.py
index f82c3ee..eecf890 100644
--- a/www/maposmatic/nominatim.py
+++ b/www/maposmatic/nominatim.py
@@ -139,6 +139,9 @@ def _retrieve_missing_data_from_GIS(entries):
                 except KeyError:
                     # Will ignore all the other place tags
                     continue
+            else:
+                # We ignore all the other classes
+                continue
 
             for table_name in ("polygon", "line"):
                 # Lookup the polygon/line table for both osm_id and
-- 
1.6.3.3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]