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

 

Directory

EncryptionKey

LinkLimit

Open

Close

CloseExternalID

 

Geometry & topology

 

These are generally fairly simple lookup functions returning information requiring little processing.

 

CoordinateUnit

CoordinateWindow

CulDeSac

Degree

ExtractSection

GetGISSection

Length

Link2FromNode

Link2ToNode

LinkCount

LinkLength

Location2Coordinate

Location2CoordinateList

LoopLink

LoopLinks

MaxDegree

MBR

Node2Coordinate

Node2Link (*)

NodeCount

SwapList

 

Attributes

 

See this introductory chapter on attributes

 

AttributeGet

AttributeGetBit

AttributeSave

AttributeSet

AttributeSetBit

AttributeSetBits

AttributeSetSkipInSearchBit

Hierarchy

OneWayGet

OneWaySet

OpenAttributes

NoDriveThroughInit

NoDriveThroughSet

RoadClass

SwapOneWay

 

Time

 

Time is defined as minutes and is the criteria for routing in fastest mode

 

CreateArrayTime

CalculateTime

ReadTime

GetTime

SetTime

 

Speed

 

Internally speed is always stored as time for each link, so if you change one, you also change the other.

 

ReadSpeed

GetSpeed

SetSpeed

 

Cost

 

Use cost, when you want a more flexible routing criteria than just time or distance.

 

CreateArrayCost

CalculateCost

ReadCost

GetCost

SetCost

 

Turn restrictions

 

See this introductory chapter on turn restrictions.

 

CreateArrayTurn

 

TurnAutoProcess

TurnImportBin

TurnImportTxt

 

TurnRestriction

TurnRestrictionComplex

TurnStandard

TurnMandatory

TurnReset

 

TurnExportBin

TurnExportGIS

TurnExportTxt

 

Road Names

 

These are mostly used when creating driving directions.

 

OpenRoadName

Link2RoadNameID

Link2RoadName

RoadName2RoadNameID

RoadNameID2RoadName

RoadNameMaxWidth

CloseRoadNameFile

ValidCodePage

 

External ID

 

See this introductory chapter on external ID.

 

ExternalID2Link

Link2ExternalID

 

Limits

 

See this introductory chapter on limits.

 

OpenLimit

GetLimit

SetLimit

SaveLimit

 

TRoute methods

 

Methods operating on a TRoute instance (output from route calculation).

 

GetGISSectionRoute

RouteLength

NoDriveThroughCheck

 

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.

 

CheckCoordinate

CheckExternOpen

CheckLink

CheckLocation

CheckLocationList

CheckNode

CheckNodeList

CheckOpen

CheckTurnIndex

 

Export

 

Methods for exporting data to a GIS file, so you can view the actual data.

 

ExportLinks

ExportLinksFullSplit

ExportLocationList

ExportNodeList

ExportNodes

ExportPolyGeneration

ExportTrafficList (*)

TurnExportGIS

 

Advanced methods

 

These are more complex methods doing various sorts of calculations / analysis.

 

Direction

DistanceBetweenNodes

DistanceBetweenPoints

DistanceToLink

DistanceToLinkSimple

DistanceToNode

DownStream (*)

ExternalNodeId2ZLevels

Join (*)

Matrix

MatrixDyn

ObjectCheck

ParallelLinks

Select

Split

Trace (*)

UpdateAlphas

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.

 

Codepage

CompactMIF

CoordSys

EPSG

PRJ

 

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.

 

RandomPoint

RandomNode

RandomLocation