Home | Trees | Indices | Help |
---|
|
1 import os 2 from django.contrib.gis.db import models 3 from django.conf import settings 4 1012 fid = models.AutoField(primary_key=True) 13 layer = models.ForeignKey(Layer) 14 geom = models.PolygonField(srid=4326) 15 objects = models.GeoManager() 1619 27 28 rastdir = os.path.abspath(os.path.join(settings.MEDIA_ROOT, "xyquery_rasters")) 29 if not os.path.exists(rastdir): 30 os.mkdir(rastdir) 31 38
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Oct 30 11:31:05 2012 | http://epydoc.sourceforge.net |