SuperMap.Analyst.TrafficAnalyst
This class is used for getting and setting the fields which contains the bus fare information. Using this class, you can get or set the field contains the type of the bus fare, the start fare, the range of the start fare and the step of the fare.
The default constructor, initializes a new instance of the FareFieldInfo class.
Initializes a new instance of the FareFieldInfo class which is a copy of the specified Feature3D object.
The specified FareFieldInfos object.
Gets or sets the field used to represent the type of the bus fare. 0 indicates Single, 1 indicates Distance, and 2 indicates Stops.
The default is a null string.
Gets or sets the field used to represent the range of the start fare.
The default is a null string.
Gets or sets the field used to represent the start fare.
The default is a null string.
Gets or sets the FareStepField. FareStepField is the price to add for adding each FareStepRangeField.
The default is a null string.
Gets or sets the fare step range field.
The default is a null string.
The FareInfo class. This class is used to get the relative information about the bus fare, including the type of the bus fare, the start fare, the range of the start fare, and the step of the fare.
Gets the type of the bus fare.
Gets the range of the start fare.
Gets the start fare.
Gets the step of the fare.The step of the fare is the fare added for every stop or a unit distance.
Gets the fare step range.
The transfer line class. This class is used to the get-on stop, get-down stop and the line name.
Initialize a new TransferLine object with the parameters specified.
The line ID of the transfer line.
The get-on stop ID of the transfer line.
The get-off stop ID of the transfer line.
Gets the get-on name of the transfer line.
Gets the get-off name of the transfer line.
Gets the line name of the transfer line.
Gets the line ID of the transfer line.
Gets the index of the get-off stop of the transfer line. The number counts from 0.
Gets the index of the get-on stop of the transfer line. The number counts from 0.
The transfer lines class. This class is used to get the transfer line and the count.
Returns an enumerator that can iterate through the collection.
An IEnumerator object used to iterate through a collection.
Gets number of the transfer lines.
Gets the transfer line of the specified index.
The specified index, which begins with 0.
Gets the transfer line of the specified index.
This enumeration defines the transfer preference constants.
None.
Bus. If you set this, bus will be first considered during exchange. But the result way is composed by multiple parameters. So bus may not be contained.
Subway. If you set this, subway will be first considered during exchange. But the result way is composed by multiple parameters. So subway may not be contained.
No subway. If you set this, the subway won't be contained in the result.
The enumeration defines the search mode constants during transfer.
ID mode. Use the start stop ID and the end stop ID as the start and the end of the interchange.
Point mode. Use any two points (Point2D) as the start and the end of the interchange.
This class is used to make interchange analysis, query bus line, query bus stop, etc.
Constructs a new TransferAnalyst object.
Loads the transfer data when making transfer analyst. Note that this method doesn't support multi-thread processing.
The specified lineSetting object.
The specified stopSetting object.
The specified relationSetting object.
Returns true if successful; otherwise, false.
Check the trasfer data based on TransferAnalystSetting. The check result will be written to the attribute table of the source data. Note that this method doesn't support multi-threading.
The specified TrafficTransferAnalystSetting object.
A bool value that represents whether it has error. true, if there is no error; otherwise, false.
Loads the transfer data when making transfer analyst. Note that this method doesn't support multi-thread processing.
The specified transferAnalystSetting object.
Returns true if successful; otherwise, false.
The transfer lines. Return the transfer analyst result.
The specified TrafficTransferAnalystParameter object.
The TrafficTransferAnalystResult class.
Make transfer analsyst based on the specified parameters. Return the transfer solutions.
The specified TrafficTransferAnalystParameter object.
The transfer solutions.
Gets the complete transfer guide based on the start stop ID, the end stop ID and the items.
The start stop ID.
The end stop ID.
The transfer lines.
The complete transfer guide.
Gets the complete transfer guide based on the start, the end and the items.
The specified start.
The specified end.
The transfer lines.
The complete transfer guide.
Finds the lines pass by the specified stop ID.
The stop ID.
The collection of bus lines that cross this stop.
Finds the stops of the specified line ID.
The line ID.
The collection of bus lines that cross this stop.
Releases the resources occupied by TransferAnalyst.
This class is used to set the transfer analyst parameters, including start stop, end stop, solution count, walking ratio, tactic, preference, evade, etc.
Initializes a new instance of the TrafficTransferAnalystParameter class.
Initializes a new instance of the TrafficTransferAnalystParameter class which is identical with the specified TrafficTransferAnalystParameter object.
The specified TrafficTransferAnalystParameter object.
Releases the resources occupied by TransferAnalystParameter.
Gets or sets the ID of the start stop.
The default value is -1.
Gets or sets the ID of the end stop.
The default value is -1.
Gets or sets the start position.
The default is an empty Point2D object.
Gets or sets the end position.
The default is an empty Point2D object.
Gets or sets the maximum count of solutions to return in the transfer analysis. The maximum value is 20.
The default value is 5.
Gets or sets the ratio of walking to taking bus.
The default value is 10.
Gets or sets the transfer tactic type.
The default value is TransferTactic.LessTransfer。.
Gets or sets transfer preference.
The default value is TransferPreference.None,there is no preference.
Gets or sets the search mode of the transfer.
The default value is ID mode,there is TransferSearchMode.ID.
Gets or sets the line ID collection of the evade lines.
Gets or sets the evade stop ID collection.
Gets or sets the prior line ID collection.
Gets or sets the prior stop ID collection.
Get or set travel time for bus transfer analysis.
The TransferAnalystResult class is used to get the TransferGuides.
Releases the resources occupied by TransferAnalystResult.
Gets the array of the TransferGuide object.
The settings for the parameter information in the traffic transfer analysis, including will determine the analysis result directly. It can set the information of the lines, the stops, the snapping tolerance, the merging tolerance and the walking tolerance.
Constructs a new TransferAnalystSetting object.
Initializes a new instance according to the specified TransferAnalystSetting object.
The specified TrafficTransferAnalystSetting object.
Gets or sets the LineSetting object.
The default value is null.
Gets or sets the StopSetting object.
The default value is null.
Gets or sets the transfer relation setting.
The default value is null.
Gets or sets the snapping tolerance of the bus stops.
The default value is 0.1.
Gets or sets the merging tolerance of the bus stops. Obsolete. From version 7.0.1, you don't need to set the merging tolerance of the bus stops.
The default value is 100.
Gets or sets walking threshold, that is the maxinum walking distance from the current stop to the transfer stop.
The default value is 1500.
Gets or sets the unit of the snap tolerance, merge tolerance and walking tolerance.
The default value is Unit.Meter.
With this class, you can get the guide items, interchange count, distance, cost, time, etc.
Gets the count of the TransferGuideItem objects in the TransferGuide.
Gets the TransferGuideItem object according to the specified index.
The specified index which start with 0.
The TransferGuideItem object.
Gets the total distance of transfer guide.
Gets the total cost of transfer guide.
Gets the total distance of transfer guide.
Gets the count of transfer in the current scheme. One traffic transfer scheme may have the segment represented by the TransferGuideItem object which is passed by walk, so the TransferCount property of the TransferGuide object does not equal to the Count property of it.
This class is used to get the transfer guide items, including walking or by bus, the start and the end of walking, the start and the end of the bus line, index, distance, cost and time, etc.
Gets a line name represented by the guide item. It is valid only when IsWalking is false.
Gets a line type represented by the guide item. This can be obtained from the LineTypeField property of LineSetting. It is valid only when IsWalking is false.
Gets the get-on stop name on a guide item represented by the guide item. It is valid only when IsWalking is false.
Gets the get-off line name represented by the guide item. It is valid only when IsWalking is false.
Gets the index of the end stop of the segment represented by the TransferGuideItem object in the whole traffic line which the segment belongs to. It is valid only when IsWalking is false.
Gets the index of the start stop of the segment represented by the TransferGuideItem object in the whole traffic line which the segment belongs to. It is valid only when IsWalking is false.
Gets the number of the stops this segment represented by the TransferGuideItem object has.
Gets the coordinates of the get-on/start stop of the segment represented by the TransferGuideItem object.
The coordinates of the get-off/end stop of the segment represented by the TransferGuideItem object.
Gets the distance of the segment represented by the TransferGuideItem object.
Gets the fare of the segment represented by the TransferGuideItem object.
Gets the time of the segment represented by the TransferGuideItem object.
Gets whether the TransferGuideItem represents walk path.
Gets the distance of the segment represented by the TransferGuideItem object.
Gets the first bus departure time of the segment represented by the TransferGuideItem object.
Gets the end bus departure time of the segment represented by the TransferGuideItem object.
The TransferLineInfo object includes Dataset, ID, Name, FirstTime, LastTime, Interval, Speed, FareInfo, TotalDistance, TotalWeight and StopCount.
Gets the SMID of the line.
Gets the ID of the line.
Gets the name of the line.
Gets the alias of the line.
Gets the time of the first bus of the traffic line.
Gets the time of the last bus of the line.
Gets the interval between every two buses of the line.
Gets the speed of the bus of the line.
Gets the bus fare information.
Gets the distance of the line.
Gets the total fare of the line.
Gets the total time.
Gets the number of the stops the line has.
Gets the line type.
Gets the total line. It is a GeoLine object.
The TransferLineSetting class.This class is used for setting the traffic line.
Constructs a new LinkSettings object.
Initializes a new instance of the LineSetting class which is identical with the specified LineSetting.
The TransferLineSetting object specified.
Gets or sets the bus line dataset. It must be a line dataset. If you set it to other type, an exception will be thrown.
Gets or sets the bus line ID field. This field is required. It must be 32-bit or 64-bit. If it is other type, an exception will be thrown.
The default is a null string.
Gets or sets the name field of the bus line. It is required. If this field doesn't exist in the line dataset, an exception will be thrown.
The default is a null string.
Gets or sets the length field of the transfer line. The unit is in meters.
The default is a null string.
Gets or sets the alias field of the transfer line.
The default is a null string.
Gets or sets the time field of the first bus of the traffic line. Field type must be the time type of DateTime.
The default is a null string.
Gets or sets the time field of the end bus of the traffic line. Field type must be the time type of DateTime.
The default is a null string.
Gets or sets the field of the interval between every two buses of the traffic line.
The default is a null string.
Gets or sets the speed field of the bus of the line.
The default is a null string.
Gets or sets the fields about the fare of the traffic line.
The default is a null FareFieldInfo object.
Gets or sets the bus line type field.
The default is a null string.
The RelationSetting class. This class sets the stop&line relation dataset, stop&gateway relation dataset, and network dataset.
Creates a new RelationSetting object.
Initializes a new instance of the RelationSetting class which is a copy of the specified RelationSetting object.
The RelationSetting object.
Gets or set the stop&line relation dataset. It must be a tabular dataset. If you set it to other type, an exception will be thrown.
Gets or sets the stop ID field of the stop&line relation dataset. This field is required. It must be 32-bit or 64-bit. If there is no this type or it is other type, an exception will be thrown.
The default is a null string.
Gets or sets the line ID field of the stop&line relation dataset. This field is required. It must be 32-bit or 64-bit. If there is no this type or it is other type, an exception will be thrown.
The default is a null string.
Gets or sets the serial number field of the stop&line relation dataset.
The default is a null string.
Gets or sets the stop&gateway dataset. It must be a line dataset. If you set it to other type, an exception will be thrown.
Gets or sets the gateway ID field of the stop&gateway relation dataset. This field is required. It must be 32-bit or 64-bit. If there is no this type or it is other type, an exception will be thrown.
The default is a null string.
Gets or sets the stop ID field of the stop&gateway relation dataset. This field is required. It must be 32-bit or 64-bit. If there is no this type or it is other type, an exception will be thrown.
The default is a null string.
Gets or sets the gateway name field for the stop&gateway relation dataset.
The default is a null string.
Gets or sets the gateway pinyin field for the stop&gateway relation dataset.
The default is a null string.
Gets or sets the network dataset. Get the real walking path according to the edge and node information.
Gets or sets the edge ID field of the network dataset.
The default is a null string.
Gets or sets the node ID field of the network dataset.
The default is a null string.
Gets or sets the field that identifies the ID of the start node in the network dataset.
The default is a null string.
Gets or sets the field that identifies the ID of the end node in the network dataset.
The default is a null string.
This class is used for getting the information of transfer stop, including the dataset that the stop belongs to, ID, name, and alias of the stop.
Gets the SMID of the stop.
Gets the ID of the stop.
Gets the name of the stop.
Gets the alias of the stop.
Gets the position of the stop.
The StopSetting class. This class is used for getting the settings of the transfer stop, including the dataset that the stop belongs to, the name field of the stop, and the alias field of the stop.
Constructs a new StopSetting object.
Initializes a new instance of the StopSetting class which is a copy of the specified StopSetting object.
The specified TransferStopSetting object.
Gets or sets the stop dataset. It must be a point dataset. If you set it to other type, an exception will be thrown.
Gets or sets the bus stop ID field. This field is required. It must be 32-bit or 64-bit. If it is other type, an exception will be thrown.
The default is a null string.
Gets or sets the name field of the bus stop. It is required. If this field doesn't exist in the stop dataset, an exception will be thrown.
The default is a null string.
Gets or sets the alias field of the transfer stop.
The default is a null string.
The transfer solution class. This class is used to get the count of the interchange, and the transfer lines with the given index.
Returns an enumerator that can iterate through the collection.
An IEnumerator object used to iterate through a collection.
Gets the count of the interchange.
Gets the Items with the given index.
The specified index, which begins with 0.
The transfer lines with the given index.
The transfer solutions class. This class is used to get the transfer solution with the given index, and the count of the solutions.
Returns an enumerator that can iterate through the collection.
An IEnumerator object used to iterate through a collection.
Gets the transfer solution with the given index.
The specified index, which begins with 0.
The transfer solution with the given index.
Gets the count of the solutions.
This enumeration defines the transfer tactic constants.
Less interchange. Find the less interchange count from the start to the end.
Minimum distance. Find the shortest distance from the start to the end.
Less walking. Find the less walking distance from the start to the end.
Less time. Find the least time cost from the start to the end.