cut altitude areas
This commit is contained in:
parent
9ca07be935
commit
cb4a4c1b33
3 changed files with 70 additions and 2 deletions
9
src/c3nav/mapdata/management/commands/buildaltitudes.py
Normal file
9
src/c3nav/mapdata/management/commands/buildaltitudes.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
from django.core.management.base import BaseCommand
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
help = 'recalculate the map altitudes'
|
||||
|
||||
def handle(self, *args, **options):
|
||||
from c3nav.mapdata.models import AltitudeArea
|
||||
AltitudeArea.recalculate()
|
Loading…
Add table
Add a link
Reference in a new issue