|
|
__init__(self,
rdclass,
rdtype,
latitude,
longitude,
altitude,
size=1.0,
hprec=10000.0,
vprec=10.0)
Initialize a LOC record instance. |
source code
|
|
|
string
|
to_text(self,
origin=None,
relativize=True,
**kw)
Convert an rdata to text format. |
source code
|
|
|
string
|
to_wire(self,
file,
compress=None,
origin=None)
Convert an rdata to wire format. |
source code
|
|
|
|
_cmp(self,
other)
Compare an rdata with another rdata of the same rdtype and rdclass. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from rdata.Rdata:
__eq__,
__ge__,
__gt__,
__hash__,
__le__,
__lt__,
__ne__,
__repr__,
__str__,
choose_relativity,
covers,
extended_rdatatype,
to_digestable,
validate
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__subclasshook__
|
|
float
|
altitude
altitude
|
|
float
|
horizontal_precision
horizontal precision
|
|
(int, int, int, int) tuple specifying the degrees, minutes, seconds,
and milliseconds of the coordinate.
|
latitude
latitude
|
|
(int, int, int, int) tuple specifying the degrees, minutes, seconds,
and milliseconds of the coordinate.
|
longitude
longitude
|
|
float
|
size
size of the sphere
|
|
float
|
vertical_precision
vertical precision
|