wiki:ClassGeospatial_data

Version 7 (modified by rwilson, 15 years ago) (diff)

--

Internal Documentation/Classes


Class Geospatial_data

Defined in file geospatial_data/geospatial_data.py.

Discussion

Class Attributes

geo_reference
file_name
max_read_lines
data_points
attributes Dictionary
default_attribute_name
verbose
blocking_georef
blocking_keys
number_of_points
fid
start_row
last_row
show_verbose
verbose_block_size
block_number
number_of_blocks
header
file_pointer

Class Methods

BearingTo(self, P) Returns the bearing in degrees from self to point P.

Notes

This class is defined in the 'old' way. Will need to be changed for python 2.6/3.x.

Not sure that building in blocking to this class is the correct approach. Perhaps better to override file semantics to provide blocking and then get this class to contain a reference to a file-like object to get data from.


Internal Documentation/Classes