Module imo_001_22_area_notice :: Class AreaNoticeSector
[hide private]
[frames] | no frames]

Class AreaNoticeSector

source code

       object --+    
                |    
AreaNoticeSubArea --+
                    |
                   AreaNoticeSector

Instance Methods [hide private]
 
__init__(self, lon=None, lat=None, radius=0, left_bound_deg=0, right_bound_deg=0, bits=None)
A pie slice
source code
 
decode_bits(self, bits) source code
 
get_bits(self)
Build a BitVector for this area
source code
 
__unicode__(self) source code
 
__str__(self)
str(x)
source code
 
geom(self)
return shapely geometry object
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  area_shape = 2
Properties [hide private]
  __geo_interface__
Provide a Geo Interface for GeoJSON serialization

Inherited from object: __class__

Method Details [hide private]

__init__(self, lon=None, lat=None, radius=0, left_bound_deg=0, right_bound_deg=0, bits=None)
(Constructor)

source code 

A pie slice

Parameters:
  • lon - WGS84 longitude
  • lat - WGS84 latitude
  • radius - width in meters
  • left_bound_deg - Orientation of the left boundary. CW from True North
  • right_bound_deg - Orientation of the right boundary. CW from True North
Overrides: object.__init__
To Do:
  • great get/set for dimensions and allow for setting scale factor.
  • or just over rule the attribute get and sets
  • allow user to force the scale factor
  • Should this be raising a ValueError

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

Property Details [hide private]

__geo_interface__

Provide a Geo Interface for GeoJSON serialization

Get Method:
unreachable.__geo_interface__(self) - Provide a Geo Interface for GeoJSON serialization

To Do: Write the code to build the polygon with rotation