azavea/iow-boundary-tool

Add Ability to Export Boundaries

Closed this issue · 0 comments

Overview

Add a button in the UI for administrators that hits an endpoint only they can access, that exports all the approved boundaries with their shapes as a geojson.

Since the amount of data can potentially be very large, design a query that generates the geojson in the database and directly send / stream that data to the user, rather than constructing it in Django.