Skip to content

Commit

Permalink
Exclude non-buildings from buildings data set
Browse files Browse the repository at this point in the history
  • Loading branch information
Xowap committed Aug 15, 2014
1 parent 902db7d commit c175d60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osm-bright/osm-bright.osm2pgsql.mml
Expand Up @@ -242,7 +242,7 @@
"extent": "-20037508.34 -20037508.34 20037508.34 20037508.34",
"geometry_field": "way",
"key_field": "",
"table": "( SELECT way, \"building\" AS type\n FROM planet_osm_polygon\n WHERE building NOT IN ('0','false', 'no')\n ORDER BY ST_YMin(ST_Envelope(way)) DESC\n) AS data",
"table": "( SELECT way, \"building\" AS type\n FROM planet_osm_polygon\n WHERE building NOT IN ('', '0','false', 'no')\n ORDER BY ST_YMin(ST_Envelope(way)) DESC\n) AS data",
"type": "postgis"
},
"class": "",
Expand Down Expand Up @@ -557,4 +557,4 @@
"minzoom": 0,
"name": "OSM Bright",
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over"
}
}

0 comments on commit c175d60

Please sign in to comment.