Skip to content

Commit

Permalink
Change list of light buildings
Browse files Browse the repository at this point in the history
- 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:
gravitystorm#434 (comment)

This closes gravitystorm#68 and supersedes gravitystorm#434.
  • Loading branch information
matthijsmelissen committed Apr 21, 2014
1 parent a4f8a66 commit aae2dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit aae2dde

Please sign in to comment.