TNetwork |
Top Previous Next |
This is the main class that holds all the information about the street network, while the other classes (TSpatialSearch, TRouteCalc, TCalc) link to this, when doing calculations. Whatever you define here, is shared by all the other classes linking to it.
Besides holding the core network (geometry, topology, spatial index), it also allows you to work with other types of information: Attributes, time / speed, cost, road names, turn restrictions, limits etc.
This is a list of available methods / grouped by area: (*) = Pro only.
Basic opening & closing of the network
Geometry & topology
These are generally fairly simple lookup functions returning information requiring little processing.
Node2Link (*)
Attributes
See this introductory chapter on attributes
Time
Time is defined as minutes and is the criteria for routing in fastest mode
Speed
Internally speed is always stored as time for each link, so if you change one, you also change the other.
Cost
Use cost, when you want a more flexible routing criteria than just time or distance.
Turn restrictions
See this introductory chapter on turn restrictions.
Road Names
These are mostly used when creating driving directions.
External ID
See this introductory chapter on external ID.
Limits
See this introductory chapter on limits.
TRoute methods
Methods operating on a TRoute instance (output from route calculation).
Check functions
These are functions for verifying input. They are used internally by most of the other methods, so you generally don't need to call them on your own.
Export
Methods for exporting data to a GIS file, so you can view the actual data.
Advanced methods
These are more complex methods doing various sorts of calculations / analysis.
DownStream (*) Join (*) Trace (*) UpStream (*)
GIS output
These 5 properties all define various settings, used when generating GIS output. See TGISwrite class. They are automatically populated when the network is opened.
When calling GISoutputInit it also inherits these values.
GISarray is for storing output, when you have chosen array as output format.
Random places
When you just need some random input data for testing.
|