[go: up one dir, main page]

CN116501816B - Expressway longitude and latitude pile number conversion method and device - Google Patents

Expressway longitude and latitude pile number conversion method and device

Info

Publication number
CN116501816B
CN116501816B CN202310316724.6A CN202310316724A CN116501816B CN 116501816 B CN116501816 B CN 116501816B CN 202310316724 A CN202310316724 A CN 202310316724A CN 116501816 B CN116501816 B CN 116501816B
Authority
CN
China
Prior art keywords
longitude
latitude
lane
cluster
coordinate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310316724.6A
Other languages
Chinese (zh)
Other versions
CN116501816A (en
Inventor
梁士路
余萌
王峰
陈鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202310316724.6A priority Critical patent/CN116501816B/en
Publication of CN116501816A publication Critical patent/CN116501816A/en
Application granted granted Critical
Publication of CN116501816B publication Critical patent/CN116501816B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • G06F18/232Non-hierarchical techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Remote Sensing (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明涉及一种高速公路经纬度桩号转换方法与装置,所述方法包括步骤:测量每个车道的中线经纬度获取多段具有唯一编号的经纬度坐标集;通过以距离为目标函数的聚类算法把所述多段具有唯一编号的经纬度坐标集合并为有序的车道中线经纬度坐标集;采用微分原理获取所述有序的车道中线经纬度坐标集和高速公路里程数的对应关系并生成里程数与坐标对应的关系字典;基于输入经纬度或者桩号与所述关系字典实现经纬度桩号转换。可以通过车道经纬度和公路里程实现高精度的高速公路全程经纬度和桩号相互转换。

The present invention relates to a method and device for converting the longitude and latitude of a highway. The method comprises the following steps: measuring the longitude and latitude of the center line of each lane to obtain a plurality of longitude and latitude coordinate sets with unique numbers; merging the plurality of longitude and latitude coordinate sets with unique numbers into an ordered longitude and latitude coordinate set of the center line of the lane by a clustering algorithm with distance as the objective function; using the differential principle to obtain the corresponding relationship between the ordered longitude and latitude coordinate set of the center line of the lane and the mileage of the highway and generate a relationship dictionary corresponding to the mileage and the coordinates; and realizing the conversion of longitude and latitude and the pile number based on the input longitude and latitude or the pile number and the relationship dictionary. The high-precision conversion between the longitude and latitude of the entire highway and the pile number can be realized through the longitude and latitude of the lane and the mileage of the highway.

Description

Expressway longitude and latitude pile number conversion method and device
Technical Field
The invention relates to the technical field of high-speed traffic informatization, in particular to a method and a device for converting longitude and latitude stake numbers of expressways.
Background
With increasing wisdom of highways, demands for various data on highways are becoming finer and more comprehensive, and devices such as lidar, speed radar, information boards, and cameras cover highways at high density. The data collected by the facilities can be used for distinguishing simple events such as overspeed, illegal stop and the like. With the proposal of various intelligent service concepts such as vehicle-road coordination and travel service, the dimension required by the data is not only time, but also space, namely, event and vehicle positioning on the expressway.
At present, pile numbers are adopted to uniformly number foundation piles before construction to represent the mileage positions of vehicles on a highway, but marks are generally only arranged at the positions of the whole mileage. Therefore, the current method for converting the longitude and latitude pile numbers in the expressway can only realize the conversion of the longitude and latitude pile numbers in the whole kilometer per kilometer.
Disclosure of Invention
The embodiment of the invention provides a method and a device for converting expressway longitude and latitude stake marks, which can realize high-precision expressway whole-course longitude and latitude and stake mark interconversion through lane longitude and latitude and road mileage.
In a first aspect, an embodiment of the present invention provides a method for converting longitude and latitude pile numbers of a highway, which is characterized in that the method includes the steps of:
measuring the longitude and latitude of the central line of each lane to obtain a plurality of sections of longitude and latitude coordinate sets with unique numbers;
combining the multiple sections of longitude and latitude coordinate sets with unique numbers into an ordered lane centerline longitude and latitude coordinate set through a clustering algorithm taking the distance as an objective function;
Acquiring the corresponding relation between the longitude and latitude coordinate set of the ordered lane center line and the mileage of the expressway by adopting a differential principle and generating a relation dictionary corresponding to the mileage and the coordinates;
And realizing longitude and latitude stake number conversion based on the input longitude and latitude or stake number and the relation dictionary.
In some embodiments, the method further comprises the step of:
Finding out longitude and latitude coordinates of a non-high-speed road section in the longitude and latitude coordinate set with the unique number in the multiple sections;
and deleting the longitude and latitude coordinates of the non-high-speed road section when the longitude and latitude coordinate sets with the unique numbers of the sections are combined.
In some embodiments, the method further comprises the step of:
finding out a bifurcated lane in the multi-section longitude and latitude coordinate set with the unique number;
and merging each branched lane into a new virtual lane when merging the longitude and latitude coordinate sets with the unique numbers of the multiple sections, wherein the virtual lanes belong to the ordered lanes.
In some embodiments, the merging each of the diverging lanes into a new virtual lane includes the steps of:
and sequentially adding the data points of the coordinate set after lane bifurcation, and averaging, wherein the averaged result is used as the new virtual lane.
In some embodiments, the merging the multiple segments of longitude and latitude coordinate sets with unique numbers into an ordered lane centerline longitude and latitude coordinate set by a clustering algorithm with distance as an objective function includes the steps of:
determining the number of clusters according to the number of lanes in the ordered lanes;
classifying all coordinate segments in the longitude and latitude coordinate set into corresponding cluster by a clustering algorithm taking the distance as an objective function;
classifying all the coordinate segments into corresponding cluster clusters as one-time cluster iteration and carrying out multiple-time cluster iteration, and updating the cluster center point positions of each cluster after each cluster iteration until the cluster center point positions of each cluster are not changed;
And determining the ordered lane center line longitude and latitude coordinate set based on the results after multiple clustering iterations.
In some embodiments, the classifying all coordinate segments in the longitude and latitude coordinate set into corresponding cluster by a clustering algorithm with a distance as an objective function includes the steps of:
Arbitrarily selecting coordinate segments from the longitude and latitude coordinate set as a cluster center point starting position of each cluster;
And calculating the distance from the central point of each section of coordinates in the longitude and latitude coordinate set to the starting position of each clustering central point, and classifying each section of coordinates into a cluster with the shortest distance.
In some embodiments, the objective function comprises:
wherein dis is the distance between two longitude and latitude coordinate points, a is the difference value after the longitude of the two points is converted into radian, b is the difference value after the latitude of the two points is converted into radian, R1 is the longitude of the first point is converted into radian, R2 is the longitude of the second point is converted into radian, and earthR is the earth radius.
In some embodiments, the updating the cluster center point of each cluster includes the steps of:
and enabling the clustering center point position of the new cluster to be the center of the corresponding classified data set.
In some embodiments, the obtaining the correspondence between the longitude and latitude coordinate set of the ordered lane centerline and the mileage of the expressway by using the differential principle and generating the dictionary of the correspondence between the mileage and the coordinates includes the steps of:
dividing the mileage by the number of points in the longitude and latitude coordinate set of the ordered lane center line to obtain the average mileage interval between coordinate points;
determining a relation dictionary of the mileage and coordinates based on a second formula, wherein the second formula comprises k j+x0 x i=set [ i ],
Wherein x 0 represents the average mileage interval, k j represents the lane number, and Set [ i ] represents the ith coordinate point in the ordered lane coordinate Set.
In a second aspect, an embodiment of the present invention provides a highway longitude and latitude pile number conversion device, which is characterized in that the device includes the steps of:
the coordinate set acquisition module is used for measuring the longitude and latitude of the central line of each lane to acquire a plurality of sections of longitude and latitude coordinate sets with unique numbers;
The lane merging module is used for merging the multiple sections of longitude and latitude coordinate sets with unique numbers into an ordered lane center line longitude and latitude coordinate set through a clustering algorithm taking the distance as an objective function;
The relation dictionary generating module is used for acquiring the corresponding relation between the ordered lane center line longitude and latitude coordinate set and the expressway mileage by adopting a differential principle and generating a relation dictionary corresponding to the mileage and the coordinates;
And the conversion module is used for realizing longitude and latitude stake number conversion based on the input longitude and latitude or stake number and the relation dictionary.
The embodiment of the invention provides a method and a device for converting longitude and latitude stake marks of a highway. The method comprises the steps of processing a high-precision longitude and latitude coordinate set by using a clustering algorithm, obtaining an ordered high-precision lane coordinate set by clustering unordered longitude and latitude coordinate data, equally dividing mileage by using differential thought coordinates to obtain a corresponding relation between coordinates and mileage, and enabling dense characteristics of the longitude and latitude coordinate set to be played, enabling fine places to be visible as straight, further achieving one-to-one correspondence between the longitude and latitude set and stake marks without calibration, and enabling the whole longitude and latitude and stake marks of a high-precision expressway to be converted.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a method for converting longitude and latitude pile numbers of a highway according to an embodiment of the present invention;
Fig. 2 is a schematic diagram of dotting situations of longitude and latitude coordinate points according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a highway longitude and latitude pile number conversion device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
As shown in fig. 1, the embodiment of the invention provides a method for converting longitude and latitude pile numbers of a highway, which comprises the following steps:
s100, measuring the longitude and latitude of the center line of each lane, and obtaining a plurality of sections of longitude and latitude coordinate sets with unique numbers;
s200, combining the multiple sections of longitude and latitude coordinate sets with unique numbers into an ordered lane center line longitude and latitude coordinate set through a clustering algorithm with the distance as an objective function;
S300, acquiring the corresponding relation between the ordered longitude and latitude coordinate set of the lane center line and the mileage of the expressway by adopting a differential principle, and generating a relation dictionary corresponding to the mileage and the coordinates;
s400, realizing longitude and latitude stake number conversion based on the input longitude and latitude or stake number and the relation dictionary.
It will be appreciated that the collection of the coordinate sets is performed in a sequence, such as automatically by the machine when dotting is used.
The embodiment of the invention provides a method and a device for converting longitude and latitude stake marks of a highway. The method comprises the steps of processing a high-precision longitude and latitude coordinate set by using a clustering algorithm, obtaining an ordered high-precision lane coordinate set by clustering unordered longitude and latitude coordinate data, and meanwhile, equally dividing mileage by using differential thought coordinates to obtain a corresponding relation between coordinates and mileage, so that the dense characteristic of the longitude and latitude coordinate set can be exerted, a fine place is directly seen, further, the one-to-one correspondence between a non-calibrated longitude and latitude set and stake marks is realized, and the whole-course longitude and latitude and stake marks of a highway with high precision can be converted with each other.
In some embodiments, when the longitude and latitude coordinate set of the lane center line is obtained in S100, the acquired coordinate format is a segmented longitude and latitude set, the coordinates in each segment of coordinate set are ordered, and the whole set is unordered. Compared with the method of collecting data according to the position mark of the integer mileage in the related art, the method of directly collecting the line coordinate set in the lane of the present embodiment can achieve the effect of high accuracy in the longitude and latitude set if the selection interval is small, for example, 0.5 meter.
In some embodiments, S200 further comprises, before merging the multiple segments of longitude and latitude coordinate sets with unique numbers into the ordered lane centerline longitude and latitude coordinate set, the steps of:
S201, finding out longitude and latitude coordinates of a non-high-speed road section in the longitude and latitude coordinate set with the unique number in the multiple sections;
And S202, deleting the longitude and latitude coordinates of the non-high-speed road section when the longitude and latitude coordinate sets with the unique numbers of the sections are combined.
In view of the complexity of the road, the measurement result may include longitude and latitude coordinates of many non-expressway sections, and these coordinate sets may be found by QGIS, where the coordinate sets of the non-expressway sections are deleted when merging the longitude and latitude coordinates of the expressway (i.e., merging into an ordered set of longitude and latitude coordinates in the lane).
In some embodiments, S200 further comprises, before merging the multiple segments of longitude and latitude coordinate sets with unique numbers into the ordered lane centerline longitude and latitude coordinate set, the steps of:
S203, finding out a bifurcation lane in the longitude and latitude coordinate set with the unique number in the multiple sections;
S204, merging each branched lane into a new virtual lane when merging the longitude and latitude coordinate sets with the unique numbers of the multiple sections, wherein the virtual lanes belong to the ordered lanes.
The present embodiment considers that there are many lane increases designed to reduce congestion in an expressway, and one lane may be connected to a plurality of front lanes, resulting in a lane bifurcation phenomenon. This part of latitude and longitude data can also be clearly seen in QGIS. For this part of data, for uniformity of the number of lanes, the branched lanes may be combined into one lane by averaging the longitude and latitude sets.
Preferably, when each of the branched lanes is merged into a new virtual lane in S204, the data points of the coordinate set after lane branching may be sequentially added and averaged, and the averaged result may be used as the new virtual lane.
In some embodiments, S200 comprises the steps of:
s210, determining the number of clusters according to the number of lanes in the ordered lanes;
s220, classifying all coordinate segments in the longitude and latitude coordinate set into corresponding cluster by a clustering algorithm taking the distance as an objective function;
S230, classifying all the coordinate segments into corresponding cluster clusters as one-time clustering iteration and carrying out multiple clustering iterations, and updating the clustering center point positions of each cluster after each clustering iteration until the clustering center point positions of each cluster are not changed;
s240, determining the ordered lane center line longitude and latitude coordinate set based on the results after multiple clustering iterations.
It should be noted that, in S210, the number of clusters is determined according to the number of actual lanes, and if there are 8 lanes actually, there are 8 clusters.
In some embodiments, S220 comprises the steps of:
s221, arbitrarily selecting coordinate segments from the longitude and latitude coordinate set as a cluster center point starting position of each cluster;
S222, calculating the distance from the central point of each section of coordinates in the longitude and latitude coordinate set to the starting position of each clustering central point, and classifying each section of coordinates into a cluster with the shortest distance.
Preferably, the objective function includes:
wherein dis is the distance between two longitude and latitude coordinate points, a is the difference value after the longitude of the two points is converted into radian, b is the difference value after the latitude of the two points is converted into radian, R1 is the longitude of the first point is converted into radian, R2 is the longitude of the second point is converted into radian, and earthR is the earth radius.
Preferably, when the cluster center point position of each cluster is updated, the cluster center point position of the new cluster may be made to be the center of the corresponding classified data set. It can be understood that the elements in the data set are unordered, segmented longitude and latitude coordinate points, and each segment of coordinate points is ordered.
In some embodiments, S300 comprises the steps of:
S310, dividing the mileage by the number of points in the longitude and latitude coordinate set of the ordered lane center line to obtain the average mileage interval between the coordinate points;
S320, determining a relation dictionary corresponding to the mileage and the coordinates based on a second formula, wherein the second formula comprises k j+x0 x i=set [ i ],
Wherein x 0 represents the average mileage interval, k j represents the lane number, and Set [ i ] represents the ith coordinate point in the ordered lane coordinate Set.
It is understood that since the coordinate sets having the smaller interval are acquired in S100, the curved road section within the short distance may be regarded as a straight line. Meanwhile, the dotting speed and the time interval are unchanged, and the coordinate points can be regarded as consistent intervals. Thus, the average mileage interval between coordinate points can be obtained by dividing the mileage by the number of points in the coordinate set. And each coordinate point corresponds to the number of intervals one by one, so that the corresponding relation between longitude and latitude and mileage can be obtained. And S400, when the longitude and latitude or the stake number is input, searching for the nearest point, and completing the corresponding conversion.
In a specific embodiment, the number of lanes is set to 8, i.e., the number of clusters is 8. Firstly, randomly selecting a central point of 8 sections of coordinates from a collected longitude and latitude coordinate set as a clustering central point starting position of each cluster;
Then calculating the distance from the central point of each section of coordinates in the longitude and latitude coordinate set to the starting position of each cluster central point, and classifying each section of coordinates into the cluster with the shortest distance, namely x i∈Sj(Min(dis(xi,Uj)), wherein x i is the central point of the ith section in the coordinate set, S j is the jth cluster, U j is the cluster central point of S j, the value range of i is [0, the length of the coordinate set), and the value range of j is [1, the number of clusters ];
after all the coordinate segments are classified, the positions of the clustering center points of all the clustering clusters are updated to enable the new clustering center points to be the centers of all the classified data sets,
I.e.Wherein a j is the j-th coordinate set after clustering, and x is the center point of each section of coordinate set in the j-th cluster after classification. Assuming that the class 1 clustering center point obtained by the ith clustering iteration is S 1i (wherein 1 represents the lane number and represents the ith clustering center point of the lane 1), the next clustering center obtained is S 1i+1, and a center point variation value C 1i, that is, C 1i=|S1i-S1i+1 |, is obtained, and once each clustering iteration, the clustering center point coordinates are updated according to the new clustering cluster until the position of the clustering center point is no longer changed, that is: the 8 clusters obtained at this time are the final clustering results, which are the center line coordinate sets of 8 lanes.
Because the lane coordinate Set is unordered at this time, for example, when the whole lane is in the east-west direction, the longitudes become smaller in sequence, and the order can be sorted according to the sizes of the longitudes, so that an ordered lane coordinate Set is obtained.
Taking the partial coordinates of lane 1 as an example, as shown in table 1, the ID is the number of each of the acquired multi-segment coordinate sets, and is unique. The coordinate points are shown in a column to the left of the example (only 5 are listed) acquired by the corresponding ID, and hundreds of coordinate points can be actually acquired for each segment.
TABLE 1
As shown in fig. 2, corresponding dotting is formed in the process of collecting longitude and latitude coordinate points, and the dotting interval is about 0.5 meter, which can be regarded as a small pitch. The curve mileage of a short distance is regarded as a straight line according to the differential idea. Meanwhile, the dotting speed and the time interval are unchanged, and the coordinate points can be regarded as consistent intervals. Therefore, the average mileage interval x 0 between coordinate points can be obtained by dividing the mileage by the number of points in the coordinate Set, the correspondence between the pile number and the longitude and latitude is k j+x0 i=set [ i ], and the corresponding conversion can be performed by inputting the longitude and latitude or the pile number by assuming that the length of 25 coordinate points (shown in table 1) in the corresponding coordinate Set of lane 1 (Y1) is 15 meters, and x 0 =15+.25=0.6, and the correspondence dictionary between the longitude and latitude and the pile number of lane 1 is shown in table 2.
TABLE 2
For example, when converting longitude and latitude into stake numbers, a longitude and latitude coordinate point A (115.0345231,30.31839189) of a No. 1 lane to be converted can be input, a coordinate point set corresponding to the No. 1 lane is found from a relation dictionary, the distance between each coordinate point and a target coordinate point is calculated (can be calculated based on an objective function), the stake number corresponding to the longitude and latitude with the shortest distance is the target stake number, and the stake number conversion is calculated to be k0+6.0.
For example, when the pile number is converted to longitude and latitude, the uplink lane 1 pile number k0+2.5 to be converted can be input, the distance between the pile numbers in table 2 is calculated, the longitude and latitude corresponding to the nearest pile number is the target longitude and latitude, and the nearest pile number k0+2.4 and the longitude and latitude are calculated as [115.0345304,30.31842387]. In this embodiment, 8 lanes are shared, 1 to 4 are one traveling direction, and 5 to 8 are the other traveling direction. The 4 lane numbers are not 1234, but 1239,5-8 lanes are 1239, and 1 lane in the traveling direction corresponding to 1-4 is up No. 1, and 1 lane in the traveling direction corresponding to 5-8 is down 1 for distinction. It will be appreciated that since there is no k0+2.5 in Table 2, the dotting distance is about 0.6 m in this example, and thus is not an integer multiple, the closest value may be taken as the matching point.
In the practical business application of intelligent traffic, the upper layer application is concerned about information such as the specific position of the vehicle in the lane, the lane in which the vehicle is located, and the speed, lane change and the like of the vehicle. Therefore, in the corresponding relation between the longitude and the latitude and the stake marks, the longitude and the latitude only take the central line of the lane, and in the calculation mode of converting the longitude and the latitude into the stake marks, the point closest to the central line coordinate set is taken as the mapping result.
As shown in fig. 3, the embodiment of the invention further relates to a expressway longitude and latitude pile number conversion device, which comprises the following steps:
the coordinate set acquisition module is used for measuring the longitude and latitude of the central line of each lane to acquire a plurality of sections of longitude and latitude coordinate sets with unique numbers;
The lane merging module is used for merging the multiple sections of longitude and latitude coordinate sets with unique numbers into an ordered lane center line longitude and latitude coordinate set through a clustering algorithm taking the distance as an objective function;
The relation dictionary generating module is used for acquiring the corresponding relation between the ordered lane center line longitude and latitude coordinate set and the expressway mileage by adopting a differential principle and generating a relation dictionary corresponding to the mileage and the coordinates;
And the conversion module is used for realizing longitude and latitude stake number conversion based on the input longitude and latitude or stake number and the relation dictionary.
In some embodiments, the lane merge module is further to:
Finding out longitude and latitude coordinates of a non-high-speed road section in the longitude and latitude coordinate set with the unique number in the multiple sections;
and deleting the longitude and latitude coordinates of the non-high-speed road section when the longitude and latitude coordinate sets with the unique numbers of the sections are combined.
In some embodiments, the lane merge module is further to:
finding out a bifurcated lane in the multi-section longitude and latitude coordinate set with the unique number;
and merging each branched lane into a new virtual lane when merging the longitude and latitude coordinate sets with the unique numbers of the multiple sections, wherein the virtual lanes belong to the ordered lanes.
Preferably, when each of the branched lanes is combined into a new virtual lane, the data points of the coordinate set after lane branching may be sequentially added and averaged, and the averaged result is used as the new virtual lane.
In some embodiments, the lane merge module is further to:
determining the number of clusters according to the number of lanes in the ordered lanes;
classifying all coordinate segments in the longitude and latitude coordinate set into corresponding cluster by a clustering algorithm taking the distance as an objective function;
classifying all the coordinate segments into corresponding cluster clusters as one-time cluster iteration and carrying out multiple-time cluster iteration, and updating the cluster center point positions of each cluster after each cluster iteration until the cluster center point positions of each cluster are not changed;
And determining the ordered lane center line longitude and latitude coordinate set based on the results after multiple clustering iterations.
In some embodiments, the lane merge module is further to:
Arbitrarily selecting coordinate segments from the longitude and latitude coordinate set as a cluster center point starting position of each cluster;
And calculating the distance from the central point of each section of coordinates in the longitude and latitude coordinate set to the starting position of each clustering central point, and classifying each section of coordinates into a cluster with the shortest distance.
Preferably, the objective function includes:
wherein dis is the distance between two longitude and latitude coordinate points, a is the difference value after the longitude of the two points is converted into radian, b is the difference value after the latitude of the two points is converted into radian, R1 is the longitude of the first point is converted into radian, R2 is the longitude of the second point is converted into radian, and earthR is the earth radius.
Preferably, when the cluster center point position of each cluster is updated, the cluster center point position of the new cluster may be made to be the center of the corresponding classified data set.
In some embodiments, the relational dictionary generation module is further to:
dividing the mileage by the number of points in the longitude and latitude coordinate set of the ordered lane center line to obtain the average mileage interval between coordinate points;
determining a relation dictionary of the mileage and coordinates based on a second formula, wherein the second formula comprises k j+x0 x i=set [ i ],
Wherein x 0 represents the average mileage interval, k j represents the lane number, and Set [ i ] represents the ith coordinate point in the ordered lane coordinate Set.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components, for example, one physical component may have a plurality of functions, or one function or step may be cooperatively performed by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer-readable storage media, which may include computer-readable storage media (or non-transitory media) and communication media (or transitory media).
It should be noted that in the present invention, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
The foregoing is only a specific embodiment of the invention to enable those skilled in the art to understand or practice the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. The expressway longitude and latitude stake number conversion method is characterized by comprising the following steps:
measuring the longitude and latitude of the central line of each lane to obtain a plurality of sections of longitude and latitude coordinate sets with unique numbers;
combining the multiple sections of longitude and latitude coordinate sets with unique numbers into an ordered lane centerline longitude and latitude coordinate set through a clustering algorithm taking the distance as an objective function;
Acquiring the corresponding relation between the longitude and latitude coordinate set of the ordered lane center line and the mileage of the expressway by adopting a differential principle and generating a relation dictionary corresponding to the mileage and the coordinates;
Based on the input longitude and latitude or stake number and the relation dictionary, realizing the conversion of the longitude and latitude stake number;
the step of merging the multiple sections of longitude and latitude coordinate sets with unique numbers into an ordered lane center line longitude and latitude coordinate set through a clustering algorithm taking the distance as an objective function comprises the following steps:
determining the number of clusters according to the number of lanes in the ordered lanes;
classifying all coordinate segments in the longitude and latitude coordinate set into corresponding cluster by a clustering algorithm taking the distance as an objective function;
classifying all the coordinate segments into corresponding cluster clusters as one-time cluster iteration and carrying out multiple-time cluster iteration, and updating the cluster center point positions of each cluster after each cluster iteration until the cluster center point positions of each cluster are not changed;
And determining the ordered lane center line longitude and latitude coordinate set based on the results after multiple clustering iterations.
2. The expressway latitude and longitude stake number conversion method as claimed in claim 1, further comprising the steps of:
Finding out longitude and latitude coordinates of a non-high-speed road section in the longitude and latitude coordinate set with the unique number in the multiple sections;
and deleting the longitude and latitude coordinates of the non-high-speed road section when the longitude and latitude coordinate sets with the unique numbers of the sections are combined.
3. The expressway latitude and longitude stake number conversion method as claimed in claim 1, further comprising the steps of:
finding out a bifurcated lane in the multi-section longitude and latitude coordinate set with the unique number;
and merging each branched lane into a new virtual lane when merging the longitude and latitude coordinate sets with the unique numbers of the multiple sections, wherein the virtual lanes belong to the ordered lanes.
4. A highway longitude and latitude stake number conversion method as claimed in claim 3, wherein said merging each of said diverging lanes into a new virtual lane comprises the steps of:
and sequentially adding the data points of the coordinate set after lane bifurcation, and averaging, wherein the averaged result is used as the new virtual lane.
5. The method for converting longitude and latitude pile numbers of expressways according to claim 4, wherein said classifying all coordinate segments in said longitude and latitude coordinate set into corresponding clusters by a distance-based clustering algorithm includes the steps of:
Arbitrarily selecting coordinate segments from the longitude and latitude coordinate set as a cluster center point starting position of each cluster;
And calculating the distance from the central point of each section of coordinates in the longitude and latitude coordinate set to the starting position of each clustering central point, and classifying each section of coordinates into a cluster with the shortest distance.
6. The expressway longitude and latitude pile number conversion method of claim 5, wherein said objective function includes:
wherein dis is the distance between two longitude and latitude coordinate points, a is the difference value after the longitude of the two points is converted into radian, b is the difference value after the latitude of the two points is converted into radian, R1 is the longitude of the first point is converted into radian, R2 is the longitude of the second point is converted into radian, and earthR is the earth radius.
7. The expressway longitude and latitude pile number conversion method according to claim 1, wherein said updating the cluster center point position of each cluster includes the steps of:
and enabling the clustering center point position of the new cluster to be the center of the corresponding classified data set.
8. The method for converting longitude and latitude stake marks of expressway according to claim 1, wherein said obtaining the corresponding relation between the longitude and latitude coordinate set of the line in the ordered lane and the mileage of the expressway by using differential principle and generating the relation dictionary of the mileage corresponding to the coordinates comprises the steps of:
dividing the mileage by the number of points in the longitude and latitude coordinate set of the ordered lane center line to obtain the average mileage interval between coordinate points;
determining a relation dictionary of the mileage and coordinates based on a second formula, wherein the second formula comprises k j+x0 x i=set [ i ],
Wherein x 0 represents the average mileage interval, k j represents the lane number, and Set [ i ] represents the ith coordinate point in the ordered lane coordinate Set.
9. A highway longitude and latitude pile number conversion device for implementing the highway longitude and latitude pile number conversion method according to claim 1, characterized by comprising the steps of:
the coordinate set acquisition module is used for measuring the longitude and latitude of the central line of each lane to acquire a plurality of sections of longitude and latitude coordinate sets with unique numbers;
The lane merging module is used for merging the multiple sections of longitude and latitude coordinate sets with unique numbers into an ordered lane center line longitude and latitude coordinate set through a clustering algorithm taking the distance as an objective function;
The relation dictionary generating module is used for acquiring the corresponding relation between the ordered lane center line longitude and latitude coordinate set and the expressway mileage by adopting a differential principle and generating a relation dictionary corresponding to the mileage and the coordinates;
And the conversion module is used for realizing longitude and latitude stake number conversion based on the input longitude and latitude or stake number and the relation dictionary.
CN202310316724.6A 2023-03-28 2023-03-28 Expressway longitude and latitude pile number conversion method and device Active CN116501816B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310316724.6A CN116501816B (en) 2023-03-28 2023-03-28 Expressway longitude and latitude pile number conversion method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310316724.6A CN116501816B (en) 2023-03-28 2023-03-28 Expressway longitude and latitude pile number conversion method and device

Publications (2)

Publication Number Publication Date
CN116501816A CN116501816A (en) 2023-07-28
CN116501816B true CN116501816B (en) 2025-07-25

Family

ID=87320877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310316724.6A Active CN116501816B (en) 2023-03-28 2023-03-28 Expressway longitude and latitude pile number conversion method and device

Country Status (1)

Country Link
CN (1) CN116501816B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115641721A (en) * 2022-12-06 2023-01-24 南京感动科技有限公司 Multi-source traffic flow index fusion and road condition calculation method based on fusion index
CN115762207A (en) * 2022-10-31 2023-03-07 湖北交投科技发展有限公司 Vehicle passing accompanying service realization method, device and equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4842043B2 (en) * 2006-08-07 2011-12-21 ジェイアール東日本コンサルタンツ株式会社 Mobile device and system for railway line survey
CN104120645B (en) * 2014-06-20 2016-07-06 南京理工技术转移中心有限公司 A kind of pavement behavior automatic data-detection alignment system and localization method
US10859395B2 (en) * 2016-12-30 2020-12-08 DeepMap Inc. Lane line creation for high definition maps for autonomous vehicles
CN111695389B (en) * 2019-03-15 2023-06-20 北京四维图新科技股份有限公司 A lane line clustering method and device
US12140448B2 (en) * 2020-03-05 2024-11-12 Nippon Telegraph And Telephone Corporation Generation device, generation method, and generation program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115762207A (en) * 2022-10-31 2023-03-07 湖北交投科技发展有限公司 Vehicle passing accompanying service realization method, device and equipment
CN115641721A (en) * 2022-12-06 2023-01-24 南京感动科技有限公司 Multi-source traffic flow index fusion and road condition calculation method based on fusion index

Also Published As

Publication number Publication date
CN116501816A (en) 2023-07-28

Similar Documents

Publication Publication Date Title
CN113034566B (en) High-precision map construction method and device, electronic equipment and storage medium
CN102208013B (en) Landscape coupling reference data generation system and position measuring system
CN102753939B (en) Time that network in numerical map produces and/or the interdependent weight of degree of accuracy
CN115311853B (en) Method and system for identifying road sign based on trajectory data of crowdsourcing map
CN112154446B (en) Three-dimensional lane line determination method, device and electronic equipment
US11062063B2 (en) System and method for generating vehicle travel data
JP7211513B2 (en) Map data generator
CN108417023A (en) A method for selecting the center point of traffic district based on spatial clustering of taxi pick-up and drop-off points
CN116403415B (en) Lane-level road condition acquisition method, device, electronic device and storage medium
US20190162543A1 (en) Method and apparatus for providing node-based map matching
US11428534B2 (en) Method, apparatus, and computer program product for map matching location data to a map
US11085791B2 (en) Method, apparatus, and computer program product for on-street parking localization
CN108253976A (en) It is a kind of fully by the three stage Online Map matching algorithms in vehicle course
CN108204819A (en) A kind of map datum automatic testing method and device and hybrid navigation system
CN110186428A (en) A kind of road grade based on big data curve matching determines method and system
CN105574313B (en) A kind of determination method and apparatus of category of roads
CN116501816B (en) Expressway longitude and latitude pile number conversion method and device
CN116071929B (en) Real-time road condition monitoring system and method based on bayonet license plate recognition data
CN115752486B (en) Method, device, equipment and medium for obtaining lane line topology based on crowdsourcing track
Sasaki et al. Road segment interpolation for incomplete road data
CN118585832B (en) Vehicle track recognition method, device, equipment, storage medium and program product
Andrášik et al. Identification of Curves and Straight Sections on Road Networks from Digital Vector Data
EP3617651B1 (en) Use of a geographic database comprising lane level information for traffic parameter prediction
CN111860396A (en) A method for identifying and summarizing the current area congestion status of vehicles
US12140690B2 (en) Positioning using locally unique neighbor cell identifiers

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant