Public Member Functions | |
def | __init__ |
def | IsWithinArea |
def | GetX |
def | GetY |
def | GetPointCount |
def | GetFeatureCount |
def | SetScale |
def | GetName |
Public Attributes | |
Name | |
TotalFeatureCount | |
X | |
Y | |
Count | |
featureCount | |
scalex | |
scaley | |
GeoSpatial File Reading Module.
def thykongeo.ThykonGeo.__init__ | ( | self, | |
filename, | |||
DEMEnvelope, | |||
PixelsPerDegree | |||
) |
Read the Vector data from the given file. Reading is limited to the Envelope region only. This envelope is as of now determined from the Bounds of the DEM File that is being loaded.
def thykongeo.ThykonGeo.GetFeatureCount | ( | self | ) |
Returns the Count of the number of Features
def thykongeo.ThykonGeo.GetName | ( | self | ) |
Returns the name of the File
def thykongeo.ThykonGeo.GetPointCount | ( | self, | |
index | |||
) |
Returns the number of points in a particular Feature
def thykongeo.ThykonGeo.GetX | ( | self, | |
index, | |||
count | |||
) |
Returns the x co-ordinate of the point of a particular Feature (index) at a particular count with the required scaling
def thykongeo.ThykonGeo.GetY | ( | self, | |
index, | |||
count | |||
) |
Returns the x co-ordinate of the point of a particular Feature (index) at a particular count with the required scaling
def thykongeo.ThykonGeo.IsWithinArea | ( | self, | |
Area, | |||
point | |||
) |
Determines weather the given point is within the given area.
def thykongeo.ThykonGeo.SetScale | ( | self, | |
scalex, | |||
scaley | |||
) |
Sets the Scale used for scaling the vectors locations