Instructions:
- Go to http://bit.ly/carto-viewer
- Add the following endpoint: http://builder-demo.carto.com/api/v1/map
- Apply the query and CartoCSS style
Instructions:
| select | |
| * | |
| from | |
| bcn_buildings | |
| where | |
| sobre_rasa > 0 | |
| ORDER BY | |
| ST_YMax(the_geom) DESC |
| #layer { | |
| line-width: 0.25; | |
| line-color: #FFF; | |
| line-opacity: 0.5; | |
| building-fill: ramp([sobre_rasa], (#ffffcc, #c7e9b4, #7fcdbb, #41b6c4, #1d91c0, #225ea8, #0c2c84), jenks); | |
| building-fill-opacity: 1; | |
| building-height: [sobre_rasa]*2; | |
| } |
