OD Analysis |
OD analysis is the process of constructing OD lines with an Origin-Destination matrix and its associated administrative region dataset. Mainly used in the transportation industry, such as civil aviation, railways, etc., to carry out statistics on population movements.
An Origin-Destination matrix, or OD-matrix for short, also called a trip table, indicates the coordinates of the starting and ending points of the trip, the travel time, the fare, etc. The associated administrative region dataset represents which administrative area the starting point or the ending point belongs to. When constructing OD lines, all the points in the OD-matrix that fall in the same region of the administrative region dataset will be processed as the same point, and the constructed OD line is the line from the starting point after processed to the ending point after processed. In addition, the number of the same OD line will be counted. If the attribute statistical mode and the fields for statistics are specified, the corresponding statistics function will also be performed. For example, we have an OD-matrix of international flights, we want to analyze and count the number of flights between cities, the average travel time. First, we need to specify the OD-matrix data to be analyzed and the starting and ending coordinate fields of the starting point and the ending point. For the administrative region data, we can use the region dataset of cities. If we want to analyze the statistics of the flights between airports, we can specify the airport region dataset as the administrative region dataset. In addition, according to the demand, the average trip time and average fare can also be counted.
regionDataset: Required, specifies the dataset to be analyzed. The calculateODMatrix resource page of iServer automatically lists the datasets that meet the analysis criteria.
ODDataset: Required. OD-matrix dataset. (Only attribute table type is supported).
region fieldName: Required. Refers to the distinction between different administrative areas.
coordinateFields: Required. Used to define the starting point and ending point coordinates. The order is the starting point X field, the starting point Y field, the ending point X field, and the ending point Y field, separated by commas.
summaryFields: Optional. Only the fields other than system fields, and the types of which are Interger, long or float are supported.
statistical modes: Optional. Supported statistical types include: MAX, MIN, SUM, RECORDCOUNT, AVERAGE, VARIANCE, STDDEVIATION. The count of modes should be the same with the count of summaryFields.