From aae2dde522bb5307ce92cd253ab4b5ebe5cebb34 Mon Sep 17 00:00:00 2001 From: Math1985 Date: Mon, 21 Apr 2014 14:21:06 +0100 Subject: [PATCH] Change list of light buildings - The building types residential, house, detached, terrace and apartments are no longer light. - The building types roof, service, shed, shelter, cabin, storage_tank, tank, support, glasshouse, mobile_home, kiosk silo, canopy and tent are now light. This commit is based on a comment by @vincentdephily: https://github.com/gravitystorm/openstreetmap-carto/pull/434#issuecomment-38928265 This closes #68 and supersedes #434. --- project.mml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.mml b/project.mml index 7082f69d30..84c0586967 100644 --- a/project.mml +++ b/project.mml @@ -744,7 +744,7 @@ ], "Datasource": { "type": "postgis", - "table": " (select way,aeroway,\n case\n when building in ('residential','house','garage','garages','detached','terrace','apartments') then 'INT-light'::text\n else building\n end as building\n from planet_osm_polygon\n where (building is not null\n and building not in ('no','station','supermarket','planned')\n and (railway is null or railway != 'station')\n and (amenity is null or amenity != 'place_of_worship'))\n or aeroway = 'terminal'\n order by z_order,way_area desc) as buildings", + "table": " (select way,aeroway,\n case\n when building in ('garage','roof','garages','service','shed','shelter','cabin','storage_tank','tank','support','glasshouse','mobile_home','kiosk','silo','canopy','tent') then 'INT-light'::text\n else building\n end as building\n from planet_osm_polygon\n where (building is not null\n and building not in ('no','station','supermarket','planned')\n and (railway is null or railway != 'station')\n and (amenity is null or amenity != 'place_of_worship'))\n or aeroway = 'terminal'\n order by z_order,way_area desc) as buildings", "extent": "-20037508,-19929239,20037508,19929239", "key_field": "", "geometry_field": "way",