|
|
|
|
|
|
|
area_sq_mi(self)
WARNING: This method assumes that the native units of the geometry
are meters. |
source code
|
|
|
kml(self,
style_domain)
Get the kml of the entire study region |
source code
|
|
|
kml_chunk(self,
n,
s,
e,
w)
Get the kml of a lat/lon bounded part of the study region, with
geometry simplified in proportion to the visible % of the region |
source code
|
|
|
lookAtKml(self)
Get the kml for the region's lookat values saved in the DB, or
compute them if they are set to 0 |
source code
|
|
|
cacheLookAt(self)
Compute and store the camera perspective that puts the whole study
region in view |
source code
|
|
|
name = models.CharField(verbose_name= "Study Region Name", max...
|
|
active = models.BooleanField(default= False, help_text= 'This ...
|
|
creation_date = models.DateTimeField(auto_now_add= True)
|
|
modification_date = models.DateTimeField(auto_now= True)
|
|
geometry = models.MultiPolygonField(srid= settings.GEOMETRY_DB...
|
|
date_modified = models.DateTimeField(auto_now= True, verbose_n...
|
|
lookAt_Lat = models.FloatField(default= 0, null= True, blank= ...
|
|
lookAt_Lon = models.FloatField(default= 0, null= True, blank= ...
|
|
lookAt_Range = models.FloatField(default= 80000, help_text= 'D...
|
|
lookAt_Tilt = models.FloatField(default= 0, help_text= 'Degree...
|
|
lookAt_Heading = models.FloatField(default= 0, help_text= 'Vie...
|
|
objects = StudyRegionManager()
|