stamen / terrain-classic

World-wide CartoCSS port of Stamen's classic terrain style
ISC License
144 stars 35 forks source link

draw filled polygons for airport areas #30

Closed almccon closed 8 years ago

almccon commented 8 years ago

Where available from OSM. Will cover over landcover issues in airports:

screen shot 2015-09-18 at 6 03 46 pm

clhenrick commented 8 years ago

@almccon do you happen to know which tag OSM uses for airport fills?

almccon commented 8 years ago

Try aeroway=aerodrome, I think. http://www.openstreetmap.org/way/131190417

clhenrick commented 8 years ago

@almccon it looks like airport fills are linestring geometries so we can't apply a polygon-fill with CartoCSS (or is there a hack where we can?)

I suppose an alternative would be to create a separate table that converts these features to polygon geometries so we can render the fills?

terrain_seattle=# select distinct st_geometrytype(geometry) from osm_aeroways where type = 'aerodrome';
 st_geometrytype 
-----------------
 ST_LineString
(1 row)
clhenrick commented 8 years ago

referenced the wrong issue for this commit e13c8d9 but I added temporary cartoCSS to style the airport fills.

clhenrick commented 8 years ago

Actually I'm wrong, the fill is working for airport areas / aerodromes.

clhenrick commented 8 years ago

@almccon in looking into this I noticed:

Example: screen shot 2015-10-26 at 1 28 52 pm screen shot 2015-10-26 at 1 29 06 pm