danvk / comparea

Compare geographic features
13 stars 4 forks source link

Fill the shapes with map data #18

Open danvk opened 9 years ago

danvk commented 9 years ago

The Comparea shapes are filled with a single color. But including content inside them is helpful for establishing recognition and understanding. Compare: central park central park osm

One way to do this might be to render a raster map image for each shape (either using mapbox, osm, whatever), projecting it and then using the polygons as a clipping boundary.

danvk commented 9 years ago

An alternative would be to load vector data via the MapZen Tile Service, project it with D3 and use the feature polygon as a clipping region.