Django-raster allows you to create tiled map services (TMS) and raster map algebra end points for web maps. It is Python-based, and requires GeoDjango with a PostGIS backend.
BSD 3-Clause "New" or "Revised" License
96
stars
39
forks
source link
Updated ArrayField default to fix Django warning #35
If you give the field a default, ensure it’s a callable such as list (for an empty default) or a callable that returns a list (such as a function). Incorrectly using default=[] creates a mutable default that is shared between all instances of ArrayField.
Coverage remained the same at 89.717% when pulling 85a4f8ee1748f4b0743be0862c10390fd128c859 on dvdtho:master into 907300140559fe5292101734a3f8f752981be5b4 on geodesign:master.
Coverage remained the same at 89.717% when pulling 85a4f8ee1748f4b0743be0862c10390fd128c859 on dvdtho:master into 907300140559fe5292101734a3f8f752981be5b4 on geodesign:master.
Coverage remained the same at 89.717% when pulling 85a4f8ee1748f4b0743be0862c10390fd128c859 on dvdtho:master into 907300140559fe5292101734a3f8f752981be5b4 on geodesign:master.
The defaults should be changed: from [] to list
https://docs.djangoproject.com/en/1.9/ref/contrib/postgres/fields/#django.contrib.postgres.fields.ArrayField
If you give the field a default, ensure it’s a callable such as list (for an empty default) or a callable that returns a list (such as a function). Incorrectly using default=[] creates a mutable default that is shared between all instances of ArrayField.