Prepare the bus data

Instructions for use

Transit data is the core and foundation of Public Transport Analysis. The data required by the SuperMap Public Transport Analysis includes the data of bus stops and lines, the data of the relationship between stops and lines, the data of the relationship between stops and entrances and exits, and Network Dataset. All of these five types of data need to be provided by the user. Among them, the first three types of data are required for Public Transport Analysis, and the Site and Access Relation Dataset and Network Dataset are optional.

The data used for Public Transport Analysis shall be checked before analysis, and the data that does not meet the requirements shall be modified to ensure that the bus data used meets the analysis requirements before Public Transport Analysis.

Bus data composition

  • Bus Station Dataset: Save the collected Bus Station Data to a Point Dataset. Each point object in the Dataset represents a bus stop in the real world. Different types of stations are stored together, such as bus stations, subway stations, etc. The property table is required to contain two fields: Station ID (Type is Int or Long) and Station Name Field, which are required fields for Public Transport Analysis. The following table shows the Dataset Properties of Changchun Bus Station: StopID is the station ID, and Name is the bus Site Name.
  • SmUserID Name StopID ...
    1 Airport Front Station 1 ...
    2 Li Jia Tuo 2 ...
    3 Peace Street 3 ...
    ... ... ... ...
  • LineDataset: Store the acquired Line in a Line Dataset as a line object. Each line object in the Dataset represents a complete directed Line (unidirectional, bidirectional, circular). For example, if the bus route 123 has a starting station A and a terminal station B, then from A to B and from B to A are two line objects, and the two lines must be stored in the same Dataset. The direction of the Line is the same as the drawing direction during vectorization.

    LineDataset must have two fields in its property table: Line ID (Type is Int or Long) and Line Name Field, which are required fields for Public Transport Analysis. In addition, other Property Fields, such as departure time, last train time, departure interval, and fare charging information, can also be included. This information can provide the basis for the priority selection and travel cost of Public Transport Analysis, especially the Transfer Solution of Traffic Transfer Analysis. The following table shows the properties of Changchun LineDataset:

  • SmUserID Name LineID ...
    1 Route 11 1 ...
    2 8-way 2 ...
    3 Changchun Light Rail 29 ...
    ... ... ... ...
  • Relation Dataset between station and line: refers to the pure table type Dataset, which is used to determine the relation between station and line. In reality, public transport, especially bus lines, has a large number of cases of passing through a station without stopping. Simply relying on the station data (two-dimensional point) to capture the line data (two-dimensional line) may not only be inconsistent with the actual situation, but may even lead to Analyst Result errors, which will bring unnecessary losses to users and travelers. Therefore, an accurate station and line relationship table is used to avoid this problem. Each record in

    the Dataset indicates that a bus stop has a corresponding relationship with a line, that is, the stop passes through the directed Line. The Dataset must contain two fields, Line ID and Station ID. Type supports Int and Long. It can also contain information about the sequence number of the station in the line.

  • SmUserID LineID StopID ...
    1 18 1 ...
    2 27 8 ...
    3 15 13 ...
    ... ... ... ...

    Relation Dataset between station and entrance/exit (optional): For some stations, such as rail transit stations, one stop usually has multiple entrances/exits. If you want the result of Public Transport Transfer to be detailed to the entrance/exit station and the walking route from the entrance/exit to the nearby station, You need to prepare the Site and Access Relation Dataset. As shown in Figure 1, take Metro Line 1 to Muxidi Station, walk to Muxidi Exit A1 and then transfer. The walking route can be given according to the Relation Dataset between the station and the entrance and exit.

    The Dataset is a Line Dataset, which is used to identify the relationship between the general station and the entrance and exit stations and the travel route, and is obtained by actual measurement or digitization. Each line object represents a path from a station (or entrance) to an entrance (or station), that is, its two endpoints are the locations of the station or entrance. This data is used to provide the route between the station and the entrance and exit that is consistent with the actual situation during the transfer analysis. The Dataset is required to contain two fields: Site ID Field and Gateway ID Field. In addition, the name and phonetic field of the gateway can also be specified.

    Note: This data is not required for Public Transport Analysis. If there is no such data, in the Traffic Transfer Analysis result, the transfer between sites is connected in a straight line or transferred according to the network base map data.

    Diagram
    Figure 1: Site and Access
  • Network Dataset (optional): It is composed of network arc and node objects, and stores the space Topology between arcs and nodes. The Network Dataset is available as Reference Data for Public Transport Analysis. During the transfer analysis, when it is necessary to walk from a certain location or station to another location or station, the system will give a walking route consistent with the actual situation according to Network Dataset. Conversely, if the Network Dataset is not set, the straight-line distance is used to indicate the distance to be walked. Therefore, using Network Dataset to assist Traffic Transfer Analysis can obtain more accurate and user-friendly transfer guidance.
  • Import of data in other formats: In addition to the bus data in the SuperMap data model described above, SuperMap also supports Data Import in other formats, such as the MIF and tab formats of MapInfo and the Shapefile format of ArcGIS. As long as it can be imported into the corresponding SuperMap point, line and Tabular Dataset formats through the "Data Import" function of SuperMap, and meets the data requirements of Public Transport Analysis. A Public Transport Analysis can be performed.

