hackoregon / transportation-backend

Transportation backend repo - 2016 and 2017
8 stars 7 forks source link

Create main model for polygon data #16

Closed sanjuroj closed 7 years ago

sanjuroj commented 7 years ago

Create a model with four fields: date_range - a postgres specific data type that may help with finding date overlaps data - any non-date properties as an object (json might work but it should be compatible with the GeoFeatureModelSerializer from the django-rest-framework-gis source - the name of the API where the data came from geom - a geodjango polygon type

sanjuroj commented 7 years ago

see main Point model for an example

sanjuroj commented 7 years ago

Done in commit cd9fa35ab874e87aac35718e555c200daa3a6585