The present invention relates to a shape information coding method and apparatus, as well as a shape information decoding method and apparatus, that are used, for example, for traffic information providing systems, map information distribution systems, and the like, when shape information of a road or the like that represents map information and related information of events that are related to the shape information, such as traffic congestion and accidents, and locations thereof are transmitted to a mobile terminal or the like.
In-vehicle navigation apparatus that are mounted in a vehicle for displaying maps, traffic information, and the like of the current location or in the vicinity thereof are becoming increasingly popular, for example, as a system using digital map information. The in-vehicle navigation apparatus retains a digital map database so that it can display a map of the vicinity of the vehicle's own location on the screen based on latitude and longitude data received by a GPS receiver and display a traveling trajectory and a result of route searching to a destination location added on the map. In addition, recent in-vehicle navigation apparatus are configured to receive traffic information such as traffic congestion information and accident information, which are provided from a traffic information providing system so that it can display locations of traffic congestion and accidents on a map and can perform route searching with those pieces of information being added as conditions.
In a traffic information providing system that is currently implemented, traffic information is supplied from a traffic information collecting center that controls an area to an information distribution center, and the traffic information that is edited for various communication media (FM broadcast, on-road beacons, and mobile telephones) is transmitted through respective communication media.
As disclosed in Patent Reference 1, Patent Reference 2, and the like, there are a method and an apparatus for transmitting location information of digital map, with a system in which road location information is transmitted using a road shape data representing the road shape of a road segment and a relative location data and shape representing a road location in the road segment, the road segment on the digital map is identified by performing shape matching of the road shape data on the receiving side, and a road location in the road segment is identified using relative location data (hereinafter, this system is referred to as a “map matching system”). These method and apparatus for transmitting location information of the map matching system have such advantages that they can transmit a location of the digital map accurately even when a sender side and a receiver side retain digital maps whose producers are different in cases where traffic information or the like is provided, and maintenance such as updating information associated with a new construction or change of a road can be easily carried out.
In such a map matching type method and apparatus for transmitting location information of as described above, related information such as traffic information is transmitted as a data that can be represented by a road shape data and a relative location data, and therefore, the amount of data originating road shape data tends to be greater and the amount of data transmission tends to be greater than a system of location information identifier system that has been conventionally used.
As described above, further reduction in the data amount of road shape data or the like is desired with the map matching type location information transmitting methods and apparatus, in order to improve transmission rate and transmission efficiency in transmitting information.
In particular, the road shaped at a concerning, for example, branch lanes or the like such as an entrance and exit road in an interchange area that connects a main track of an expressway and an ordinary road and an access road and a connecting road that connect together main tracks of an expressway has a small number of nodes that represent a road shape, resulting in a small road shape data in many cases. A problem with such short road shape data is that the proportion of the information that represents the starting end of the road shape data, which cannot be compressed, becomes high, and the compression efficiency of the information to be transmitted as a whole becomes low.
The present invention has been accomplished in order to solve the foregoing problem, and its object is to provide a shape information coding method and apparatus as well as a shape information decoding method and apparatus that can perform compression with high efficiency even with the shape information that represents a short segment of road or the like and can further reduce a data amount.
A shape information coding method in accordance with the present invention is for coding shape information for identifying a location on a digital map, the method comprising: a step of representing, concerning a coordinate string including a plurality of nodes corresponding to the shape information, location information of a second node or a subsequent node thereto with a relative location to a starting-end location, which is a first node, using location information of the starting-end location or location information of another node; and a step of representing the location information of the starting-end location with a relative location using another shape information.
According to the above-described procedure, the data amount of the location information of the starting-end location can be reduced in comparison with the case in which the location information of the starting-end location in the shape information is represented by an absolute location representation. Therefore, even with such shape information that the number of nodes is small and the proportion of the starting-end location information is large as the shape information representing the shape of a short segment of a road or the like, highly efficient data compression is possible, and it becomes possible to further reduce the data amount.
In the present invention, the relative location of the starting-end location may also be represented by the number of nodes from a reference point of the other shape information. This makes it possible to represent the relative location of the starting-end location with a small data amount using the number of nodes from the reference point of the other shape information.
In the present invention, the relative location of the starting-end location may be represented by a distance of the other shape information from a reference point. This makes it possible to represent the relative location of the starting-end location with a small data amount using the distance of the other shape information from the reference point.
In the present invention, the relative location of the starting-end location may be represented by a reference point of the other shape information. This makes it possible to represent the relative location of the starting-end location with a small data amount using the reference point of the other shape information.
In the present invention, the relative location of the starting-end location may be represented by a relative coordinate of the other shape information from a reference point. This makes it possible to represent the relative location of the starting-end location with a small data amount using a relative coordinate of the other shape information from a reference point.
In the present invention, the location information of the starting-end location may include identifying information of another shape information that is to be referenced, a number of nodes of the other shape information from a reference point, and a deviation angle from an orientation in the other shape information. This makes it possible to reduce the data amount of location information of the starting-end location in comparison with the case in which it is represented by an absolute location representation.
In the present invention, the shape information represented by the relative location may be arranged so as to follow another shape information that is referenced, and the location information of the starting-end location may include the number of nodes of the other shape information from a reference point and a deviation angle from an orientation in the other shape information. In this case, it is possible to omit the identifying information of the other shape information that is referenced and to further reduce the data amount of location information of the starting-end location in comparison with the case in which it is represented by an absolute location representation.
In the present invention, when an orientation from a node of the starting-end location toward a next node matches an orientation in the other shape information, the location information of the starting-end location may omit the deviation angle from the orientation in the other shape information and may include at least the number of nodes of the other shape information from the reference point. In this case, it is possible to omit the deviation angle from the orientation of the other shape information that is referenced, and to further reduce the data amount of location information of the starting-end location in comparison with the case in which it is represented by an absolute location representation.
In the present invention, the location information of the starting-end location may include identifying information of another shape information that is referenced, identifying information indicating a starting-end location or a terminal end location of the other shape information, and an absolute orientation of the starting-end location. This makes it possible to reduce the data amount of location information of the starting-end location in comparison with the case in which it is represented by an absolute location representation.
In the present invention, the location information of the starting-end location may include identifying information of another shape information that is referenced, identifying information indicating a starting-end location or a terminal end location of the other shape information, relative location information to the starting-end location or the terminal end location, and an absolute orientation of the starting-end location. This makes it possible to reduce the data amount of location information of the starting-end location in comparison with the case in which it is represented by an absolute location representation.
In the present invention, it is possible to include a step of resampling nodes of the other shape information at equal intervals, and a step of correcting the starting-end location so that the starting-end location corresponds to one of the nodes that have been resampled. With the above procedure, the distance information for each node can be made unnecessary and the data amount of the shape information can be reduced by resampling the nodes of the other shape information at equal intervals.
The present invention also provides a program for causing a computer to execute the steps of a shape information coding method as set forth in any of the foregoing. By executing this program, the shape information can be coded in a form in which the data amount is reduced considerably.
A shape information coding apparatus in accordance with the present invention is a shape information coding apparatus used for a transmission side device for coding and transmitting shape information for identifying a location on a digital map, comprising: a coding section including: means for representing, with a coordinate string including a plurality of nodes corresponding to the shape information, location information of a second node and a node subsequent thereto by a relative location to a starting-end location that is a first node, using location information of the starting-end location or location information of another node; and means for representing the location information of the starting-end location with a relative location using another shape information.
According to the above-described configuration, the data amount of the location information of the starting-end location can be reduced in comparison with the case in which the location information of the starting-end location in the shape information is represented by an absolute location representation. Therefore, even with such shape information that the number of nodes is small and the proportion of the starting-end location information is large as the shape information representing the shape of a short segment of a road or the like, highly efficient data compression is possible, and it becomes possible to further reduce the data amount.
A shape information decoding method in accordance with the present invention is for decoding shape information for identifying a location on a digital map, the shape information being coded by representing location information of a starting-end location by a relative location using another shape information, the shape information decoding method comprising: a step of decoding the other shape information; a step of identifying the starting-end location represented by the relative location, using the decoded other shape information; and a step of decoding the shape information represented by the relative location based on the location information of the starting-end location.
With the above-described procedure, it is possible to identify the starting-end location regarding the coded shape information whose data amount is reduced by being represented by a relative location using another shape information, and to decode the original shape information.
In the present invention, the starting-end location represented by the relative location may be identified by the number of nodes from a reference point of the other shape information. This makes it possible to identify and restore the starting-end location of the shape information by the number of nodes from a reference point of the other shape information.
In the present invention, the starting-end location represented by the relative location may be identified by a distance from a reference point of the other shape information. This makes it possible to identify and restore the starting-end location of the shape information by the distance from a reference point of the other shape information.
In the present invention, the starting-end location represented by the relative location may be identified by a reference point of the other shape information. This makes it possible to identify and restore the starting-end location of the shape information by the reference point of the other shape information.
In the present invention, the starting-end location represented by the relative location may be identified by a relative coordinate from a reference point of the other shape information. This makes it possible to identify and restore the starting-end location of the shape information by the relative coordinate from a reference point of the other shape information.
The present invention also provides a program for causing a computer to execute the steps of a shape information decoding method as set forth in any of the foregoing. By executing this program, it is possible to decode the shape information that is coded and represented with a relative location and to identify the location.
A shape information decoding apparatus according to the present invention is a shape information decoding apparatus used a receiving-side device for decoding shape information for identifying a location on a digital map, the shape information being coded by representing location information of a starting-end location by a relative location using another shape information, the shape information decoding apparatus comprising: a decoding section including: means for decoding the other shape information; means for identifying the starting-end location represented by the relative location, using the decoded other shape information; and means for decoding the shape information represented by the relative location based on the location information of the starting-end location.
With the above-described configuration, it is possible to identify the starting-end location regarding the coded shape information whose data amount is reduced by being represented by a relative location using another shape information, and to decode the original shape information.
In the drawings, reference numerals 11, 11a, and 15a to 15c denote shape data of branch lanes; 12, 12a, 14, and 17 denote shape data of main tracks; 16 denotes shape data of other main tracks, 18a and 18b denote right turn costs; 18c denotes a left turn cost; 21 and 22 denote intersections; 30 denotes a transmission-side device; 31 denotes an event information input section; 32 denotes a digital map database; 33 denotes a shape data extracting section; 34 denotes a code table database; 35 denotes a shape data coding section; 36 denotes an information transmitting section; 40 denotes a receiving-side device, 41 denotes an information receiving section; 42 denotes a code table database; 43 denotes a shape data decoding section; 44 denotes a digital map database; 45 denotes a map matching section; 46 denotes a digital map displaying section; 50 denotes a code table data generating device; 53 denotes a code table calculating section; 54 denotes a code table data; 100 denotes a shape data string according to an absolute coordinate representation; 101 denotes a shape data string according to the first representation form; 102 denotes a shape data string according to the second representation form; 103 denotes a shape data string according to the third representation form; 104 denotes left/right turn waiting time information; 105 denotes a shape data string according to the fourth representation form; and 106 denotes a shape data string according to the fifth representation form.
Hereinbelow, preferred embodiments of the present invention are described with reference to the drawings.
Hereinafter, configurations and operations are described in which an embodiment of the shape information coding method and apparatus as well as the shape information decoding method and apparatus according to the present invention are applied to such an in-vehicle navigation apparatus that displays traffic information transmitted from a traffic information providing system to the in-vehicle apparatus.
First of all, a coding compression method for shape data of a road or the like is explained.
In the present embodiment, first, a shape of a road or the like is expressed by a shape data having a statistical deviation. This is because the compression rate becomes high when the shape data is coded and compressed.
For example, as shown in
When x-y coordinates of coordinate points PJ−1, PJ, and PJ+1 are designated as (xj−1, yj−1), (xj, yj), and (xj+1, yj+1), respectively, distance Lj (the distance between coordinate points PJ and PJ+1) and absolute angle Θj (the absolute orientation of the linear line heading from the coordinate point PJ to the coordinate point PJ+1) can be calculated by the following equations.
Lj=√{(xj+1−xj)2+(yj+1−yj)2}
Θj=tan−1{(xj+1−xj)/(yj+1−yj)}
Here, √{α} denotes the square root of α.
Now, when a new coordinate point is set again (resampled) on the road shape so that the distance thereto from adjacent coordinate points becomes constant (=L), a receiving side can identify the location of the coordinate point by being informed of only the information on the angle ΘJ (that is, information with one dimension) concerning each coordinate point in addition to the information about the common L; thus, it is possible to reduce the amount of transmission data.
However, the angle of each coordinate point may also be represented by a difference in displacement of absolute orientation, that is, “deviation angle θj,” as shown in
θj=ΘJ−ΘJ−1.
When each coordinate point is represented by deviation angle θj, the frequency of occurrence of angle information ΘJ representing each coordinate point shows a maximum at θ=0° in such an area that there are many linear roads, as illustrated in
In addition, the angle of each coordinate point can also be represented by difference Δθj (deviation angle difference value) between deviation angle θj and deviation angle statistical prediction value Sj (predicted value represented by deviation angle), as shown in
Sj=θj−1,
or can be defined as:
Sj=(θj−1+θj−2)/2.
Alternatively, Sj may be defined as the weighted mean of deviation angles of n number of previous coordinate points. A predicted value difference Δθj of deviation angle is calculated as:
Δθj=θj−Sj
If the distance L between coordinate points is set to be constant, the predicted value difference Δθj of deviation angle concentrates in the vicinity of 0° and, as illustrated in
In view of this, in order to obtain a shape data having a statistical deviation, as shown in
Now, it is assumed that deviation angle statistical prediction value Sj is defined as:
Sj=(θj−1+θj−2)/2.
Because road shapes, in most cases, gently curve,
θj=(θj−1+θj−2)/2=Sj,
and it is thought that Δθj distributes within a very small range with 0 being its center.
Although this Δθj can be a value from −360° to +360°, theoretically, it can be represented uniquely by a value from −180° to +180°, or from 0° to 360°. Thus, in order to represent Δθj with a resolution of 1°, 9 bits are required, which represent 360 numerical values. Here, by using variable length coding with huffman coding or the like in which, for example, coding is performed by allocating smaller values than 9 bits to angles near ±0° and allocating larger values than 9 bits to angles away from ±0°, the average bit number used for the coding of Δθj can be made less than 9 bits, and shape data can be represented by a small data amount as a whole.
Next, a coding method of the present embodiment that makes it possible to further reduce the data amount of shape data is explained.
As described above, using nodes and interpolated points (hereinafter collectively referred to as “nodes”) contained in a digital map database used as a plurality of locations on a road, a shape data represents a road shape or the like of the road segment by a coordinate data string indicating the locations of the plurality of nodes. Coordinate data of respective nodes are represented by an absolute coordinate (latitude and longitude) for the starting-end node, which serves as a start point, and by, for other nodes, relative coordinates from the starting end or an adjacent node.
It has been found as a result of a trial calculation with a road shape data performed by the inventors of the present invention that the data of coordinate points other than the starting end can be compressed to 3 to 6 bits per one node, although it may depend on the shape when using the above-described coding method with the even-interval resampling and the deviation angle difference value. Respective 32 bits for latitude and longitude, a total of 64 bits are required when the latitude and longitude of coordinate points are to be expressed with a resolution of several meters; but according to the above-described coding method, this can be compressed to 1/10 to 1/20. It should be noted that a total of 73 bits are required for the starting-end location information, 32 bits for latitude, 32 bits for longitude, 9 bits for absolute orientation (360° representation of angle information).
Thus, shape data results in a configuration in which starting-end location information of a starting end Pa1, which cannot be compressed, and location information of other coordinate points Pa2 to Pan (Pa2 to Pa8 in the example of
Most of such short shape data corresponds to branch lanes such as entrance and exit road portions of interchanges that connects expressways and non-expressways, and access roads and connecting roads that connect main lines of expressways and major roads each other. The present embodiment provides a method for reducing the data amount of starting-end location information in the short shape data that correspond to such branch lanes.
(1) Since main lane has more importance between main lane and branch lane, information about the main line connected to a branch lane is provided in most cases in the case where information about the branch lane is provided.
(2) A starting-end location (starting-end node P1) of a shape data 11 (branch lane portion shape data α) of a branch lane is on a shape data 12 (main lane shaped at a β) that constitutes the main lane connected thereto.
(3) The absolute orientation between the starting-end node P1→the next node P2 can be obtained referring to orientation information on the shape data of the main lane connected thereto (deviation angle or deviation angle statistical prediction value difference). Therefore, it can be represented by a deviation angle θ1 from the orientation of the connecting portion of the main lane.
Because of the above-noted characteristics of the branch lane shape data, the starting-end location information of a branch lane can be represented by a first representation form as follows in very many cases, using the shape data of the main lane.
Starting-end location=[shape data number of the main lane to be referenced]+[number of nodes from starting end]+[deviation angle from the orientation of the main lane shape] (first representation form)
Thus, the present embodiment makes it possible to reduce data amounts even with short shape data by representing the starting-end location of the shape data of a branch lane in the manner as described above.
When representing a road shape in a digital map with shape data, the number of shape data is practically within a range of 2000 even when estimated at most, and they can be represented with a maximum of 11 bits. Also, the number of nodes of the shape data within a range of 200 when estimated at most, and they can be represented with a maximum of 8 bits. Further, the deviation angle from the orientation of the main lane shape can be expressed using the data coded by variable length coding with a code table such as huffman coding, as described above, and therefore be represented with an average of 3 to 6 bits. In total, 19+α bits (α is an average of 3 to 6 bits although it is a variable length) are required, and the data amount (bit number) of starting-end location information, which would require 73 bits when represented with absolute latitude and longitude, can be remarkably reduced.
At this time, as for a shape data 11a of the branch lane, a node on a shape data 12a of the main lane that is near the upstream of the original shape (near the starting end of the main lane) and is closest to the starting-end location of the branch lane is newly redefined as a starting end P1 of the shape data 11a of the branch lane. In this case, the original shape data 12 of the main lane shown in
Here, configuration examples of the shape data are shown in
A shape data string 100 according to an absolute coordinate representation, shown in
In contrast to this, a shape data string 101 according to the first representation form of the present embodiment, shown in
Concerning a short shape data of a branch lane or the like, the location of its starting-end node can be represented with a relative representation that references the corresponding shape data of the main lane by using this first representation form, and it is possible to reduce the data amount of the starting-end location information considerably.
Next, one example of apparatus configuration and operation is described in more details regarding the generation (coding), transmitting/receiving, restoring (decoding), and displaying of the shape data such as described above.
An in-vehicle navigation apparatus that supports a traffic information providing system is configured as follows; traffic information such as traffic congestion and accidents is transmitted as event information from center equipment of the traffic information providing system, the event information is received by the in-vehicle apparatus and associated with the map information retained by the in-vehicle apparatus, and the traffic information is displayed on a display device along with a map of the vicinity of the vehicle's own location.
As shown in
The transmission-side device 30 comprises an event information input section 31 for inputting event information such as traffic information that reports traffic congestion or the like, a digital map database 32 that stores transmission-side digital map data, and a shape data extracting section 33 for extracting shape data to be transmitted based on the event information and the digital map data. It also comprises a code table database 34 for storing code table data generated by the code table data generating device 50, a shape data coding section 35 for coding and compressing the extracted shape data using the code table data, and an information transmitting section 36 for transmitting the coded shape data, the code table information, and the like.
The receiving-side device 40 comprises an information receiving section 41 for receiving the shape data, the code table information, and the like transmitted from the transmission-side device 30, a code table data base 42 for storing code table data for decoding, and a shape data decoding section 43 for decoding the receive shape data using the code table data. It also comprises a digital map database 44 for storing receiving-side digital map data, and a map matching section 45 for performing shape matching between the decoded shape data and the device's own digital map data using the digital map data. It further comprises a digital map displaying section 46 for displaying, with a liquid crystal monitor or the like, a location of event information or the like related to the shape data on the device's own digital map based on the result of the map matching.
The code table data generating device 50 comprises a code table calculating section 53 for generating code table data with a high data compression effect in coding based on past traffic information 51 and a digital map database 52, and has a function to transmit generated code table data 54 to the transmission-side device 30.
The transmission-side device 30 extracts shape data of a road or the like for transmitting the event information with the shape data extracting section 33 based on the event information such as traffic information input from the event information input section 31 and the digital map data in the digital map database 32. Then, it performs coding and compression of the shape data with the shape data coding section 35. At this time, using the code table data in the code table database 34 (huffman coding or the like), the deviation angle statistical prediction value difference or the like of the shape data is subjected to variable length coding. Thereafter, the coded shape data is transmitted from the information transmitting section 36.
On the other hand, the receiving-side device 40 decodes, in shape data decoding section 43, the shape data received by the information receiving section 41. At this time, based on the code table information transmitted along with the shape data, it references the code table database 42 and decodes a deviation angle statistical prediction value difference or the like that has been subjected to variable length coding using applicable code table data. Then, in the map matching section 45, it performs map matching of the decoded shape data using the digital map data in the digital map database 44, and identifies the device's own location on the digital map data regarding the event information or the like sent along with the shape data. Thereafter, in the digital map displaying section 46, it displays the location of the event information or the like along with the digital map.
Here, the operation of the shape data coding section 35 in the transmission-side device 30 is described in detail.
When the shape data coding section 35 receives a shape data (step S11), it extracts a branch lane portion shape data α such that its starting end exists in the main lane shape data β (step S12). Here, if there are a plurality of branch lane portion shape data a having its starting end on the main lane shape data β, a plurality of branch lane portion shape data αn are extracted. Next, each route distance Ln on the main lane shape data β is calculated from the starting end of the main lane shape data β to the starting end of each branch lane portion shape data αn (step S13). Then, the main lane shape data β are equal-distance resampled so as to change from the state shown in
Next, on the main lane shape data that has been resampled, an appropriate resampling point (node) whose route distance from the starting end on the main lane shape data β is shorter than the above-mentioned Ln is searched (step S15). Then, using the number of nodes from the starting end on the main lane shape data β, the starting end of each branch lane portion shape data αn is represented by the searched node (step S16). Subsequently, the starting end of each branch lane portion shape data αn is changed to the node on the main lane shape data β, and the starting end P1 is redefined using the number of nodes to correct the branch lane portion shape data αn (step S17). Thereafter, each branch lane portion shape data αn is equal-distance resampled, and a variable length coding compression is performed (step S18).
Then, it is determined whether the process has been completed for all the shape data received (step S19), and if it has not been completed, the process returns to step S12 and the same process as described above is repeated. If the process has been completed for all the shape data the coded and compressed shape data are sent out to the information transmitting section 36 (step S20).
In addition, the operation of the shape data decoding section 43 in the receiving-side device 40 is described in detail.
When the shape data decoding section 43 receives a shape data (step S21), it decodes the main lane shape data β (step S22). Subsequently, the starting end P1 of the branch lane portion shape data αn is identified from the decoded main lane shape data β and the number of nodes from its starting end (step S23). Thereafter, with reference to the corresponding main lane shape data β the branch lane portion shape data αn are decoded (step S24).
Then, it is determined whether the process has been completed for all the shape data received (step S25), and if it has not been completed, the process returns to step S22 and the same process as described above is repeated. If the process has been completed for all the shape data, the decoded shape data are sent out to the map matching section 45 (step S26).
By carrying out coding and decoding of shape data in this manner, it is possible to generate and restore the shape data according to the representation form of the present embodiment, and the data amount of shape data to be transmitted/received can be reduced considerably. It should be noted that the processes as described above can be realized by executing a software program to cause the shape data coding section 35 and the shape data decoding section 43 to function by processors provided in the transmission-side device 30 and the receiving-side device 40.
Next, some other representation forms are presented as modifications of coding of shape data according to the present embodiment. First, a second representation form is explained with reference to
This second representation form is suitable when, as shown in
Starting-end location=[Number of nodes from starting end of main lane]+[deviation angle from the orientation of the main lane shape] (second representation form)
The shape data of the second representation form is capable of omitting 11 bits for the shape data number that is to be referenced in comparison with the previously-described first representation form, and thus can further reduce the data amount. It should be noted that when there are a plurality of branch lane shape data 102b, the plurality of branch lane shape data 102b may be lined up so as to follow the main lane shape data 102a and the starting-end locations may be represented by only the number of nodes from the starting end of the main lane shape data 102a.
In addition, it is possible to represent another main lane shape data 16 that crosses or connects the main lane shape data 14 in a similar manner to the branch lane shape data 15a to 15c if its starting end exists on a certain main lane shape data 14 as in the example of
Next, a third representation form is described with reference to FIGS. 14 to 16. This third representation form is suitable to represent a waiting time at the time of making a right turn or a left turn (right turn cost or left turn cost), as shown in
It has been proposed to take into account a waiting time that it takes to make a right turn or a left turn to extract the best route when performing route searching or the like in an in vehicle navigation apparatus. For such route searching, a case in which the information on right turn costs 18a, 18b and a left turn cost 18c is provided along with a main lane shape data 17 is considered.
Here, left/right turn cost (left/right turn waiting time) is explained. The road network that is the road information retained by an in-vehicle device of an in-vehicle navigation system comprises, as shown in
For example, traveling speed becomes slow in congested areas. For this reason, traveling speed is set lower in a congested area than in other links, and the required traveling time (link cost) for the applicable links is set larger. By doing so, congested areas tend not be selected as a shortest route. When performing route searching using such a link cost, a shortest route 207 from the departure location 205 to the destination location 206 can be obtained avoiding the congested areas that contain traffic congestion information 203, as shown in
Nevertheless, when actually traveling on a road, a time required for making left/right turns at intersections occurs other than the required traveling time through each link. This is called a left/right turn cost or a left/right turn waiting time. Recently, as sensor technology such as probe cars and image sensors develops, it has been becoming possible to measure actual left/right turn waiting time. By taking into account such dynamically changing left/right turn waiting time and superimpose it onto a link cost as a left/right turn cost, it is possible to compute the shortest route more accurately. For example, as shown in
The locations at which the right turn costs 18a and 18b and the left turn cost 18c as shown in
Starting-end location=[number of nodes from starting end of main lane] (third representation form)
Further, as shown in
The shape data of the third representation form can be expressed by only 8 bits, which are for the number of nodes from the starting end, and thus, the data amount can be further reduced for the shape data that represent left/right turn costs or the like in comparison with the previously-described first representation form and second representation form.
It should be noted that the representation and coding of shape data using the first to third representation forms can be realized by applying the coding process shown in
Next, a fourth representation form is explained with reference to FIGS. 17 to 18. This fourth representation form is suitable to represent the inbound and outbound road shapes for an intersection as shown in
When a road intersection 21 is assumed to be the center, this intersection 21 becomes the terminal end of shape data A=the starting end of shape data B=the starting ends of shape data C, F, and G=the terminal ends of shape data D, E, and H. Thus, when the shape data A is assumed to be a reference shape data that is to be referenced, the shape data B to H can be represented by a fourth representation form as follows:
Starting-end location=[referenced shape data number]+([starting end] or [terminal end])+[absolute orientation] (fourth representation form)
The shape data of this fourth representation form uses for the representation: the shape data number that is referenced (11 bit)+a starting end or a terminal end (1 bit)+the absolute orientation (9 bit), 21 bits in total; thus, it becomes possible to reduce the data amount of the starting-end location information considerably in comparison with the case in which it is represented by absolute latitude and longitude.
Now, a fifth representation form is explained with reference to FIGS. 19 to 20. This fifth representation form is suitable to represent inbound and outbound road shapes at an intersection with dual lanes as shown in
The case in which an intersection 22 with a dual lane road is assumed to be the center can also be represented by modifying the above-described fourth representation form. In this case, by using an offset longitude ΔX and an offset latitude ΔY of one of the intersections 22a with the dual lane to the other intersection 22b, the terminal end of shape data A+(ΔX, ΔY)=the starting ends of shape data B and G=the terminal ends of shape data D and H. Thus, for example, if the shape data A is set as the reference shape data to be referenced, the shape data B, D, G, and H can be represented by the fifth representation form as follows. It should be noted that the offset longitude ΔX and the offset latitude ΔY are about 100 meters at most, so they can be expressed with 8 bits including 1 bit for identifying positive or negative even when they are represented at a resolution of 1 meter.
Starting-end location=[shape data number that is referenced]+([starting end] or [terminal end])+[offset longitude]+[offset latitude]+[absolute orientation] (fifth representation form)
The shape data of this fifth representation form can be expressed with the shape data number that is referenced (11 bit)+a starting end or a terminal end (1 bit)+an offset longitude (8 bit)+an offset latitude (8 bit)+an absolute orientation (9 bit), 37 bits in total; thus, the data amount of the starting-end location information can be reduced in comparison with the case in which it is represented with absolute latitude and longitude.
Alternatively, as a sixth representation form, it is possible to modify the previously-described first representation form and represent the starting-end location as follows:
Starting-end location=[shape data number that is referenced]+[route distance from starting end]+[deviation angle from the orientation of the main lane shape] (sixth representation form)
The data amount of the starting-end location information of shape data can also be reduced likewise when the starting-end location is represented by a route distance in place of the number of nodes from the starting end of a shape data that is referenced.
It should be noted that the reference for the relative representation of a starting-end location is not limited to the number of nodes or the distance from the starting end of a shape data that is referenced. With he representation forms described above, examples are shown in which the starting-end location of the shape data that is referenced is set as a reference point and the starting-end location is represented by the number of nodes or the distance from the reference point, or by the reference point itself or alternatively a relative coordinate from the reference point. The reference point may be other than the starting-end location of the shape data that is referenced, and it is also possible to use the terminal end location, an arbitrary characteristic point (a point that represents an intersection or a branching point), or the like. For example, when a reference point is provided at a location of an intersection or a branching point that is in a middle of a shape data, it is possible to represent the starting-end location with the number of nodes or distance from this reference point.
Next, a coding and decoding process procedure for shape data that supports all the above-described first to sixth representation forms is described.
When the shape data coding section receives a shape data (step S31), a shape data whose starting end can be represented by a relative location to the reference shape data β is extracted as a subject shape data α (step S32). Here, if there are a plurality of subject shape data α, the plurality of subject shape data αn are extracted. Next, a starting end P1 of the subject shape data αn is represented by a relative location on the reference shape data β (step S33). Then, the reference shape data β is resampled at equal distances and variable length coding compression is performed (step S34).
Next, using the resampled reference shape data β, the relative location representation of the starting end P1 of each subject shape data αn is corrected using the resampled nodes or the like on the reference shape data β (step S35). Subsequently, using the corrected starting end P1, each subject Shape data αn is corrected (step S36). Thereafter, each subject shape data αn is resampled at equal distances and variable length coding compression is performed (step S37).
Then, it is determined whether the process has been completed for all the shape data received (step S38), and if it has not been completed, the process returns to step S32 and the same process as described above is repeated. If the process has been completed for all the shape data, the shape data that have been coded and compressed are sent out to the information transmitting section (step S39).
When the shape data decoding section receives a shape data (step S41), it decodes the reference shape data β (step S42). Subsequently, the starting end P1 of the subject shape data αn is identified from the decoded reference shape data β and the relative location (step S43). Thereafter, the subject shape data αn is decoded with reference to a corresponding reference shape data β (step S44).
Then, it is determined whether the process has been completed for all the shape data received (step S45), and if it has not been completed, the process returns to step S42 and the same process as described above is repeated. If the process has been completed for all the shape data, the shape data that have been coded and compressed are sent out to the map matching section (step S46).
By performing coding and decoding shape data in this way, it is possible to generate and restore shape data according to the first to sixth representation forms of the present embodiment, and to reduce the data amount of shape data to be transmitted/received considerably.
As described above, according to the present embodiment, it becomes possible to reduce the data amount of starting-end location information considerably by representing the starting-end location information by a relative representation with reference to another shape data when coding and compressing shape data of roads or the like because even a short shape data for a branch lane portion or the like in which the number of nodes is small and the proportion of the starting-end location information is large can be represented using a shape data for a main lane or the like.
Although the present invention has been described in detail with reference to specific preferred embodiments thereof, it will be apparent to those skilled in the art that various changes and modifications may be made herein without departing from the scope and sprit of the present invention.
The present application is made based on Japanese Patent Application No. 2003-013826, filed on Jan. 22, 2003, the content of which is incorporated by reference herein.
As has been explained above, the present invention can provide a shape information coding method and apparatus as well as a shape information decoding method and apparatus that can compress even such shape information that represents a shape of a short road segment or the like at high efficiency and can further reduce the data amount.
Number | Date | Country | Kind |
---|---|---|---|
2003-013826 | Jan 2003 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP04/00454 | 1/21/2004 | WO | 7/21/2005 |