Open jayqi opened 4 years ago
Is your feature request related to a problem? Please describe.
GeoJSON is a widely-used format standard for encoding GIS data. Many GIS and mapping libraries natively handle GeoJSON data. For example, geojson is a data type that Mapbox GL JS natively understands.
geojson
Describe the solution you'd like
Create endpoints for use cases needed by frontend that return data in GeoJSON format. For specific endpoints, see (forthcoming) discussion in #170.
Django has a built-in GeoJSON Serializer that should make this reasonably straightforward: https://docs.djangoproject.com/en/3.0/ref/contrib/gis/serializers/
@lukehtravis FYI: I think this would make #159 easier. Thoughts?
Related to #186
Is your feature request related to a problem? Please describe.
GeoJSON is a widely-used format standard for encoding GIS data. Many GIS and mapping libraries natively handle GeoJSON data. For example,
geojson
is a data type that Mapbox GL JS natively understands.Describe the solution you'd like
Create endpoints for use cases needed by frontend that return data in GeoJSON format. For specific endpoints, see (forthcoming) discussion in #170.
Django has a built-in GeoJSON Serializer that should make this reasonably straightforward: https://docs.djangoproject.com/en/3.0/ref/contrib/gis/serializers/