DK11 for Python | tatukgis.pdk.TGIS_ShortestPath | Classes | Constructors | Methods | Properties | Events
Encapsulation of shortest path algorithm.
# Python class TGIS_ShortestPath( Object ):
→ Object
Name | Visibility | Description | |
---|---|---|---|
__init__ | public | Create an instance. | |
Name | Visibility | Description | |
---|---|---|---|
Find | public | Find path between two existing nodes. | |
LoadTheData | public | Load data from the layer. | |
Regenerate | public | Recreate network (including network storage files). | |
StartPos | public | Set a start position for the shortest path. | |
StopPos | public | Set a stop position for the shortest path and run shortest path. | |
UpdateTheData | public | Update the data with geocoded addresses from geocoder | |
Name | Visibility | Description | |
---|---|---|---|
CompassBlocks | public | Compass divided to a number of blocks (4 by default). | |
CostModifiers | public | Cost modifier. | |
Extent | public | Path extent. | |
HeuristicCostModifier | public | Heuristic cost modifier. | |
HeuristicMode | public | Mode of heuristic operation. | |
HeuristicThreshold | public | Threshold of starting node seeking area. | |
Items | public | Items in the shortest path. | |
ItemsCount | public | Number of items in the shortest path. | |
Layer | public | Layer assigned to the shortest path. | |
Network | public | Instance of Network class (responsible for low level network operations) | |
OSMRouting | public | If true the local routing resource is ignored and the requests are send to the TatukGIS online routing service. | |
RoadLength | public | Field name used to calculate segment length. | |
RoadName | public | Field for the feature name. | |
StoragePath | public | Forced storage path. | |
TotalCost | public | Total cost of the path. | |
Name | Visibility | Description | |
---|---|---|---|
LinkCostEvent | published | Event which will be fired upon creating a network. | |
LinkDynamicEvent | published | Event which will be fired upon traversing link. | |
LinkLevelEvent | published | Event which will be fired upon getting the level of the endings of each link. | |
LinkTypeEvent | published | Event which will be fired upon getting the type of each link. | |
NodeHeuristicCostEvent | published | Event which will be fired upon calculation of heuristic cost. | |
PathEvent | published | Event which will be fired on each link of the discovered shortest path. | |