Map generation method and apparatus, and map using method and apparatus
View Patent ↗This application discloses a map generation method and apparatus, and a map using method and apparatus. One example generation method includes: generating a map, where the map includes location information of a first event and location reference information of the first event, the location information indicates a location at which the first event occurs, and the location reference information indicates a location reference manner on which the location information is based; and sending the map.
1 . A map generation apparatus, comprising at least one processor and at least one memory, wherein the at least one memory stores program instructions, and the at least one processor is coupled to the at least one memory to execute the program instructions to:
generate a map, wherein the map is an electronic map comprising electronic data, wherein the map comprises location information of a first event and location reference information of the first event, the location information indicates a location at which the first event occurs, and the location reference information indicates a characteristic of location information, wherein the characteristic indicates whether the location information is based on a road central line, a road edge line, a lane central line, or a lane edge line, wherein the map comprises one or more dynamic map layers that are used to express real time dynamic information; and
send the map to a second apparatus.
2 . The apparatus according to claim 1 , wherein
the location information comprises first location information and second location information, and the location reference information comprises first location reference information and second location reference information, the second location information is different from the first location information.
3 . The apparatus according to claim 1 , wherein the location reference information indicates that the location information is based on at least one of an east north up (ENU) rectangular coordinate system or a coordinate system along a reference line.
4 . The apparatus according to claim 1 , wherein the location reference information indicates that the location information is based on at least one of the following:
a start point of a road central line;
a start point of a road edge line;
a midpoint of a start line of a lane group;
a start point of a lane central line; or
a start point of a lane edge line.
5 . The apparatus according to claim 1 , wherein the location reference information indicates that the location information is based on at least one of the following:
a central line of a road;
an edge line of a road;
a central line of a lane; or
an edge line of a lane.
6 . The apparatus according to claim 1 , wherein the map further comprises:
third location information of a second event and event correlation indication information.
7 . A map using apparatus, comprising at least one processor and at least one memory, wherein the at least one memory stores program instructions, and the at least one processor is coupled to the at least one memory to execute the program instructions to:
receive a map from a second apparatus, wherein the map is an electronic map comprising electronic data, wherein the map comprises location information of a first event and location reference information of the first event, the location information indicates a location at which the first event occurs, and the location reference information indicates a characteristic of location information, wherein the characteristic indicates whether the location information is based on a road central line, a road edge line, a lane central line, or a lane edge line, wherein the map comprises one or more dynamic map layers that are used to express real time dynamic information; and
perform at least one of the following operations: a map update operation, displaying the location information, or assisting in driving decision-making based on the map.
8 . The apparatus according to claim 7 , wherein
the location information comprises first location information and second location information, and the location reference information comprises first location reference information and second location reference information, the second location information is different from the first location information.
9 . The apparatus according to claim 8 , wherein the at least one processor is coupled to the at least one memory to execute the program instructions to:
in response to a request message, change displaying the first location information to displaying the second location information;
wherein the displaying the first location information comprises displaying the first location information based on the first location reference information, and the displaying the second location information comprises displaying the second location information based on the second location reference information.
10 . The apparatus according to claim 8 , wherein the at least one processor is coupled to the at least one memory to execute the program instructions to:
when a distance between the first event and a vehicle meets a preset condition, change displaying the first location information to displaying the second location information;
wherein the displaying the first location information comprises displaying the first location information based on the first location reference information, and the displaying the second location information comprises displaying the second location information based on the second location reference information.
11 . The apparatus according to claim 8 , wherein the at least one processor is coupled to the at least one memory to execute the program instructions to:
when a distance between the first event and a vehicle meets a preset condition, change assisting in driving decision-making based on the first location information to assisting in driving decision-making based on the second location information.
12 . The apparatus according to claim 8 , wherein the at least one processor is coupled to the at least one memory to execute the program instructions to:
select the first location information from the first location information and the second location information for display based on an attribute of the first event, and time or a location at which the first event occurs, wherein the displaying is based on the first location reference information.
13 . The apparatus according to claim 8 , wherein the at least one processor is coupled to the at least one memory to execute the program instructions to:
select the first location information from the first location information and the second location information for display based on a permission of a device performing displaying or a permission of a user who uses the device, wherein the displaying is based on the first location reference information.
14 . The apparatus according to claim 7 , wherein the location reference information indicates that the location information is based on at least one of an east north up (ENU) rectangular coordinate system or a coordinate system along a reference line.
15 . The apparatus according to claim 7 , wherein the location reference information indicates that the location information is based on at least one of the following:
a start point of a road central line;
a start point of a road edge line;
a midpoint of a start line of a lane group;
a start point of a lane central line; or
a start point of a lane edge line.
16 . The apparatus according to claim 7 , wherein the location reference information indicates that the location information is based on at least one of the following:
a central line of a road;
an edge line of a road;
a central line of a lane; or
an edge line of a lane.
17 . The apparatus according to claim 7 , wherein the map further comprises:
third location information of a second event and event correlation indication information.
18 . The apparatus according to claim 7 , wherein the at least one processor is coupled to the at least one memory to execute the program instructions to:
determine, based on the location reference information, that a display definition of the location information is higher than display definition on which currently displaying a location of the first event is based; and
display the location of the first event based on the location reference information.
19 . A method, comprising:
generating a map, wherein the map is an electronic map comprising electronic data, wherein the map comprises location information of a first event and location reference information of the first event, the location information indicates a location at which the first event occurs, and the location reference information indicates a characteristic of location information, wherein the characteristic indicates whether the location information is based on a road central line, a road edge line, a lane central line, or a lane edge line, wherein the map comprises one or more dynamic map layers that are used to express real time dynamic information; and
sending the map to a second apparatus.
20 . The method according to claim 19 , wherein
the location information comprises first location information and second location information, and the location reference information comprises first location reference information and second location reference information, the second location information is different from the first location information.