Package madrona :: Package analysistools :: Module examples :: Class BufferPoint
[hide private]

Class BufferPoint

source code

django.contrib.gis.db.models.Model --+        
                                     |        
               features.models.Feature --+    
                                         |    
                           models.Analysis --+
                                             |
                                            BufferPoint

Nested Classes [hide private]
  Options

Inherited from models.Analysis: Meta

Instance Methods [hide private]
 
run(self)
Method to execute the model.
source code
 
kml_done(self)
Translate the model outputs to KML Placemark or Folder
source code
 
kml_working(self)
Translate the model outputs to KML Placemark or Folder
source code
 
kml_style(self) source code

Inherited from models.Analysis: clear_output_fields, done, inputs, kml, outputs, progress, save, status_html

Inherited from features.models.Feature: __repr__, __unicode__, add_to_collection, copy, get_absolute_url, hash, is_viewable, kml_safe, options, remove_from_collection, share_with, uid

Class Methods [hide private]

Inherited from models.Analysis: input_fields, input_manytomany_fields, output_fields

Inherited from features.models.Feature: css, get_options, model_uid

Class Variables [hide private]
  input_lat = models.FloatField(verbose_name= 'Latitude')
  input_lon = models.FloatField(verbose_name= 'Longitude')
  input_buffer_distance = models.FloatField(verbose_name= "Buffe...
  output_area = models.FloatField(null= True, blank= True, verbo...
  output_point_geom = models.PointField(srid= settings.GEOMETRY_...
  output_poly_geom = models.PolygonField(srid= settings.GEOMETRY...

Inherited from features.models.Feature: collection, content_type, date_created, date_modified, name, object_id, objects, sharing_groups, user

Method Details [hide private]

run(self)

source code 

Method to execute the model. Passes all input parameters to the analysis backend, takes the results and stores in the model output fields.

Overrides: models.Analysis.run
(inherited documentation)

kml_done(self)

source code 

Translate the model outputs to KML Placemark or Folder

Decorators:
  • @property
Overrides: models.Analysis.kml_done
(inherited documentation)

kml_working(self)

source code 

Translate the model outputs to KML Placemark or Folder

Decorators:
  • @property
Overrides: models.Analysis.kml_working
(inherited documentation)

kml_style(self)

source code 
Decorators:
  • @property
Overrides: models.Analysis.kml_style

Class Variable Details [hide private]

input_buffer_distance

Value:
models.FloatField(verbose_name= "Buffer Distance (m)")

output_area

Value:
models.FloatField(null= True, blank= True, verbose_name= "Buffer Area \
(meters)")

output_point_geom

Value:
models.PointField(srid= settings.GEOMETRY_DB_SRID, null= True, blank= \
True, verbose_name= "Point Geometry")

output_poly_geom

Value:
models.PolygonField(srid= settings.GEOMETRY_DB_SRID, null= True, blank\
= True, verbose_name= "Buffered Point Geometry")