Correct filtering for us roads. Fixes #81

pull/89/head
Lukas Martinelli 2016-12-01 13:21:25 +00:00
rodzic ec5a0aa15f
commit b931261e4b
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -24,7 +24,7 @@ CREATE TABLE IF NOT EXISTS ne_10m_global_roads AS (
-- etldoc: ne_10m_roads_north_america -> ne_10m_global_roads
SELECT geom AS geometry, scalerank, ne_highway(type) AS highway
FROM ne_10m_roads_north_america
WHERE type IN ('Major Highway', 'Secondary Highway', 'Road')
WHERE class IN ('State', 'Federal', 'Interstate')
);
CREATE INDEX IF NOT EXISTS ne_10m_global_roads_geometry_idx ON ne_10m_global_roads USING gist(geometry);