GFDRR / opencities

Jekyll template pages for Open Cities project
https://opencitiesproject.org
GNU General Public License v3.0
2 stars 6 forks source link

Aggregated number on homepage #20

Open vdeparday opened 6 years ago

vdeparday commented 6 years ago

We should add some aggregated indicators for all the cities on the homepage. Let's brainstorm on which one to highlight.

For instance, could we easily aggregate the amount of feature from all the cities? Then we could have something that is reported by the team, like number of events, and people trained.

cgiovando commented 5 years ago

OSMA API may not be able to handle these many AOIs. The aggregated GeoJSON can be found here https://gist.github.com/cgiovando/45718beb699ca27943f40730e7257ad7 but the corresponding OSMA call isn't working https://osm-analytics.org/#/show/gist:45718beb699ca27943f40730e7257ad7/buildings/recency

@ppasq can you investigate if this is something that can be fixed and supported on the OSMA side, or whether would be easier to just calculate statistics on the fly (with javascript on homepage) from different AOI endpoints?