census-api icon indicating copy to clipboard operation
census-api copied to clipboard

getting census data from vector tiles

Open burritojustice opened this issue 9 years ago • 2 comments

Hi!

Have you considered making census data (population, etc) available in the vector tiles?

Also, returning a centroid would be handy for labels, since the polygons get clipped at high zoom levels (e.g. above z15) levels.

burritojustice avatar Aug 29 '16 23:08 burritojustice

I suggested this while chatting with @burritojustice:

We could add a ?table_ids=B01003 to the GeoJSON tiles endpoint, which would join the specified tables with the geographies in the tile. This would make it easier to build choropleths. It'd be a little harder to cache these tiles, but definitely be possible.

iandees avatar Aug 29 '16 23:08 iandees

+1 This would be hugely helpful for new users to avoid wrestling with joins on their own.

rfriberg avatar Dec 19 '16 19:12 rfriberg