hotosm / HDM-CartoCSS

CartoCSS project focused on the Humanitarian Data Model
Other
138 stars 41 forks source link

landfill_type column does not exist error appears in tilemill #148

Closed skorasaurus closed 11 years ago

skorasaurus commented 11 years ago

here's the error that I receive as of: https://github.com/hotosm/HDM-CartoCSS/commit/5309fb0f94df106d283de107fb4c0b4d6f14d5b5

checking to see if i can replicate in master.

ERROR: column "landfill_type" does not exist LINE 1: SELECT ST_AsBinary("way") AS geom,"landfill_type","type" FRO... ^

Full sql was: 'SELECT ST_AsBinary("way") AS geom,"landfill_type","type" FROM ( SELECT way, way_area AS area, COALESCE(landuse, leisure, "natural", highway, amenity, tourism) AS type FROM planet_osm_polygon WHERE way_area > 10000 ORDER BY way_area DESC ) AS data WHERE "way" && ST_SetSRID('BOX3D(-1888300.346756995 1614350.037382923,-1849164.588274986 1653485.795864932)'::box3d, 900913)'

skorasaurus commented 11 years ago

This error was occurring sporadicly and I couldn't figure out what was triggering it. This hasn't appeared since I updated to https://github.com/hotosm/HDM-CartoCSS/commit/58cfd43569d3045a55fb7ee106d0adf4bc2bb214 later that day, so, closing it. If I experience it again, I'll reopen.