census-api
census-api copied to clipboard
getting census data from vector tiles
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.
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.
+1 This would be hugely helpful for new users to avoid wrestling with joins on their own.