Check Data

  • The collected bus data may have errors due to measurement errors, data production personnel errors and other reasons, which may lead to incorrect Analyst Result. Therefore, SuperMap provides the capability to check the correctness of transit data before performing Public Transport Analysis. Note: This function is a Built-in function of the system. After the data is loaded and the Public Transport Analysis environment is set up, the Dataset will be automatically checked when the case is executed. If there is an error, the data needs to be modified. If there is no error, Direct Show action case results.
  • After the check is successful, the system will automatically add a text field named "Sm _ ErrorInfo" "in the property sheet of the station and circuit Dataset, the property sheet of the station and circuit Relation Dataset, and the property sheet of the station and entrance Relation Dataset, and write the corresponding Errors. The contents and descriptions of Errors corresponding to each Dataset are shown in the following table. Dataset There is no record related to this site Sort Record related to the line does not exist Sort The site does not exist in the The line does not exist in the limit Relation Dataset between does not exist The two end points of the line object
    checked
    Errors Explain
    Station Dataset No line passes through the sit in the Site and Line Relation Dataset.
    Duplicate ID by site ID order. The second and subsequent occurrences of the same site ID are considered illegal values.
    Line Dataset The line is a station in the site and line Relation Dataset.
    The line has only one station
    Duplicate ID by site ID order. The second and subsequent occurrences of the same site ID are considered illegal values.
    Station and line Relation Dataset Site is not in Dataset Station Dataset
    Line is not in Dataset line Dataset
    Not within the financial In the Station and Line Relation Dataset, there is a relation record between a station and a line, but in the Station and Line Dataset, the distance between the station and the line is greater than Station Snap Tolerance, that is, the station cannot be snapped to the line.
    station and rail transit entrance and exit Site is not in Dataset Station Dataset The site
    Spatial position mismatch connecting the station and the entrance must be consistent with the position of the corresponding station in the Station Dataset, otherwise it is considered as a data error. Note: Each entrance and exit of rail transit (such as subway) is stored in Station Dataset as a station.
  • Note: The premise of checking is that the analysis Environment Settings have been set, and the system needs to check according to the settings of the Public Transport Analysis environment. For example, Station Snap Tolerance is used to check the relationship between stations and lines. Check whether the station can be captured on the corresponding line.

Bus data modification

If the data is found to be wrong or the actual public transport network has changed, the public transport data needs to be modified. Errors can be modified by the user. Strictly speaking, it should be checked and modified repeatedly until no errors are detected, and then the Public Transport Analysis function can be executed. Otherwise, when performing Public Transport Analysis (such as Public Transport Transfer), The Output Window will prompt that "There are errors in the Traffic Transfer AnalysisEnvironment Settings. Errors". Please refer to the following "Sm _ ErrorInfo" Select Fields: "in the Dataset. The user needs to modify the relevant data before executing the Public Transport Analysis operation.

Related topics