This invention relates to a determination method of the sampling point interval (resample length) to set a plurality of sampling points complying with the shape of a road, etc., on a digital map to generate coded data representing a road position, etc., a coded data generation method using the determination method, and an apparatus for carrying out the methods and proposes how to determine the resample length with a small error from the original shape and so as not to increase the data amount of the coded data.
Hitherto, VICS (Vehicle Information Communication System) has conducted the service for providing vehicle information indicating a congestion zone and the travel time through FM multiplex broadcasting and beacon for a vehicle navigation system installing a digital map database. The vehicle navigation system receives the vehicle information and displays a colored congestion zone on a map displayed on a screen and calculates the required time to the destination for display.
Thus, to provide the vehicle information, it becomes necessary to pass position information of a road on a digital map. It is also necessary to report the recommended route and the run locus on a digital map to the associated party in the service for receiving the information on the current location and the destination and providing information on the recommended route through which the destination will be reached in the shortest time and a vehicle information collection system (probe information collection system) for collecting locus information, speed information, etc., from a running vehicle (probe car) advanced in study in recent years.
Hitherto, to report the road position on the digital map, generally the link numbers assigned to roads and the node numbers determining nodes such as intersections have been used. However, the node numbers and the link numbers defined in a road network need to be replaced with new numbers with new construction or change of a road and the digital map data produced by each company must also be updated accordingly and thus the system using the node numbers and the link numbers involves an enormous social cost for maintenance.
To improve such a point, JP-A-2003-23357 discloses a method of reporting the road position on the digital map without using the node numbers or the link numbers and in a small data amount.
In this method, sampling points are again set at given intervals in the road zone on the digital map to be reported (called “equal-distance resample”) and compression coding processing is performed for the data string with the position data of the sampling points arranged in order, and the compressed and coded data is transmitted. At the reception party receiving the data, the data string of the position data of the sampling points is reconstructed and the road shape is reproduced on the digital map of the reception party. Using the position data, position determination and position reference are carried out (map matching) on the digital map of the reception party for determining the road zone, as required.
The compression coding for the data string of the position data is performed in the order of (1) conversion of position data to a single variable, (2) conversion of the value represented by the single variable to a value having a statistical bias, and (3) variable-length coding of the provided value as described later:
(1) Conversion of Position Data to a Single Variable
(2) Conversion of a Single Variable Value to a Value Having a Statistical Bias
As shown in
θj=Θj−Θj−1
If the road is linear, the deflection angles θ of the sampling points concentrate on the vicinity of 0 and become data having a statistical bias.
The angle component of the sampling point can be converted into data having a statistical bias by representing the deflection angle θj of an attention sampling point PJ by difference value (deflection angle predicted difference value or deflection angle predicted error) Δθj from deflection angle predicted value Sj (statistical predicted value) of the sampling point PJ predicted using deflection angles θj-1, θj-2, . . . of the preceding sampling points PJ-1, PJ-2, . . . as shown in
Sj=θj−1
or can be defined as
Sj=(θj−1+θj−2)/2
The deflection angle predicted difference value Δθj is calculated as
Δθj=θj−Sj
If the road is curved at a constant curvature, the deflection angle predicted difference values Δθ of the sampling points concentrate on the vicinity of 0 and become data having a statistical bias.
(3) Variable-Length Coding
Next, the data string values converted into values having a statistical bias are variable-length coded. Various types of variable-length coding method such as a fixed numeric value compression method (0 compression, etc.,), a Shannon-Fano code method, a Huffman code method, an arithmetic code method, and a dictionary method exist; any method may be used. To use the most general Huffman code method, using a code table where a code with a small number of bits is defined for highly frequently occurring data and a code with a large number of bits is defined for less frequently occurring data, the values in the data string provided with a statistical bias are coded for reducing the total data amount.
JP-A-2003-23357 mentioned above proposes a method of setting distance L2 of equal-distance resample short in a zone B where the curvature of the road shape is large and setting distance L1 of equal-distance resample long in a linear zone A with a small curvature, as shown in
As a specific method, a resample length determination method of presetting the value that can be taken by resample length Lj in each zone j (quantization resample length) to, for example, 40/80/160/320/640/1280/2560/5120 meters, finding Lj according to the following expression (expression 1) using curvature radius ρj of the zone j, and determining that the quantization resample length closest to the value is the resample length Lj:
Lj=ρj·Kr (where Kr is a fixed parameter) (Expression 1)
However, the resample length determination method using (Expression 1) is equal to finding the length of each side of a polygon approximate to a perfect circle as shown in
The follow-up ability of the resample shape can be improved by setting Kr in (Expression 1) small, in which case it is equivalent to increasing the number of the sides (corners) of a polygon approximate to a perfect circle, and a fine resample length more than necessary is set for the road shape with the small curvature radius, causing a problem of degradation of the compression rate of the coded data.
As shown in
The invention is intended for solving the problems in the related arts and it is therefore an object of the invention to provide a determination method of a resample length capable of providing a resample shape with a small error relative to the original shape without incurring an increase in the data amount of coded data and provide a coded data generation method using the resample length determination method and an apparatus for carrying out the methods.
Patent document 1: JP-A-2003-23357
In a resample length determination method of the invention, the resample length between sampling points to resample a linear object is set so that an error between the resample shape concatenating the sampling points as a line and the linear object does not exceed a predetermined allowable error.
Thus, the allowable error is predefined and the resample length is determined so as not to exceed the allowable error, so that the resample shape well follows the linear object.
To grasp the invention from another aspect of the invention, the invention is a determination method of a resample length between sampling points to resample a linear object, and this resample length determination method includes the following steps (1) to (4):
(1) A step of determining whether or not the shape of the linear object is approximate to a part of a circular arc under a predetermined condition.
(2) A step of calculating a curvature radius of the linear object if it is determined that the shape is approximate to a part of the circular arc as the result of the determining step.
(3) A step of setting the resample length so that an error between a resample shape concatenating the sampling points as a line and the linear object does not exceed a predetermined allowable error Emax if the curvature radius of the linear object, ρ, is equal to or greater than a predetermined value.
(4) A step of setting the resample length by making the linear object approximate to a polygon corresponding to the curvature radius ρ if the curvature radius of the linear object, ρ, is equal to or less than the predetermined value.
In the resample length determination method of the invention, in (3) described above, the resample length can be determined based on the value of a determination expression containing
(ρ2−(ρ−Emax)2).
This determination expression can be used to determine the resample length not exceeding the allowable error.
In the resample length determination method of the invention, in (4) described above, the resample length can be determined based on a determination expression containing Kr·ρ using the curvature radius ρ and a fixed parameter Kr.
On the other hand, in (4) described above, Emax can be changed in response to ρ so that the smaller ρ, the smaller Emax.
In doing so, if the linear object shows a steep small curve, the resample shape is prevented from being distorted relative to the original shape.
In the resample length determination method of the invention, when the bend portion of the linear object is not assumed to be a part of a circular arc, the bend portion is made approximate to a part of a circle with the error from the bend portion not exceeding the allowable error and then the value of the determination expression is calculated and the resample length is determined based on the calculated value.
In doing so, the appropriate resample length can also be determined in a V-shaped curve part.
If it is determined that the shape of the linear object shape object contains a bend portion which is not approximate to a part of the circular arc, a predetermined resample length may be selected in response to the deflection angle magnitude in the portions preceding and following the bend portion.
The step of determining whether or not the shape of the linear object is approximate to a part of a circular arc may be executed using the deflection angle magnitude or the relationship between the deflection angle and the node-to-node distance.
In a coded data generation method of the invention, the resample length between sampling points to resample a linear object is determined by any of the methods described above, the linear object is resampled according to the determined resample length to set a plurality of sampling points, the position data of each sampling point is represented by an angle component having an occurrence frequency bias, and variable-length coding is performed for a data string of listing the position data of the sampling points in order to compress the data.
According to the method, the coded data representing the linear object with not so large data amount and a small error relative to the original shape can be provided.
The invention contains an apparatus including a resample length determination section for determining the resample length between sampling points to resample a linear object according to any of the methods described above.
A coded data generation apparatus of the invention includes a resample length determination section for determining the resample length between sampling points to resample a linear shape according to any of the methods described above; a resample processing section for resampling the linear shape according to the resample length determined by the resample length determination section to set a plurality of sampling points; and a variable-length coding processing section for representing position data of each sampling point set by the resample processing section by an angle component having an occurrence frequency bias, and performing variable-length coding for a data string of listing the position data of each sampling point in order to compress the data.
The apparatus can carry out the resample length determination method and the coded data generation method described above.
The configuration described above can be applied to a probe car installed machine for reporting the run locus of a probe car.
Further, the invention also contains a program for causing a computer to determine the resample length between sampling points to resample a linear object. The program causes the computer to execute the above-described steps (1) to (4).
The invention also contains a coded data decoding apparatus including a reception section for receiving coded data provided using the coded data generation method of a linear object described above; and a reconstruction section for reconstructing the received coded data.
In the resample length determination method of the invention, the resample length for producing the resample shape with a small error relative to the original shape without incurring an increase in the data amount can be determined. The appropriate resample length can also be determined in a V-shaped curve part.
In a first embodiment of the invention, a resample length determination method when the original shape of a road on a digital map, a linear object, is approximate to a circular arc will be discussed. In other words, a resample length determination method when the original shape of a road is approximate to a part of a circular arc or can be assumed to be a part of a circular arc under a predetermined condition will be discussed.
In the resample length determination method, allowable error Emax between the approximate shape concatenating sampling points (resample shape) and the road shape is previously defined. When the curvature radius of the road shape is equal to or greater than a predetermined value (namely, if the method in the related art is adopted, it is feared that the error between the road shape and the resample shape may exceed the allowable error Emax), the resample length to be used is selected from among a plurality of preset quantization resample lengths so as not to exceed the allowable error Emax. When the curvature radius of the road shape is equal to or smaller than the predetermined value, the resample length is determined by a similar method to that in the related art.
The details of how to determine the allowable error Emax are described in JP-A-2002-328033. For example, Emax is set so as to satisfy the following conditions:
where ρ≧Emax, Emax>0
In the specification, the “error between the resample shape and the linear object” refers to Er in
As shown in
L≦2×2(ρ2−(ρ−Emax)2) (Expression 5)
where ρ≧Emax, Emax>0
However, since the circular arc of the actual road shape differs from the perfect circle, resample zone length determination value L0 when ρ is equal to or greater than a predetermined value (roughly, two to five times Emax) is set as in the following expression (Expression 6) allowing for the safety factor:
L0=α×2(ρ2−(ρ−Emax)2) (Expression 6)
where α=1.2 to 1.8 when center line resample is performed
Quantization resample length Ln is determined based on L0 calculated according to (Expression 6). It can be the that the resample length determination method described above is executed based on a determination expression containing (ρ2−(ρ−Emax)2).
When ρ is equal to or smaller than the predetermined value, if L0 is determined according to the expression described above, distortion or alienation degree from the original shape increases. Therefore, in this case, the resample zone length determination value L0 is set as in the following expression (Expression 7). The resample length is set as the shape is approximated with a polygon corresponding to the curvature radius.
L0=Kr·ρ (Expression 7)
where Kr is a fixed parameter.
The quantization resample length Ln is determined based on L0 calculated according to (Expression 7). It can be the that the resample length determination method described above is executed based on a determination expression containing Kr·ρ.
As the quantization resample length Ln is determined based on the resample zone length determination values L0, if the road shape shows a gentle large curve, the resample shape is prevented from largely deviating from the road shape and if the road shape shows a steep small curve, the resample shape is prevented from being distorted relative to the road shape.
Therefore, the reception party can decode reception data and precisely reproduce the resample shape.
Instead of setting the resample zone length determination value (Expression 7) when the curvature radius of the road shape, ρ, is equal to or smaller than the predetermined value, allowable error (Eo) may be set as a function of the curvature radius ρ (when ρ is small, Eo also becomes small) and the quantization resample length Ln may be determined using the resample zone length determination value in (Expression 6) regardless of the magnitude of ρ.
In this case, the allowable error (Eo) is set as in the following expression (Expression 8, 9), for example:
Eo=Emax (Expression 8)
where when ρ is equal to or greater than a predetermined value (for example, γ·ρ≧Emax)
Eo=γ·ρ (Expression 9)
where γ is a constant of 1 or less (mostly, 0.2 to 0.5). (Expression 9) may be any other expression if Eo is a monotonic increasing function of ρ. In the mode, the allowable error Emax is changed in response to the curvature radius ρ so that the smaller the curvature radius ρ, the smaller the allowable error Emax.
First, the maximum allowable error Emax between the road shape and the resample shape is determined (step 1). Next, the road shape data of the object road is acquired from a digital map database (step 2). The road shape data contains node and link data as shown in
an θn/Sn (Expression 10)
The curvature in a two-dimensional curve is defined as limit value dω/dL of ΔL−→0 of Δω/♯L where Δω is the angle between tangents at two points P(L) and P(L+ΔL) at a distance of ΔL from each other on the curve as shown in
Next, the curvature radius pn is calculated according to the following expression (Expression 11) (step 5):
ρn1/an (Expression 11)
Whether or not the curvature radius ρn is equal to or greater than a stipulated value is determined (step 6). When the curvature radius ρn is equal to or greater than the stipulated value, quantization resample length Ln of the link n is determined based on the resample zone length determination value calculated using (Expression 6) (step 7). When the curvature radius ρn is smaller than the stipulated value, quantization resample length Ln of the link n is determined based on the resample zone length determination value calculated using (Expression 7) (step 8).
At step 8, the quantization resample length Ln of the link n may be determined based on the resample zone length determination value L0 calculated from L0=α×2 (ρ2−(ρ−Eo)2) where Eo=γ·ρ (or Eo is an appropriate monotonic increasing function of ρ).
Focusing attention on the next line (step 10), step 4 and the later steps are repeated. When processing for all links of the object road is complete (step 9), if the same quantization resample length is applied between the adjacent links, the links are joined and the resample length of the whole object road (L2, L4, . . . , L3) is represented by the distance from the beginning (step 11) as shown in
Such processing is performed, whereby the coded data representing the road positions well approximate to the original shape of the road with small data amount can be provided.
On the other hand, the information utilization apparatus 40 includes a shape data reception section 41 for receiving the provided road shape data, a coded data decoding section 42 for decoding the compressed and coded data, a shape data reconstruction section 43 for reconstructing the resample shape, a map matching section 45 for performing map matching using data in a digital map database B 46 and determining a road zone represented by sampling points on a digital map, and an information utilization section 44 for making the most of the provided vehicle information.
In the information transmission apparatus 20, the resample length determination section 25 determines the resample length L in resample based on the allowable error. The shape data resample processing section 26 resamples the road shape data of the object road extracted by the shape data extraction section 23 using the determined resample length L.
The variable-length coding processing section 28 variable-length codes the road shape data. The road shape data compressed by variable-length coding is recorded on an external medium and is provided, or is transmitted from the shape data transmission section 29.
In the information utilization apparatus 40 receiving the road shape data, the coded data decoding section 42 decodes the compressed and coded data, and the shape data reconstruction section 43 reconstructs the position information of the sampling points to reproduce the resample shape concatenating the sampling points. The resample shape is superposed on the digital map for display on a screen of the information utilization apparatus 40.
To accurately determine the reported road zone, the map matching section 45 performs map matching between the position data of the sampling point and the map data in the digital map database B 46 and determines the object road on the map data in the digital map database B 46.
The information utilization section 44 displays the provided vehicle information on the screen and uses the vehicle information for a route search to make the most of the vehicle information. The information utilization apparatus 40 can also implement a car navigation receiver or a map display terminal.
On the other hand, the probe information collection center 50 includes a run locus reception section 51 for receiving the run locus shape data provided by the probe car installed machine 60, a coded data decoding section 52 for decoding the compressed and coded reception data, a run locus shape reconstruction section 53 for reconstructing the run locus shape from the provided data, and a run locus and measurement information utilization section 54 for making the most of the run locus and measurement information collected from the probe car installed machine 60 to generate vehicle information.
The home vehicle position detected in the home vehicle position determination section 61 is stored in the run locus storage section 62 of the probe car installed machine 60 in sequence as the run locus. The resample length determination section 68 determines the magnitude of the curvature of the run locus from the information of the speed, the steering wheel rudder angle, and the lateral G detected by the sensors 70, 71, and 72 and the road shape acquired from the digital map database 69, and determines the resample length L used for resampling based on the magnitude of the curvature and the allowable error determined by the allowable error determination section 67.
The run locus shape resample processing section 63 reads the run locus data stored in the run locus storage section 62 at the probe information transmission timing and resamples the run locus shape using the resample length determined by the prediction expression determination section 68.
The variable-length coding processing section 64 variable length codes the data. The compressed and coded data is transmitted to the probe information collection center 50. The data may be stored on an external medium so as to be provided for the probe information collection center 50.
In the probe information collection center 50, the coded data decoding section 52 decodes the data collected from the probe car installed machine 60, and the run locus shape reconstruction section 53 reconstructs the position information of the sampling points to reproduce the resample shape of the run locus. The most of the run locus information is made to generate vehicle information together with the measurement information of the speed, etc., measured in the probe car installed machine 60.
Thus, the information transmission apparatus and the probe car installed machine code the object road and the run locus using the resample length determination method of the invention, whereby the information utilization apparatus and the probe information collection center receiving the coded data can decode the reception data and precisely reproduce the resample shape.
In a second embodiment of the invention, a resample length determination method in a V-shaped curve as an example wherein the road shape cannot be assumed to be a part of a circular arc will be discussed.
In the V-shaped curve, the V-shaped curve portion is approximated by a circle tangent to the V-shaped curve portion for resampling, as shown in
Letting the radius of the circle be R and the distance from contact point P1, P2 between the circle and the V-shaped curve to intersection point P of the V-shaped curve be D, the relation
ω=(180−θ)/2
(R+Emax2)2=D2+R2
D·tanω=R
holds and therefore, from the expressions, D can be calculated as (Expression 12) and R can be calculated as (Expression 13):
To resample the V-shaped curve, nodes P1 and P2 are added onto a line at the distance of D from the point P and P1→P→P2 is assumed to be a circle with the curvature radius R, and the V-shaped curve is resampled according to the resample length L determined by R.
A flowchart of
First, the maximum allowable error Emax2 of the V-shaped curve is determined (step 21). Next, the road shape data of the object road is acquired from a digital map database (step 22). Focusing attention on links in order starting at link n with n=2 (step 23), information of the link n and adjacent link (n−1) is acquired (step 24) and whether or not the link n and the adjacent link (n−1) form a V-shaped curve is determined (step 25).
This determination is made according to a procedure shown in
Next, using constant k, whether or not conditional expression of Sn≦k·ρn is satisfied is determined (step 43). When Sn is long, the conditional expression is not satisfied as shown in
If link (n−1)→link n is a V-shaped curve, D and R are calculated using (Expression 12) (Expression 13) based on the value of Emax2 (step 27), nodes P1 and P2 are added onto the link at the distance of D from the connection point P of the link (n−1) and the link n, and the curvature radius of P1→P→P2 is set to R (step 27).
Quantization resample length Ln is determined using the resample length determination method described in the first embodiment (step 28). If link (n−1)→link n is not a V-shaped curve at step 25, immediately step 28 is executed.
Such processing is performed for all links. When processing for all links is complete, if the same quantization resample length is applied between the adjacent links, the links are joined and the resample length of the whole object road is represented by the distance from the beginning (step 31) and resample processing and variable-length coding processing are performed for the object road (step 32), as in the first embodiment.
Such processing is performed, whereby the appropriate resample length can also be set for the V-shaped curve.
If the road shape contains a bend portion not approximate to a part of a circular arc such as a V-shaped curve, the portions preceding and following the bend portion may be preset so as to preselect the resample length in response to the magnitude of the deflection angle. For example, the resample length may be preset in response to the deflection angle in such a manner that if the deflection angle is equal to or greater than 26 degrees and smaller than 40 degrees, the resample length is 50 m, that if the deflection angle is equal to or greater than 40 degrees and smaller than 60 degrees, the resample length is 30 m, and that if the deflection angle is equal to or greater than 60 degrees, the resample length is 15 m. If the deflection angle is smaller than 26 degrees, the resample length determination method described in the first embodiment is used.
To determine whether or not the road shape is approximate to a part of a circular arc, the magnitude of the deflection angle for each node preset in the road or the relationship between the magnitude of the deflection angle and the node-to-node distance can be used.
Whether or not the road shape is assumed to be a circular arc can be determined by the magnitude of the deflection angle and the node-to-node distance, as described above.
The curvature radius ρ is calculated from the deflection angle θ and the node-to-node distance L and if L <2(ρ2−(ρ−E)2), it can be determined that the original object road was a smooth curve rather than an intersection or a V-shaped curve. Here, digitalization input error ±5 m or so (standard error when the original map is digitalized) is entered in E.
The inner circle in
Since any other node-to-node distance is smaller than that node-to-node distance, it can be the that the calculation method is almost correct.
Rough determination can also be made only using the deflection angle with the calculation skipped, because the deflection angle is small if the place is such a place where a gentle curve is digitalized.
In
Further, the invention also contains a program for causing a computer to determine the resample length between sampling points to resample a linear object. The program causes the computer to execute the steps of determining whether or not the shape of the linear object is approximate to a part of a circular arc under a predetermined condition; calculating a curvature radius of the linear object if it is determined that the shape is approximate to a part of the circular arc as the result of the determining step; setting the resample length so that an error between a resample shape concatenating the sampling points as a line and the linear object does not exceed a predetermined allowable error if the curvature radius of the linear object is equal to or greater than a predetermined value; and making the linear object approximate to a polygon corresponding to the curvature radius if the curvature radius of the linear object is equal to or less than the predetermined value.
Such a program is incorporated in the information transmission apparatus 20 and the probe car installed machine 60 in various formats. For example, the program can be recorded in predetermined memory in the information transmission apparatus 20, the probe car installed machine 60 or an external apparatus. The program may be recorded in an information record unit such as a hard disk and an information record medium such as a CD-ROM, a DVD-ROM, or a memory card. The program may be downloaded via a network.
The information transmission apparatus 20 and the information utilization apparatus 40 of the invention or the probe car installed machine 60 and the probe information collection center 50 are used in combination to make up a map data distribution system. The information transmission apparatus 20 and the probe car installed machine 60 function as an encoder from the viewpoint of generating coded data, and the information utilization apparatus 40 and the probe information collection center 50 function as a decoder from the viewpoint of reconstructing coded data.
The information transmission apparatus 20 or the probe car installed machine 60 of the coded data generation apparatus is an embodiment in the information transmission party and may be any if it is an apparatus or terminal that can transmit information. Further, the generated coded data can also be recorded on a medium so as to be provided for any other apparatus. The information utilization apparatus 40 or the probe information collection center 50 of coded data reconstruction apparatus is also an embodiment in the information reception party and may be any apparatus if the apparatus can make the most of information, such as a person computer or a mobile terminal. Of course, similar advantages can also be provided in the information collection center or the apparatus in the center that can reconstruct the coded data. Further, similar advantages can also be provided by performing reconstruction processing using a medium, etc., recording the coded data, needless to say.
The algorithm (program) complying with the coded data generation method of the invention can be recorded on a record medium recording the map data corresponding to various pieces of map information in the map data main body. Accordingly, it is made possible to compress and code the map data main body.
In the description of the embodiments, the linear object is the road shape for position reference by way of example. However, the linear object is not limited to the road shape. The “linear object” contains all elongated shapes including various forms of a line, a curve, etc., and can contain all geographic information that can be represented by linear shapes on a map. Further, it also contains all represented by linear shapes, not relating to a map, such as fingerprints.
While the invention has been described in detail with reference to the specific embodiments, it will be obvious to those skilled in the art that various changes and modifications can be made without departing from the spirit and the scope of the invention.
The present application is based on Japanese Patent Application (No. 2003-360631) filed on Oct. 21, 2003, which is incorporated herein by reference.
The resample length determination method and the coded data generation method of the invention can be used when coded data representing position information of road shapes, rivers, railways, administrative district boundaries, contour lines, etc., of a digital map is generated, stored, retained, etc. In addition to the digital map, the coded data generation method can also be applied when coded data representing linear objects of various patterns, fingerprints, etc., is generated, stored, retained, etc. The apparatus of the invention can be applied to various types of apparatus for generating, storing, and retaining of the coded data.
Number | Date | Country | Kind |
---|---|---|---|
2003-360631 | Oct 2003 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP04/15408 | 10/19/2004 | WO | 11/9/2005 |