Add default value false as ispolygon() return value in layer road

pull/297/head
Manuel Roth 2016-04-27 13:08:02 +02:00
rodzic 994662efaa
commit f89b13e047
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -328,7 +328,7 @@ Layer:
table: |-
(
SELECT osm_id, geometry, type, class, oneway, structure FROM (
SELECT osm_ids2mbid(MAX(osm_id), is_polygon(geometry)) AS osm_id, ST_CollectionExtract(ST_Collect(geometry), 2) AS geometry,
SELECT osm_ids2mbid(MAX(osm_id), false) AS osm_id, ST_CollectionExtract(ST_Collect(geometry), 2) AS geometry,
road_type(road_class(type, NULL, NULL), type, NULL, NULL, NULL) AS type,
road_class(type, NULL, NULL) AS class, road_oneway(0) AS oneway, 'none' AS structure, NULL AS z_order
FROM (