1. Field of the Invention
The present information is related to: an information updating device for updating target object map information for displaying detail information for a plurality of target objects located in a predetermined position, the detail information being about a detail of each of the target objects and being displayed in a manner substantially corresponding to a positional relationship of each of the target objects; a method thereof; a program thereof; and a storing medium storing the program.
2. Description of Related Art
There have been conventionally known arrangements for properly adjusting locatable positions of symbols, characters etc. for showing buildings and the like in displaying a map. Such arrangements are disclosed in, for instance, Document 1: JP-A-9-146529, left column of page 4 to right column of page 9, Document 2: JP-A-11-45262, right column of page 3 to right column of page 5, Document 3: JP-A-8-255256, right column of page 2 to left column of page 3, and Document 4: JP-A-8 292715, right column of page 6 to right column of page 13. Also, there have been known arrangements for generating map data that is used for displaying a map on a display unit or the like. Such arrangements are disclosed in, for instance, Document 5: Japanese Patent No. 3541854, pages 4 to 7, and Document 6: JP-A 8-63575, right column of page 3 to left column of page 4.
In the arrangement disclosed in Document 1, in a state with map data, a symbol, characters, etc. being displayed, when a new symbol and a character pertaining to the new symbol is desired to be displayed, a display area is divided into meshes of a predetermined size. Then, based on an azimuth of the character relative to the symbol, a distance between the symbol and the character, a positional relationship with other graphics, an overlapping degree with other characters, a difference in display color and the like, a fitness for a display position is obtained for each of the meshes, so that an area with the best fitness for display position is selected and displayed as a character display position.
The arrangement disclosed in Document 2 performs a retrieval based on a retrieval criteria set by a user, and map data for a subjected region is inputs. Then, an object to be displayed is selected for the map data. A link and a node each adjacent to the selected object are extracted to determine an intersecting point of an area of the input map data and the link. Then, a node that is closest to the determined intersecting point is obtained, and when the object to be displayed is located at the same position as the node, the object is displayed hierarchically. When the object is desired to be displayed as an icon and the icon cannot be located so as not to overlap with the link and the node having already been displayed, positions of the adjacent node and link are moved.
The arrangement disclosed in Document 3 obtains, when an operation is performed for specifying a graphical element (segment pattern) for locating a character string in a map being displayed, an angle of the segment pattern based on a upper-right coordinate and a lower-left coordinate of the specified segment pattern. Then, the character string is located and output in a direction of the obtained angle.
The arrangement disclosed in Document 4 selects a character string with a predetermined attribute that should be displayed when displaying a bird's-eye view. In a case where, for instance, a symbol attribute formed of a symbol such as a double circle is displayed in preference to a character-string attribute formed of a character string, when a symbol and a character are overlapped, the symbol is displayed. For character strings that have been determined to have the same attribute, the character strings are sorted in a depth direction, and the one located closer to a current position is displayed.
The arrangement disclosed in Document 5 obtains an annotation rectangle to be contained in a subjected building graphic when generating a map drawing. In addition, a morphologic analysis is performed on an annotation character string to extract a word unit having a meaning and a candidate break point is determined. Then, the annotation rectangle and the annotation character string with the candidate break point are compared to determine an annotation location condition including whether to write vertically or horizontally, an inclination of the character string, the number of lines, a line spacing, a character size and the like, and the annotation character string is located in the building graphic.
The arrangement disclosed in Document 6 selects, when generating display map data, shape data and character symbol data that are required to be displayed from a map database, formats of which are then converted to shape data and character symbol data. Then, based on preset priority of types, the pieces of character symbol data are sorted by symbols and names and listed. Display positions of the pieces of character symbol data are determined in the descending order of the priority, and character symbol data that is overlapped with character symbol data with its display position having been determined is judged to be non-displayable and deleted.
However, in the arrangements of Documents 1 to 4 described above, since locatable positions of a symbol and a character are adjusted by performing computation based on symbol information for displaying the symbol and character information for displaying the character, the arrangements possibly become complicated. Further, in the arrangement of Document 5, when the number of characters to be located is large relative to the size of the building graphic for instance, the size of the characters is set so set small that a user might have difficulty to read. Still further, in the arrangement of Document 6, since, for instance, character information that overlaps with character information with its display position having been determined is deleted, when the deleted character information contains a detail that is helpful for a user, proper map information cannot be generated.
An object of the present invention is to provide: an information updating device capable of appropriately updating target object map information for displaying detail information for a plurality of target objects located in a predetermined position, the detail information displayed in a manner substantially corresponding to a positional relationship of each of the target objects; a method thereof; a program thereof; and a storing medium storing the program.
An information updating device according to an aspect of the present invention updates target object map information for displaying detail information about details of a plurality of target objects located in a predetermined position such that the detail information corresponds to a positional relationship of the plurality of the target objects includes. The information updating device includes: a new detail information acquirer for acquiring the detail information about the new target object; a new target object position recognizer for recognizing a position where the new target object exists; a target object map information acquirer for acquiring the target object map information; an existing detail position recognizer for recognizing, based on the target object map information acquired by the target object map information acquirer, a display position for detail information of an existing target object that is different from the new target object, the detail information of the existing target object possibly visually interfering with the detail information of the new target object; a detail position setting section for setting a display position for the detail information of the new target object at a position corresponding to the position of the new target object but not overlapping with the detail information of the existing target object; and an update processor for updating the target object map information such that the detail information of the new target object is displayed at the display position that is set by the detail position setting section.
An information updating method according to another aspect of the present invention for updating target object map information for displaying detail information about details of a plurality of target objects located in a predetermined position such that the detail information corresponds to a positional relationship of the plurality of the target objects is performed by a computing unit. The method includes: acquiring the detail information about the new target object; recognizing a position where the new target object exists; acquiring the target object map information; recognizing a display position for detail information of a target object that is different from the new target object based on the acquired target object map information; setting a display position for the detail information of the new target object at a position corresponding to the position of the new target object but not overlapping with the detail information of the existing target object; and updating the target object map information for displaying the detail information of the new target object at the set display position.
An information update program according to still another aspect of the present invention operates a computing unit as the above-described information updating device of the present invention.
An information processing program according to yet another aspect of the present invention operates a computing unit to execute the above-described information processing method of the present invention.
A storing medium according to a further aspect of the present invention stores the above-described information update program of the present invention in a manner readable by a computing unit.
A first embodiment of the present invention will be described below with attached drawings. In the present embodiment, an information processing device of the present invention will be described by exemplifying a map information generating device that updates map information for displaying, on a display unit installed on a mobile body (e.g., a vehicle), various information about a feature (a target object) is displayed on a map in a manner substantially corresponding to a positional relationship of the feature.
[Arrangement of Map Information Generating Device]
In
The input section 110 has various operation buttons and operation knobs (each not shown) used for input operation. Input operation with the operation buttons and knobs includes, for instance, settings of operations of the map information generating device 100. Specifically, for instance, the input operation may include generation or acquisition of information about the new feature and retrieval of various information. Through the input operation of the settings, the input section 110 appropriately outputs a predetermined signal to the processor 150.
The display 120 displays a signal of image data sent from the processor 150 under the control of the processor 150. The display 120 may be a liquid crystal panel, an organic EL (Electro Luminescence) panel, a PDP (Plasma Display Panel), a CRT (Cathode-Ray Tube), an FED (Field Emission Display) and an electrophoretic display panel. The image data displayed on the display 120 may be those of the information about the new feature, a map based on the map information stored in the storage section 130, etc.
The storage section 130 readably stores, for instance, the map information as shown in
Herein, the map information may include display data VM that is a so-called POI (Point Of Interest) data as shown in
The display data VM has plural pieces of display mesh information VMx, each display mesh information having a specific number. To be more specific, the display data VM is divided into plural pieces of display mesh information VMx, each relating to an area. The display data VM is constituted from the plural pieces of display mesh information VMx continuously arranged in a matrix form. The display mesh information VMx may be further divided into plural pieces of display mesh information VMx to be contained in a lower layer, each relating to a smaller area. Each display mesh information VMx has a rectangular shape with each side thereof having a predetermined length, which is reduced relative to the actual geographic length according to the map scale. A predetermined corner thereof contains absolute coordinates ZP in the whole map information, e.g., a global map.
The display mesh information VMx is, for instance, constituted from name information VMxA, road information VMxB and background information VMxC. The name information VMxA is structured in a table for arranging and displaying miscellaneous element data such as intersection name and town name, namely an annotation Qi about a feature (i represents a natural number, see, for instance,
The annotation data 170 is information for displaying the annotation Qi. The annotation data 170 includes annotation true-position data 180, display character-string data 190 and the like.
The annotation true-position data 180 is data for appropriately displaying the annotation Qi. The annotation true-position data 180 has a single data structure that includes object ID (Identification) information 181, annotation character-string information 182 (character information), annotation character-number information 183, annotation type information 184, scale 1 display type information 185, scale 2 display type information 186, scale 3 display type information 187, scale 4 display type information 188, true-position shape information 189 (target object existing position information) also functioning as graphic information, etc.
The object ID information 181 is specific information for identifying the annotation true-position data 180. The annotation character-string information 182 is information for displaying the annotation character string Wi on the map. Specifically, the annotation character-string information 182 contains character information for displaying characters such as a place name like “MKWAKWANI”, an intersection name like “Block C, Town AB” and a building name like “Hospital CD”.
The annotation character-number information 183 is information showing the number of characters of the annotation character string Wi that is displayed based on the annotation character-string information 182. The annotation type information 184 is information showing a type (or a class) of an annotation Qi corresponding to the annotation true-position data 180. Specifically, the annotation type information 184 contains information showing a type of the annotation Qi such as an airport, a police station, a university, a shrine, a subway line name, a major intersection, a road number, road names of a high way, a local road and a national road, etc.
The scale 1 display type information 185 is information showing a display type of the annotation Qi in a case with a map scale of, for instance, 1:100000 (hereinafter, referred to as a scale 1) Specifically, the scale 1 display type information 185 contains information indicating which display type is employed: a non-display type, a character display type, a symbol-character display type, a leader-character display type or a symbol display type. The non-display type is a type for not displaying the annotation Qi. The character display type is a type for displaying only the annotation character string Wi. The symbol-character display type is a type for displaying the symbol Ki and the annotation character string Wi. The leader-character display type is a type for displaying the annotation character string Wi, the instruction point Ti and the leader line Ui. The symbol display type is a type for displaying only the symbol Ki. Incidentally, in the description below, when the display type for not displaying the annotation character string Wi (i.e., non-display type) and the symbol display type are expressed collectively, it will be referred to as a non-character display type. The scale 2 display type information 186 is information showing a display type of the annotation Qi in a case with a map scale of, for instance, 1:50000 (hereinafter, referred to as a scale 2) The scale 3 display type information 187 is information showing a display type of the annotation Qi in a case with a map scale of, for instance, 1:25000 (hereinafter, referred to as a scale 3) The scale 4 display type information 188 is information showing a display type of the annotation Qi in a case with a map scale of, for instance, 1:2500 (hereinafter, referred to as a scale 4)
Here, the display types shown by the scale 1 display type information 185, the scale 2 display type information 186, the scale 3 display type information 187 and the scale 4 display type information 188 are set in accordance with the type of the annotation type information 184. Specifically, when, for instance, the type indicated by the annotation type information 184 is an airport, the display type is set to the symbol-character display type in the scales 1 to 4. Specifically, when, for instance, the type indicated by the annotation type information 184 is a police box, the display type is set to the non-display type in scale 1 and the symbol display type in the scales 2 to 4. Incidentally, the scales of scales 1 to 4 may be other ones than those described above.
The true-position shape information 189 shows the true position Pi on the map. Specifically, the true-position shape information 189 contains information showing a latitude and a longitude corresponding to the true position Pi with, for instance, an X-coordinate and a Y-coordinate.
The display character-string data 190 is data for locating and displaying the annotation Qi at a predetermined position. The display character-string data 190 is updated by the processor 150. The display character-string data 190 has a single data structure containing object ID information 191, font size information 192, corresponding annotation character ID information 193, character string shape information (detail position information) and the like.
The object ID information 191 is specific information for identifying the display character-string data 190. The font size information 192 is information showing a font size of the annotation character string Wi when displayed on the map. Incidentally, when all the display types in scales 1 to 4 are set so as not to display the annotation character string Wi, namely when the non-display type or the symbol display type are selected, the font size information 192 may not be included in the display character-string data 190. The corresponding annotation character ID information 193 is specific information of the annotation true-position data 180 corresponding to the display character-string data 190, namely the same information as that contained in the object ID information 181.
The character string shape information 194 shows a position of a character area Hi (i represents a natural number, see for instance
The road information VMxB is data structured in a table for locating and displaying road element data (e.g. a road) contained in an area at a predetermined position with reference to the positional relationship based on the absolute coordinates ZP. The background information VMxC is data structured in a table for locating and displaying miscellaneous element data (e.g. a mark and image information representing famous spots and buildings) at a predetermined position with reference to the positional relationship based on the absolute coordinates ZP.
The matching data MM, just like the display data VM, is divided into plural pieces of matching mesh information MMx, each having a specific number and relating to an area. The matching data MM is constituted from the plural pieces of matching mesh information MMx continuously arranged in a matrix form. The matching mesh information MMx may be further divided into plural pieces of matching mesh information MMx to be contained in a lower layer, each relating to a smaller area. Each matching mesh information MMx has a rectangular shape with each side thereof having a predetermined length, which is reduced relative to the actual geographic length according to the map scale. A predetermined corner thereof contains absolute coordinates ZP in the whole map information, e.g., a global map. The matching mesh information MMx and the display mesh information VMx may not necessarily represent the same area. That is, they may be divided according to different scales. If the same scale is used, specific number information may be used for associating the data. If different scales are used, the absolute coordinates may be used for associating the data. The matching data MM has plural pieces of link string block information.
As shown in
Each node N represents a joint point such as an intersection, a corner, a fork, a junction or the like of each road. Information about the node N has point-specific information as a specific number assigned to each node N in the link string block information, coordinate information of the position where each node N is located, and flag information as branching information describing whether or not the node N represents a branching position (e.g. intersection, fork) where a plurality of links are crossed. Some nodes N only have the point-specific information and the coordinate information without the flag information for simply representing the shape of a road, and some nodes N additionally have attribute information representing the road structure such as width of a tunnel or a road.
The symbol related information is information about the symbol Ki. The symbol related information has a single data structure containing symbol information, symbol type information, symbol shape size information and the like. Note that the symbol related information may not contain the symbol information. Here, the annotation character-string information 182 and the symbol information constitute detail information of the present invention. The annotation data 170 and the symbol information constitute target object association information of the present invention.
The symbol information is information for displaying the symbol Ki. The symbol type information shows a type (or a class) of a feature that is shown by the symbol information. Specifically, the symbol type information contains similar information to the annotation type information 184 of the annotation true-position data 180. The symbol shape size information is information for showing a shape size of the symbol Ki when it is displayed. Specifically, the symbol shape size information contains the shape size of the symbol Ki using a point as a typical unit showing a size of a letter.
The memory 140 readably stores the settings that are input at the input section 110. The memory 140 readably stores various programs and the like that run on an OS (Operating System) for entirely controlling the map information generating device 100. The memory 140 may preferably be a CMOS (Complementary Metal-Oxide Semiconductor) memory that retains the stored data even in the case of a sudden power interruption caused by a blackout. The memory 140 may include drives or drivers for readably storing data in a storing medium such as a HD, a DVD, and an optical disc.
The processor 150 has various input/output ports (not shown) such as a key input port connected to the input section 110, a display control port connected to the display 120, a storage port connected to the storage section 130, a memory port connected to the memory 140 and the like. As shown in
As shown in FIGS. 5 to 7, the movable region setting section 151 sets movable regions EAk, EBk and ECk (k respectively represents a natural number) as a region in which an annotation character string (hereinafter, referred to as a location-adjusting-annotation character string) of the location adjusting annotation Qk of a feature in a predetermined area D shown by the name information VMxA. Specifically, the movable region setting section 151 acquires the annotation data 170 for displaying the location adjusting annotation Qk about a feature that is newly built. Here, the movable region setting section 151 acquires annotation data 170 with its character string shape information 194 containing no information. Incidentally, the annotation data 170 may be generated based on the input operation at the input section 110 or may be generated by an annotation data generator (not shown). Based on the true-position shape information 189 of the annotation true-position data 180 of the acquired annotation data 170, the movable region setting section 151 recognizes a true position Pk of a location-adjusting-annotation character string Wk of the location adjusting annotation Qk. The movable region setting section 151 then computes and recognizes a shape of a character area Hk (hereinafter, referred to as an adjustment character area) of the location-adjusting-annotation character string Wk based on the annotation character-number information 183 and the font size information 192 of the display character-string data 190.
Then, when, for instance, recognizing that the display type of the location adjusting annotation Qk is the character display type based on the scale 1 display type information 185, the movable region setting section 151 sets the movable region EAk for the character display type as shown in
When recognizing that the display type of the location adjusting annotation Qk is the symbol-character display type, the movable region setting section 151 sets a movable region EBk for the symbol-character display type as shown in
When recognizing that the display type of the location adjusting annotation Qk is the leader-character display type, the movable region setting section 151 sets a movable region ECk for the leader-character display type as shown in
Shapes of the movable regions EAk, EBk and ECk may not be a rectangle but may be a circle, an ellipse and other polygons. The movable region EBk has a rectangular shape with the distance J1 being 0. The movable regions EBk and ECk may also have rectangular shapes each having a length in the right-left direction thereof twice as long as a length including the length in the right-left direction of the adjustment character area Hk, the radius length of a symbol Kk and the predetermined distance J1, while having a length in the up-down direction thereof twice as long as a length including the length in the up-down direction of the adjustment character area Hk, the radius length of the symbol Kk and a predetermined distance J3.
The location adjusting processor 152 locates the location-adjusting-annotation character string Wk of the character display type in such manners that the true position Pk is positioned at the center of the adjustment character area Hk and that an existing annotation (hereinafter, referred to as an overlapped existing annotation) Qj that overlaps with the adjustment character area Hk does not exist. Further, the location adjusting processor 152 locates the location-adjusting-annotation character strings Wk of the character display type and the symbol-character display type such that one or two sides of the adjustment character area Hk are overlapped with corresponding sides of the movable regions EAk and EBk and that the overlapped existing annotation Qj that overlaps with the adjustment character area Hk does not exist. In other words, the location-adjusting-annotation character string Wk is located such that the entire adjustment character area Hk is positioned in the movable regions HAk and HBk and that the overlapped existing annotation Qj does not exist. Further, the location adjusting processor 152 locates the location-adjusting-annotation character strings Wk of the leader-character display type such that one or two sides of the adjustment character area Hk are overlapped with corresponding sides of the movable region ECk and that the overlapped existing annotation Qj that overlaps with the adjustment character area Hk and a leader line Uk does not exist. In the description below, the state where the location-adjusting-annotation character string Wk is located in the movable region EAk, EBk or ECk will be referred to as an in-region location state.
Specifically, when recognizing that the location adjusting annotation Qk is the character display type, the location adjusting processor 152 locates the location-adjusting-annotation character string Wk so that the true position Pk is positioned at the center of the adjustment character area Hk Then, the location adjusting processor 152 locates the existing annotation Qj at a position based on the annotation data 170 of the existing annotation Qj. When recognizing that the overlapped existing annotation Qj that overlaps with the adjustment character area Hk does not exist, the location adjusting processor 152 sends a location completion signal to the annotation data updating section 153. On the other hand, when recognizing that the overlapped existing annotation exists, the location adjusting processor 152 determines whether or not the location-adjusting-annotation character string Wk can be located in the movable region EAk for the character display type. When recognizing that the location-adjusting-annotation character string Wk can be located in the in-region location state, the location adjusting processor 152 outputs the location completion signal. Further, when recognizing that the location adjusting annotation Qk is the symbol-character display type, the location adjusting processor 152 determines whether or not the location-adjusting-annotation character string Wk can be located in the movable region EBk for the symbol-character display type. When recognizing that the location-adjusting-annotation character string Wk can be located in the in-region location state, the location adjusting processor 152 outputs the location completion signal. Still further, when recognizing that the location adjusting annotation Qk is the leader-character display type, the location adjusting processor 152 determines whether or not the location-adjusting-annotation character string Wk can be located in the movable region ECk for the leader-character display type. When recognizing that the location-adjusting-annotation character string Wk can be located in the in-region location state, the location adjusting processor 152 outputs the location completion signal.
When recognizing that the location-adjusting-annotation character string Wk cannot be located in the movable region EAk, the location adjusting processor 152 determines that it cannot locate all annotations Qi so as not to overlap with each other by adjusting the location-adjusting-annotation character string Wk. Then, the location adjusting processor 152 locates the location-adjusting-annotation character string Wk at a predetermined position in the movable region EAk and outputs the location completion signal. At the same time, the location adjusting processor 152 recognizes an annotation character string Wj (hereinafter, referred to as an overlapped-existing-annotation character string) that overlaps with the located location-adjusting-annotation character string Wk. The location adjusting processor 152 operates the movable region setting section 151 to set movable regions EAj, EBj and ECj for the overlapped-existing-annotation character string Wj. The location adjusting processor 152 then performs relocation processing for locating the overlapped-existing-annotation character string Wj in the movable regions EAj, EBj and ECj, and when recognizing that the overlapped-existing-annotation character string Wj can be located in the in-region location state, outputs the location completion signal. The location adjusting processor 152 repeats the above-described processing until all of the annotations Qj are located so as not to overlap with each other. Meanwhile, when recognizing that the location-adjusting-annotation character string Wk cannot be located in the movable regions EBk and ECk, the location adjusting processor 152 performs the relocation processing of the overlapped-existing-annotation character string Wj described above. Incidentally, since a symbol Kj and an instruction point Tj of the overlapped existing annotation Qj represents a position of the feature, they are not subjected to the relocation.
The annotation data updating section 153 updates the annotation data 170 so as to reflect the location states of the location-adjusting-annotation character string Wk and the overlapped-existing-annotation character string Wj having been located by the location adjusting processor 152. In other words, the annotation data updating section 153 updates the annotation data 170 so as to display the map in which all of the annotations Qi are not overlapped with each other. Specifically, upon acquiring from the location adjusting processor 152 the location completion signal indicating that the location-adjusting-annotation character string Wk has been located, the annotation data updating section 153 recognizes the coordinate of the adjustment character area Hk at this time. Then, by recognizing a scale for displaying the location-adjusting-annotation character string Wk, the annotation data updating section 153 associates information about the scale with the coordinate of the adjustment character area Hk, which is then recorded in the character string shape information 194. Upon acquisition of the location completion signal indicating that the overlapped-existing-annotation character string Wj is located, the annotation data updating section 153 records the information about the scale and the coordinate of a character area Hj in the character string shape information 194. Then, the annotation data updating section 153 recognizes coordinates of leader lines Uk and Uj corresponding to the location states of the location-adjusting-annotation character string Wk and the overlapped-existing-annotation character string Wj, which is then recorded in the character string shape information 194 of this overlapped-existing-annotation character string Wj. The annotation data 170 with the character string shape information 194 having been updated is stored in the storage section 130.
[Operation of Map Information Generating Device]
Next, as an operation of the map information generating device 100, update processing of annotation data in accordance with an additional location of a location adjusting annotation Qk will be described with reference to the drawings.
When the movable region setting section 151 acquires the annotation data 170 about the location adjusting annotation Qk generated by, for instance, the input operation at the input section 110 as shown in
In location processing of the annotation Qi, the movable region setting section 151 recognizes the true position Pk of the location adjusting annotation Qk based on the annotation data 170 of the location adjusting annotation Qk as shown in
In Step S203, when determining that the display type is not the character display type, the movable region setting section 151 determines whether or not the display type in the scale Z is the symbol-character display type (Step S207). In Step S207, when determining that the display type is the symbol-character display type, the movable region setting section 151 sets the movable region EBk for the symbol-character display type on the area D (Step S208). In Step S207, when determining that the display type is not the symbol-character display type but the leader-character display type, the movable region setting section 151 sets the movable region ECk for the leader-character display type (Step S209). In Step S205, when determining that the overlapped existing annotation Qj does not exist, the movable region setting section 151 sets the movable region EAk for the character display type (Step S210).
Then, after the setting processing of the movable regions EBk, ECk and EAk in Steps 208 to 210, the location adjusting processor 152 locates the location-adjusting-annotation character string Wk such that the adjustment character area Hk is positioned at the center of lower sides of the movable regions EBk, ECk and EAk (Step S211), and determines whether or not the overlapped existing annotation Qj exists (Step S212). As shown by an imaginary line in
In Step S212, when it is determined that the overlapped existing annotation Qj does not exist, the processing of Step S206 is performed. On the other hand, in Step S212, when it is determined that the overlapped existing annotation Qj exists, namely when, for instance, a character area H2 of an overlapped-existing-annotation character string W2 that overlaps with an adjustment character area H1 exists as shown in
Then, in Step S216, when it is determined that the overlapped existing annotation Qj does not exist (i.e., the state shown in
In Step S220, when it is determined that the overlapped existing annotation Qj does not exist, the processing of Step S206 is performed. On the other hand, in Step S220, when it is determined that the overlapped existing annotation Qj exists, the first location adjusting processing is performed (Step S221). Here, the first location adjusting processing in Step S221 is processing for moving the location-adjusting-annotation character string Wk in the right-left direction along the upper sides of the movable regions EAk, EBk and ECk. Then, the annotation data updating section 153 determines whether or not the in-region location of the location-adjusting-annotation character string Wk by the first location adjusting processing is completed (Step S222). In Step S222, when it is determined that the in-region location is completed, the processing of Step S206 is performed. On the other hand, in Step S222, when it is determined that the in-region location is not completed, the location adjusting processor 152 locates the location-adjusting-annotation character string Wk such that the adjustment character area Hk is positioned at the center of the left sides of the movable regions EAk, EBk and ECk (Step S223), and determines whether or not the overlapped existing annotation Qj exists (Step S224).
Then, in Step S224, when it is determined that the overlapped existing annotation Qj does not exist, the processing of Step S206 is performed. On the other hand, in Step S224, when it is determined that the overlapped existing annotation Qj exists, the second location adjusting processing is performed (Step S225). Here, the second location adjusting processing in Step S225 is processing for moving the location-adjusting-annotation character string Wk in the up-down direction along the left sides of the movable regions EAk, EBk and ECk. Then, the annotation data updating section 153 determines whether or not the in-region location of the location-adjusting-annotation character string Wk by the second location adjusting processing is completed (Step S226). In Step S226, when it is determined that the in-region location is completed, the processing of Step S206 is performed. On the other hand, in Step S226, when it is determined that the in-region location is not completed, the location adjusting processor 152 performs relocation processing of the overlapped-existing-annotation character string Wj (Step S227), and performs the processing of Step S206. The processing of Step S206 that is performed after the processing of Step S227 is the update processing of the annotation data 170 corresponding to the location-adjusting-annotation character string Wk and relocated overlapped-existing-annotation character string Wj.
Now, the relocation processing of the overlapped-existing-annotation character string Wj in Step S227 will be described. When, for instance, existing annotations Q3 and Q5 to Q7 exist against a location adjusting annotation Q1 as shown in
When, for instance, existing annotations Q3 and Q5 to Q 12 as shown in
In the first location adjusting processing, the location adjusting processor 152 determines whether or not there are a plurality of the overlapped existing annotations Qj as shown in
Upon recognition of the overlapped existing display area in Steps S302 or S303, the location adjusting processor 152 recognizes coordinates V1 (VMinX, VMinY) of upper left apices and coordinates V2 (VMaxX, VMaxY) of lower right apices of the movable regions EAk, EBk and ECk. Further, the location adjusting processor 152 recognizes a coordinate A1 (AMinX, AMinY) of an upper left apex and a coordinate A2 (AMaxX, AMaxY) of a lower right apex of the adjustment character area Hk. Still further, the location adjusting processor 152 recognizes a coordinate B1 (BMinX, BMinY) of an upper left apex and a coordinate B2 (BMaxX, BMaxY) of a lower right apex of the overlapped existing display area. For instance, when the annotation Qi as shown in
Then, the location adjusting processor 152 determines whether or not a left side of the overlapped existing display area is on the right of a left side of the adjustment character area Hk of the location-adjusting-annotation character string Wk, namely whether or not a value obtained by subtracting AMinX from BMinX is greater than 0 (Step S304). In Step S304, when determining that the value is greater than 0, the location adjusting processor 152 determines whether or not the right side of the overlapped existing display area is on the right of a right side of the adjustment character area Hk, namely whether or not a value obtained by subtracting AMaxX from BMaxX is greater than 0 (Step S305). For example, when the overlapped-existing-annotation character string W2 exists against the location-adjusting-annotation character string W1 that is shown by the imaginary line in
Thereafter, the location adjusting processor 152 determines whether or not the in-region location of the location-adjusting-annotation character string Wk can be achieved by moving it leftward by a distance of the overlapped value Ra, namely whether or not a value obtained by subtracting Ra and VMinX from AMinX is 0 or greater (Step S307). When determining that the value is smaller than 0 in Step S307, the location adjusting processor 152 recognizes that the in-region location of the location-adjusting-annotation character string Wk cannot be achieved only by moving it leftward, and terminates the processing. On the other hand, when determining that the value is 0 or greater in Step S307, the location adjusting processor 152 performs the in-region location of the location-adjusting-annotation character string Wk by moving it leftward by the distance of the overlapped value Ra (Step S308), and terminates the processing. For example, in the right position state as shown in
In Step S304, when determining that the value obtained by subtracting AMinX from BMinx is smaller than 0, the location adjusting processor 152 then determines whether or not the value obtained by subtracting AMaxX from BMaxX is greater than 0 as in the Step S305 (Step S309). For example, when an overlapped-existing-annotation character string W14 exists against the location-adjusting-annotation character string W1 that is shown by the imaginary line in
Thereafter, the location adjusting processor 152 determines whether or not the in-region location of the location-adjusting-annotation character string Wk can be achieved by moving it rightward by a distance of the overlapped value Rb, namely whether or not a value obtained by subtracting Rb and AMaxX from VMaxX is 0 or greater (Step S311). When determining that the value is smaller than 0 in Step S311, the location adjusting processor 152 recognizes that the in-region location of the location-adjusting-annotation character string Wk cannot be achieved only by moving it rightward, and terminates the processing. On the other hand, when determining that the value is 0 or greater in Step S311, the location adjusting processor 152 performs the in-region location of the location-adjusting-annotation character string Wk by moving it rightward by the distance of the overlapped value Rb, namely performs the processing of Step S308, and terminates the processing. For example, in the left position state as shown in
When determining that the value obtained by subtracting AMaxX from BMaxX is smaller than 0 in Step S305, the location adjusting processor 152 recognizes that the left side of the overlapped existing display area is on the right of the left side of the adjustment character area Hk and the right side of the overlapped existing display area is on the left of the right side of the adjustment character area Hk, namely, the overlapped existing display area exists on an inner side of the adjustment character area Hk, which is hereinafter referred to as a right/left inner position state. Then, the location adjusting processor 152 recognizes to determine a moving direction of the location-adjusting-annotation character string Wk in accordance with the position of the overlapped existing display area relative to the adjustment character area Hk, and obtains a value by calculating (AMaxX+AMinX)/2 as a center value Sa in the right-left direction of the location-adjusting-annotation character string Wk (Step S312). When determining that the value obtained by subtracting AMaxX from BMaxX is greater than 0 in Step S309, the location adjusting processor 152 recognizes that the left side of the overlapped existing display area is on the left of the left side of the adjustment character area Hk and the right side of the overlapped existing display area is on the right of the right side of the adjustment character area Hk, namely the overlapped existing display area exists on an outer side of the adjustment character area Hk, which is hereinafter referred to as a right/left outer position state. The location adjusting processor 152 then recognizes to determine a moving direction of the location-adjusting-annotation character string Wk in accordance with the position of the overlapped existing display area relative to the adjustment character area Hk, and performs the processing of Step S312. For example, in the right/left inner position state as shown in
Then, the location adjusting processor 152 obtains a value by calculating (BMaxX+BMinX)/2 as a center value Sb in the right-left direction of the overlapped existing display area (Step S313). Thereafter, the location adjusting processor 152 determines whether or not the center of the overlapped existing display area is on the right of the center of the location-adjusting-annotation character string Wk, namely whether or not a value obtained by subtracting the center value Sa from the center value Sb is greater than 0 (Step S314). When determining that the value is greater than 0 in Step S314, the location adjusting processor 152 recognizes that the center of the overlapped existing display area is on the right of the center of the location-adjusting-annotation character string Wk, and thus the in-region location thereof is performed by moving the location-adjusting-annotation character string Wk leftward, and performs the processing of Step S306. For example, in the states shown in
In the second location adjusting processing, the location adjusting processor 152 determines whether or not there are a plurality of the overlapped existing annotations Qj as shown in
In Step S404, when determining that the value is greater than 0, the location adjusting processor 152 determines whether or not the lower side of the overlapped existing display area is below a lower side of the location-adjusting-annotation character string Wk, namely whether or not a value obtained by subtracting AMaxY from BMaxY is greater than 0 (Step S405). When determining that the value is greater than 0 in Step S405, the location adjusting processor 152 recognizes that the upper side of the overlapped existing display area is below the upper side of the adjustment character area Hk and the lower side of the overlapped existing display area is below the lower side of the adjustment character area Hk, namely the overlapped existing display area exists below the adjustment character area Hk, which is hereinafter referred to as a lower position state. Then, the location adjusting processor 152 recognizes to perform processing for moving the location-adjusting-annotation character string Wk upward and obtains the value by subtracting BMinY from AMaxY as an overlapped value Rc (Step S406). Thereafter, the location adjusting processor 152 determines whether or not the in-region location of the location-adjusting-annotation character string Wk can be achieved by moving it upward by a distance of the overlapped value Rc, namely whether or not a value obtained by subtracting Rc and VMinY from AMinY is 0 or greater (Step S407). When determining that the value is smaller than 0 in Step S407, the location adjusting processor 152 recognizes that the in-region location of the location-adjusting-annotation character string Wk cannot be achieved only by moving it upward, and terminates the processing. On the other hand, when determining that the value is 0 or greater in Step S407, the location adjusting processor 152 performs the in-region location of the location-adjusting-annotation character string Wk by moving it upward by the distance of the overlapped value Rc (Step S408), and terminates the processing.
In Step S404, when determining that the value obtained by subtracting AMinY from BMinY is smaller than 0, the location adjusting processor 152 then determines whether or not the value obtained by subtracting AMaxY from BMaxY is greater than 0 (Step S409). For example, when the overlapped-existing-annotation character string W4 exists against the location-adjusting-annotation character string W1 shown by the imaginary line in
Thereafter, the location adjusting processor 152 determines whether or not the in-region location of the location-adjusting-annotation character string Wk can be achieved by moving it downward by a distance of the overlapped value Rd, namely whether or not a value obtained by subtracting Ra and AMaxY from VMaxY is 0 or greater (Step S411). When determining that the value is smaller than 0 in Step S411, the location adjusting processor 152 recognizes that the in-region location of the location-adjusting-annotation character string Wk cannot be achieved only by moving it downward, and terminates the processing. On the other hand, when determining that the value is 0 or greater in Step S411, the location adjusting processor 152 performs the in-region location of the location-adjusting-annotation character string Wk by moving it downward by the distance of the overlapped value Rd, namely performs the processing of Step S408, and terminates the processing. For example, in the upper position state as shown in
When determining that the value obtained by subtracting AMaxY from BMaxY is smaller than 0 in Step S405, the location adjusting processor 152 recognizes that the upper side of the overlapped existing display area is below the upper side of the adjustment character area Hk and the lower side of the overlapped existing display area is above the lower side of the adjustment character area Hk, namely the overlapped existing display area exists on an inner side of the adjustment character area Hk, which is hereinafter referred to as an upper/lower inner position state. Then, the location adjusting processor 152 recognizes to determine a moving direction of the location-adjusting-annotation character string Wk in accordance with the position of the overlapped existing display area relative to the adjustment character area Hk, and obtains a value by calculating (AMaxY+AMinY)/2 as a center value Sc in the up-down direction of the location-adjusting-annotation character string Wk (Step S412). When determining that the value obtained by subtracting AMaxY from BMaxY is greater than 0 in Step S409, the location adjusting processor 152 recognizes that the upper side of the overlapped existing display area is above the upper side of the adjustment character area Hk and the lower side of the overlapped existing display area is below the lower side of the adjustment character area Hk, namely, the overlapped existing display area exists on an outer side of the adjustment character area Hk, which is hereinafter referred to as an upper/lower outer position state. The location adjusting processor 152 then recognizes to determine a moving direction of the location-adjusting-annotation character string Wk in accordance with the position of the overlapped existing display area relative to the adjustment character area Hk, and performs the processing of Step S412. Then, the location adjusting processor 152 obtains a value by calculating (BMaxY+BMinY)/2 as a center value Sd in the up-down direction of the overlapped existing display area (Step S413).
Thereafter, the location adjusting processor 152 determines whether or not the center of the overlapped existing display area is below the center of the location-adjusting-annotation character string Wk, namely whether or not a value obtained by subtracting the center value Sc from the center value Sd is greater than 0 (Step S414). When determining that the value is greater than 0 in Step S414, the location adjusting processor 152 recognizes that the center of the overlapped existing display area is below the center of the location-adjusting-annotation character string Wk and that the in-region location thereof is performed by moving the location-adjusting-annotation character string Wk upward, and performs the processing of Step S406. On the other hand, when determining that the value is smaller than 0 in Step S414, the location adjusting processor 152 recognizes to move the location-adjusting-annotation character string Wk downward to achieve the in-region location, and performs the processing of Step S410.
Incidentally, when an overlapped existing annotation Qj against a location adjusting annotation Qk with its display type being the character display type exists, namely when an overlapped-existing-annotation character string W32 against a location-adjusting-annotation character string W31 of a location adjusting annotation Q31 exists, the above-described updating processing of the annotation data 170 is performed, and the location-adjusting-annotation character string W31 is moved leftward along the lower side of a movable region EA31 to a position shown by the solid line in
As described above, in the first embodiment, the processor 150 of the map information generating device 100 operates the movable region setting section 151 to generate the annotation data 170 for displaying the location adjusting annotation Qk about a feature that is newly built. The location adjusting processor 152 of the processor 150 sets the location-adjusting-annotation character string Wk of the location adjusting annotation Qk at a locatable position close to the true position Pk but not overlapping with the existing annotation Qj. Specifically, the location adjusting processor 152 sets the locatable position of the location-adjusting-annotation character string Wk at a position substantially corresponding to a position where the feature locates but not overlapping with the existing annotation Qj. Then, the annotation data updating section 153 of the processor 150 updates, based on the location state of the location-adjusting-annotation character string Wk set by the location adjusting processor 152, the annotation data 170 of the location-adjusting-annotation character string Wk and stores it in the storage section 130. Thus, when adding a location-adjusting-annotation character string Wk of a new feature to the annotation list data 160 and updating the annotation list data 160, the map information generating device 100 can update the annotation list data 160 so that annotation character strings Wk that show details of features respectively corresponds to the positional relationships of the features, but do not overlap with each other. Accordingly, the display unit that displays the positional relationships of the features using the annotation list data 160 can display the annotation character strings Wk in a manner not overlapping with each other without providing a function for adjusting the locatable position of the annotation character strings Wk on the display unit. Since the size of characters constituting the annotation character string Wk is not adjusted, the user can recognize the details of the features more easily as compared to a conventional arrangement in which the size of the characters is adjusted depending on the number of characters constituting the annotation character string Wk. Since the map information generating device 100 does not delete an annotation character string Wk having existed previously, it dose not generate the annotation list data 160 that cannot express an annotation character string Wk that is useful for the user, unlike a conventional arrangement in which the annotation character string Wk having existed previously is appropriately deleted. With the map information generating device 100, a creator of the annotation list data 160 is only required to input settings of various information other than the character string shape information 194 in the annotation data 170, and is not required to appropriately set the locatable position of the annotation character string Wk. Therefore, the map information generating device 100 can appropriately update the annotation list data 160.
When recognizing that that all of the annotations Qi cannot be located so as not to overlap with each other only by adjusting the locatable position of the location-adjusting-annotation character string Wk, the location adjusting processor 152 sets a locatable position of the location-adjusting-annotation character string Wk at a predetermined position, while performing the location adjusting processing of the overlapped-existing-annotation character string Wj that overlaps with the location-adjusting-annotation character string Wk to be located at the predetermined position. Thus, even when the plurality of overlapped-existing-annotation character strings Wj exist around the true position Pk of the location-adjusting-annotation character string Wk, the map information generating device 100 can locate all of the annotations Qi so as not to overlap with each other by the location adjusting processing of the overlapped-existing-annotation character string Wj having existed previously. Therefore, unlike a conventional arrangement in which the location adjusting processing of the overlapped-existing-annotation character string Wj is not performed, the map information generating device 100 does not have a problem in which all of the annotations cannot be located so as not to overlap with each other, thereby updating the annotation list data 160 more properly.
The location adjusting processor 152 sets the locatable position of the annotation character string Wi in the movable regions EAi, EBi and ECi that are set relative to the true position Pi by the movable region setting section 151. Thus, the map information generating device 100 can set the locatable position of the annotation character string Wi at a position within a predetermined distance area from the true position Pi, so that it can update the annotation list data 160 more appropriately unlike an arrangement in which, for instance, the movable regions EAi, EBi and ECi are not set and thus a distance from an annotation character string Wi to the true position Pi is greatly different for each feature.
The location adjusting processor 152 locates the location-adjusting-annotation character string Wk at, for instance, the center of the lower sides of the movable regions EAk, EBk and ECk. The location adjusting processor 152 sets the locatable position when recognizing that the overlapped existing annotation Qj does not exist, while adjusting the locatable position of the location-adjusting-annotation character string Wk in the right-left direction when recognizing that the overlapped existing annotation Qj exists. Since the map information generating device 100 locates the location-adjusting-annotation character string Wk at a predetermined position regardless of whether or not the existing annotation Qj exists in, for instance, the movable region EBk, processing load in the location adjusting processing can be reduced as compared to an arrangement that first recognizes the existing annotation Qj existing in the movable region EBk and then recognizes an overlapping states with the existing annotation Qj to set the locatable position of the location-adjusting-annotation character string Wk.
When the location adjusting annotation Qk is the character display type, the location adjusting processor 152 locates the location-adjusting-annotation character string Wk so that the true position Pk is positioned at the center of the adjustment character area Hk. The location adjusting processor 152 sets the locatable position when recognizing that the overlapped existing annotation Qj does not exist, while performing the location adjusting processing of the location-adjusting-annotation character string Wk when recognizing that the overlapped existing annotation Qj exists. Thus, the map information generating device 100 first locates the location-adjusting-annotation character string Wk at a position corresponding to the position of the feature, namely at a position that allows the user to easily recognize the position of the feature, so that the map information generating device 100 can update the annotation list data 160 in shorter time, which allows the user to recognize the position of the feature more easily as compared to an arrangement in which the locatable position of the location-adjusting-annotation character string Wk is first set at a position close to the position of the feature.
When the location adjusting processor 152 locates the location-adjusting-annotation character string Wk at, for instance, the center of the lower side of the movable region EBk and recognizes that the overlapped existing annotation Qj exists, the location adjusting processor 152 adjusts the locatable position of the location-adjusting-annotation character string Wk in the right-left direction based on the overlapping state with the overlapped existing annotation Qj. Thus, since the map information generating device 100 reflects the overlapping state with the overlapped existing annotation Qj in adjustment of the locatable position of the location-adjusting-annotation character string Wk, it can determine the locatable position in shorter time as compared to an arrangement that determines whether or not the location-adjusting-annotation character string Wk can be located at a position by moving it, for instance, rightward by a predetermined distance from the center of the lower side without reflecting the overlapping state.
The location adjusting processor 152 recognizes an overlapping amount between the location-adjusting-annotation character string Wk and the overlapped existing annotation Qj, and sets a position to which the location-adjusting-annotation character string Wk is moved by the overlapping amount as the locatable position. Thus, since the map information generating device 100 sets the locatable position of the location-adjusting-annotation character string Wk based on the overlapping amount with the overlapped existing annotation Qj, it can set the locatable position at a position that does not overlap with the overlapped existing annotation Qj more securely as compared to an arrangement in which the locatable position is set without recognizing the overlapping amount.
The location adjusting processor 152 recognizes the position of the overlapped existing annotation Qj relative to the location-adjusting-annotation character string Wk, namely the positional relationship between the location-adjusting-annotation character string Wk and the overlapped existing annotation Qj to set the locatable position of the location-adjusting-annotation character string Wk based on the recognized positional relationship. Thus, the map information generating device 100 reflects the positional relationship with the overlapped existing annotation Qj in adjusting the locatable position of the location-adjusting-annotation character string Wk, it always updates the annotation list data 160 by reflecting the positional relationship of the features, unlike an arrangement that sets the locatable position of the location-adjusting-annotation character string Wk always at, for instance, the right of the overlapped existing annotation Qj without reflecting the positional relationship. Therefore, the map information generating device 100 can update the annotation list data 160 more appropriately.
When there are the plurality of overlapped existing annotations Qj, the location adjusting processor 152 sets the locatable position of the location-adjusting-annotation character string Wk based on the overlapping state with the closest overlapped existing annotation Qj. Thus, for instance, when two overlapped existing annotations Q91 and Q92, which are adjacent to each other in the right-left direction, exist in the right position states relative to the locatable position of the location-adjusting-annotation character string Wk, the map information generating device 100 performs the first location processing on the overlapped existing annotation Q91 that is located more closely to the location-adjusting-annotation character string Wk, namely the overlapped existing annotation Q91 that is the left one of the overlapped existing annotations Q91 and Q92, so that the locatable position of the location-adjusting-annotation character string Wk can be set so as not to overlap with the overlapped existing annotations Q91 and Q92. On the other hand, if the first location adjusting processing is performed on the overlapped existing annotation Q92 that is located farther from the location-adjusting-annotation character string Wk, namely the overlapped existing annotation Q92 that is the right one of the overlapped existing annotations Q 91 and Q92, the locatable position of the location-adjusting-annotation character string Wk will not overlap with the overlapped existing annotation Q92 but might overlap with the overlapped existing annotation Q91. Therefore, the map information generating device 100 can update the annotation list data 160 more appropriately.
When the location adjusting annotation Qk is the symbol-character display type, the location adjusting processor 152 sets the locatable position of the location-adjusting-annotation character string Wk at a position that does not overlap with the symbol Kk that is arranged on the true position Pk and the existing annotation Qj. Thus, the map information generating device 100 can set the locatable position of the location-adjusting-annotation character string Wk so as not to overlap with the symbol Kk corresponding to this location-adjusting-annotation character string Wk as well as the overlapped existing annotation Qj. Therefore, the map information generating device 100 can perform the location adjusting processing of the location-adjusting-annotation character string Wk more appropriately in the case with the location adjusting annotation Qk being symbol-character display type.
When the location adjusting annotation Qk is the leader-character display type, the location adjusting processor 152 sets the locatable positions of the location-adjusting-annotation character string Wk and the leader line Uk at positions that do not overlap with the existing annotation Qj. Thus, even in the case with the location adjusting annotation Qk being the leader-character display type, the map information generating device 100 can locate the location-adjusting-annotation character string Wk and the leader line Uk so as not to overlap with the overlapped existing annotation Qj, thereby performing the location adjusting processing of the location-adjusting-annotation character string Wk more appropriately.
The map information generating device 100 performs update processing of the annotation list data 160 for displaying the position of the feature in the scales 1 to 4 each having different scales. Thus, the map information generating device 100 can realize improved user-friendliness as compared to an arrangement that can perform update processing of the annotation list data 160 that only corresponds to one scale.
The information updating device of the present invention is applied to the map information generating device 100 for updating the annotation list data 160 for displaying the position of the feature in a superimposing manner on the map. Thus, the map information generating device 100 can update the annotation list data 160 so that the annotations Qi of the features do not overlap with each other on the map, thereby allowing the user to easily recognize addresses or the like of the features in addition to the positional relationship of the features.
The information updating device of the present invention is applied to the map information generating device 100 for updating the annotation list data 160 for displaying the position of the feature on the display unit in a superimposing manner on the map. Thus, the map information generating device 100 can update the annotation list data 160 so that the annotations Qi of the features are displayed on the map without overlapping with each other when being displayed on the display unit.
The information updating device of the present invention is applied to the map information generating device 100 for updating the annotation list data 160 for displaying the position of the feature on the display unit that is installed in the vehicle. Therefore, in the display unit installed in the mobile body and having a display area smaller than that of a display unit installed at home or the like, the annotation list data 160 can be updated so that the annotations Qi do not overlap with each other, thereby realizing more improved user-friendliness of the map information generating device 100.
Now, a second embodiment of the present invention will be described with reference to the attached drawings. In the present embodiment, a map information generating device similar to the map information generating device 100 of the first embodiment will be exemplified as the information updating device.
[Arrangement of Map Information Generating Device]
In
The movable region setting section 311, as with the movable region setting section 151 of the first embodiment, sets the movable regions EAk, EBk and ECk as shown in FIGS. 5 to 7. Incidentally, the movable regions may have different shapes from those of the movable regions EAk, EBk and ECk shown in FIGS. 5 to 7. As shown in, for instance,
Specifically, for instance, based on annotation data 170 about a newly-built feature, the movable region setting section 311 sets the movable region EBk corresponding to the location adjusting annotation Qk of the symbol-character display type as shown in
Further, the movable region setting section 311 divides the movable region EBk into rectangular priority setting areas FYm (m represents natural numbers of 1 to 8), each of which is assigned with a priority for setting a later-described start-point locatable cell FQ. Specifically, the priority is so set that the highest priority is given to a priority setting area FY1 on the right of the true position Pk, and priorities are given, in descending order, to a priority setting area FY2 above the true position Pk, a priority setting area FY3 on the left of the true position Pk, a priority setting area FY4 below the true position Pk, a priority setting area FY5 on the upper right of the true position Pk, a priority setting area FY6 on the lower right of the true position Pk, a priority setting area FY7 on the upper left of the true position Pk and a priority setting area FY8 on the lower left of the true position Pk. Note that the priority may be set by any orders without limiting to the order above. The shape of the priority setting area FY1 may be triangle, square or the like without limiting to the rectangle. The movable region EBk may be divided into three, sixteen or other numbers of the priority setting areas without limiting to eight.
The region existing-display-area recognizer 312 recognizes the display area of the character area Hj, the symbol Kj, the instruction point Tj or the leader line Uj of the existing annotation Qj existing in the movable regions EAk, EBk and ECk (hereinafter, referred to as a region existing display area), while recognizing the number of the region existing display areas (hereinafter, referred to as the number of region existing display areas S). Specifically, the region existing-display-area recognizer 312 acquires the annotation data 170 about the feature located in, for instance, the area D and recognizes the display area such as the character area Hj based on the annotation data 170. When determining that at least a part of the recognized display area is located in the movable region EBk, the region existing-display-area recognizer 312 recognizes that the display area is the region existing-display-area.
When determining that the region existing display area exists, the region existing-display-area recognizer 312 outputs area number information showing the number of region existing display areas S to the unlocatable cell recognizer 313 together with existing specifying information for specifying the region existing detail area. As shown in
If an entire adjustment character area Hk is not located within the movable regions EAk, ABk and ECk at the time when a start point position HLk (k represents a natural number), which is, for instance, a lower left point of the adjustment character area Hk of the location-adjusting-annotation character string Wk, is located in a cell FSk, the unlocatable cell recognizer 313 recognizes this cell FSk as an unlocatable cell FSk against the movable regions EAk, EBk and ECk. The start point position HLk may be an upper right apex, a lower right apex or any specific point on each side without limiting to the lower left apex of the adjustment character area Hk. If the adjustment character area Hk overlaps with a symbol Kk or an instruction point Tk at the time when the start position point HLk is located in a cell FSk, the unlocatable cell recognizer 313 recognizes this cell FSk as an unlocatable cell FSk against the symbol Kk or the instruction point Tk. If the adjustment character area Hk overlaps with the region existing display area when the start point position HLk is located in a cell FSk, the unlocatable cell recognizer 313 recognizes this cell FSK as unlocatable cell FSk against the region existing display area.
Specifically, when, for instance, the movable region EBk is divided into the cells FSk, the unlocatable cell recognizer 313 determines whether or not the entire adjustment character area Hk is located in the movable region EBk at the time when the start point position HLk is located in a cell FSk. Here, when a side of the adjustment character area Hk contacts with a side of the movable region EBk, the unlocatable cell recognizer 313 determines that the adjustment character area Hk is not located in the movable region EBk. When determining that a part of the adjustment character area Hk is not located in the movable region EBk, the unlocatable cell recognizer 313 recognizes the cell FSk with the start point position HLk located therein as an unlocatable cell FSk against the movable region EBk. Further, the unlocatable cell recognizer 313 associates unlocatable information indicating that the start point position HLk cannot be located therein with the unlocatable cells FSk. For example, when the movable region EBk and the cells FSk are set as shown in
The unlocatable cell recognizer 313 determines whether or not at least a part of the adjustment character area Hk overlaps with the symbol Kk when the start point position HLk is located in a cell FSk. When determining that adjustment character area Hk overlaps with the symbol Kk, the unlocatable cell recognizer 313 recognizes the cell FSk as an unlocatable cell FSk against the symbol Kk and associates the unlocatable information with this unlocatable cells FSk. For example, in the state as shown in
When acquiring the existing specifying information and the area number information from the region existing-display-area recognizer 312, the unlocatable cell recognizer 313 determines whether or not at least a part of the adjustment character area Hk overlaps with a Yth region existing display area (Y represents a natural number equal to or smaller than the number of region existing display areas S) that is specified by the existing specifying information at the time the start point position HLk is located in a cell FSk. When determining that adjustment character area Hk overlaps with the Yth region existing display area, the unlocatable cell recognizer 313 recognizes the cell FSk as an unlocatable cell FSk against the region existing display area and associates the unlocatable information with this unlocatable cell FS. For example, when a first region existing display area is a circular symbol K52 shown in
The start-point locatable cell setting section 314 locates the location-adjusting-annotation character string Wk of the character display type such that the true position Pk is positioned at the center of the adjustment character area Hk and that the overlapped existing annotation Qj overlapping with the adjustment character area Hk does not exist. Based on recognitions of the region existing-display-area recognizer 312 and the unlocatable cell recognizer 313, the start-point locatable cell setting section 314 sets a start-point locatable cell FQ for finally locating the start point position HLk to a cell FSk which, in the state where the start point position HLk is located therein, allows the entire adjustment character area Hk to be located in the movable regions EAk, EBk and ECk and allows the adjustment character area Hk not to overlap with the symbol Kk, the instruction point Tk, the region existing display area or the like.
Specifically, when recognizing that there is not an overlapped existing annotation Qj when the location-adjusting-annotation character string Wk of the character display type is located with the true position Pk being at the center of the adjustment character area Hk, the start-point locatable cell setting section 314 sets a cell FSk in which the start point position HLk is located at this time as the start-point locatable cell FG.
Upon acquisition of the nonexistence information from the region existing-display-area recognizer 312, which means there is no region existing display area, the start-point locatable cell setting section 314 recognizes cells FSk other than the unlocatable cells FSk against the movable regions EAk, EBk and ECk, the symbol Kk and the instruction point Tk as final locatable cells FSk in which the start point position HLk can be finally located. Then, in the final locatable cells FSk, the start-point locatable cell setting section 314 specifies final locatable cells FSk that are located in a priority setting area FYm with the highest priority. Further, in the specified final locatable cells FSk, the start-point locatable cell setting section 314 recognizes one cell FSk which, in a state with the start point position HLk being located therein, allows the center of the location-adjusting-annotation character string to be positioned closest to the true position Pk, and sets this one cell FSk as the start-point locatable cell FQ. Incidentally, a setting method of the start-point locatable cell FQ may not be limited to the above-described method but may be other methods such as, for instance, the one in which a final locatable cell FSk that allows a periphery of the location-adjusting-annotation character string Wk to be positioned most closest to a periphery of the true position Pk or the priority setting area FYm is set as the start-point locatable cell FQ and the one in which a final locatable cell FSk that is selected at random is set as the start-point locatable cell FQ.
Upon acquisition of the existence information from the region existing-display-area recognizer 312, which means there is a region existing display area, the start-point locatable cell setting section 314 determines whether or not there are cells FSk other than the unlocatable cells FSk against the movable regions EAk, EBk and ECk, the symbol Kk and the instruction point Tk and the region existing display area. When determining that there are those cells FSk other than the unlocatable cells FSk, the start-point locatable cell setting section 314 recognizes those cells as the final locatable cells FSk. When there is only one final locatable cell FSk recognized, this final locatable cell FSk is set as the start-point locatable cell FQ. When there are the plurality of final locatable cells FSk, the processing same as in the case with acquiring the nonexistence information is performed to set one start-point locatable cell FQ.
When determining that there is no cell FSk other than the unlocatable cells FSk against the movable region EAk, EBk and ECk, the symbol Kk, the instruction point Tk and the region existing display area, the start-point locatable cell setting section 314 determines that all of the annotations Qi cannot be located so as not to overlap with each other only by adjusting location of the location-adjusting-annotation character string Wk. Then, the start-point locatable cell setting section 314 recognizes, in annotation character strings (hereinafter, referred to a region-existing-annotation character string) Wj that correspond to the character areas Hj recognized as the region existing display areas, a region-existing-annotation character string Wj that is located in the priority setting area FYm with the highest priority. The start-point locatable cell setting section 314 then locates the location-adjusting-annotation character string Wk such that the location-adjusting-annotation character string Wk overlaps only with this region-existing-annotation character string and that all of the adjustment character areas Hk are located in the movable regions EAk, EBk and ECk, and sets a cell FSk in which the start point position HLk is located at this time as the start-point locatable cell FQ. Then, the start-point locatable cell setting section 314 performs the processing as described above to set the start-point locatable cell FQ against the region-existing-annotation character string Wj. The start-point locatable cell setting section 314 repeats the above-described processing until all of the annotations Qj are located so as not to overlap with each other. Incidentally, since the symbol Kj and the instruction point Tj of the overlapped existing annotation Qj represent a position of the feature, the start-point locatable cell FQ is not set for them.
The annotation data updating section 315 updates the annotation data 170 so that the start point position HLk is located in the start-point locatable cell FQ. In other words, the annotation data updating section 315 updates the annotation data 170 so as to display the map in which all of the annotations Qi are not overlapped with each other. Specifically, the annotation data updating section 315 recognizes a coordinate of the adjustment character area Hk at the time when the location-adjusting-annotation character string Wk is located so that the start point position HLk is located in the start-point locatable cell FQ. Then, by recognizing a scale for displaying the location-adjusting-annotation character string Wk, the annotation data updating section 315 associates information about the scale with the coordinate of the adjustment character area Hk, which is then stored in the character string shape information 194. When recognizing that location of the start-point locatable cell FQ against the region-existing-annotation character string Wj is completed, the annotation data updating section 315 records the information about the scale and the coordinate of the character area Hj in the character string shape information 194 of this region-existing-annotation character string Wj. Then, the annotation data updating section 315 recognizes coordinates of the leader lines Uk and Uj corresponding to the location states of the adjustment character area Hk and the character area Hj to record the coordinates in the character string shape information 194. The annotation data 170 with the character string shape information 194 having been updated is stored in the storage section 130.
[Operation of Map Information Generating Device]
Next, as an operation of the map information generating device 300, update processing of annotation data in accordance with an additional location of a location adjusting annotation Qk will be described with reference to the drawing. Note that since the update processing for the annotation data 170 in accordance with the additional location of the location adjusting annotation Qk is performed similarly to that in the first embodiment, namely the processing as shown in
The processor 310 of the map information generating device 300 performs the following processing as location processing of the annotation Qi in the Step S105 in the update processing of the annotation data 170 as shown in
In Step S503, when determining that the display type is not the character display type, the movable region setting section 311 determines whether or not the display type in the scale Z is the symbol-character display type (Step S507). In Step S507, when determining that the display type is the symbol-character display type, the movable region setting section 311 sets the movable region EBk for the symbol-character display type on the area D (Step S508). For instance, a movable region EB51 for the location adjusting annotation Q51 is set as shown in
In Step S507, when determining that the display type is not the symbol-character display type but the leader-character display type, the movable region setting section 311 sets the movable region ECk for the leader-character display type (Step S511). Then, the unlocatable cell recognizer 313 recognizes the unlocatable cell FSk against the movable region ECk (Step S512), while recognizing the unlocatable cell FSk against the instruction point Tk (Step S513). In Step S505, when determining that the overlapped existing annotation Qj does not exist, the movable region setting section 311 sets the movable region EAk for the character display type (Step S514) and recognizes the unlocatable cell FSk against the movable region EAk (Step S515).
Then, after the processor 310 recognizes the unlocatable cells FSk in Steps S510, S513 and S515, the region existing-display-area recognizer 312 determines whether or not the region existing display area exists (Step S516). In Step S516, when determining that the region existing display area exists, the region existing-display-area recognizer 312 recognizes the number of region existing display areas S (Step S517) and outputs the existing specifying information and the area number information to the unlocatable cell recognizer 313, while outputting the existence information to the start-point locatable cell setting section 314. Upon recognition of the existing specifying information and the area number information, the unlocatable cell recognizer 313 sets a variable Y to 1 (Step S518), and sets an order of the region existing display areas which is referred to in recognizing the unlocatable cell FSk. Here, the order may be set based on a distance from the true position Pk, may be set in the descending order of the priority of the priority setting area FYm, or may be any other method. The unlocatable cell recognizer 313 recognizes the unlocatable cell FSk against the Yth region existing display area (Step S519), and determines whether or not the value of the variable Y is equal to the number of region existing display areas S (Step S520).
In Step S520, when determining that the value of the variable Y is smaller than the number of region existing display areas S, the unlocatable cell recognizer 313 adds 1 to the variable Y (Step S521), and performs the processing of Step S519. On the other hand, when the unlocatable cell recognizer 313 determines that the value of the variable Y is equal to the number of region existing display areas S, namely determines that the unlocatable cells FSk against all of the region existing display areas are recognized, the processor 310 operates the start-point locatable cell setting section 314 to determine whether or not the final locatable cells FSk exist (Step S522). Even when it is determined that region existing display area does not exist in Step S516, the processing of Step S522 is also performed. In Step S522, when it is determined that the final locatable cells FSk exist, the start-point locatable cell setting section 314 sets one of the final locatable cells FSk as the start-point locatable cell FQ (Step S523). The processor 310 operates the annotation data updating section 315 to locate the location-adjusting-annotation character string Wk so that the start point position HLk is located in the start-point locatable cell FQ (Step S524), and performs the processing of Step S506 based on this location state.
For instance, in the state shown in
On the other hand, in Step S522, when it is determined that the final locatable cells FSk do not exist, the start-point locatable cell setting section 314 performs relocation processing of the region-existing-annotation character string Wj (Step S525), and performs the processing of Step S506 based on the relocation state. For instance, in the state as shown in
As described above, the second embodiment can provide the following advantages in addition to those provided by the first embodiment.
The processor 310 of the map information generating device 300 operates the movable region setting section 311 to acquire annotation data 170 of a location adjusting annotation Qk about a new feature. The start-point locatable cell setting section 314 of the processor 310 sets the locatable position of the start point position HLk of the adjustment character area HK of the location adjusting annotation Qk so that the location-adjusting-annotation character string Wk is positioned near the true position Pk and does not overlap with the existing annotation Qj. Then, the annotation data updating section 315 of the processor 310 updates, based on the location state of the location-adjusting-annotation character string Wk set by the start-point locatable cell setting section 314, the annotation data 170 of the location-adjusting-annotation character string Wk and stores it in the storage section 130. Thus, the map information generating device 300 can provides the same advantage as those in the first embodiment, thereby appropriately updating the annotation list data 160.
The start-point locatable cell setting section 314, when recognizing that all of the annotations Qi cannot be located so as not to overlap with each other only by adjusting location of the location-adjusting-annotation character string Wk, sets a predetermined cell FSk as the a start-point locatable cell FQ of the location-adjusting-annotation character string Wk, while setting the start point locatable cell FQ of the region-existing-annotation character string Wj that overlaps with the location-adjusting-annotation character string Wk. Therefore, unlike a conventional arrangement in which the location adjusting processing of the region-existing-annotation character string Wj is not performed, the map information generating device 300 does not have a problem in which all of the annotations cannot be located so as not to overlap with each other, thereby updating the annotation list data 160 more properly.
The unlocatable cell recognizer 313 recognizes cells FSk constituting the adjustment character area Hk that overlaps with the region existing display area when the start point position HLk is located as unlocatable cells FSk against the region existing display area. Then, the start-point locatable cell setting section 314 sets cells FSk other than the unlocatable cells FSk against the region existing display area as the start-point locatable cells FQ. Thus, unlike the first embodiment, it is only necessary for the map information generating device 300 to determine whether or not the adjustment character area Hk overlaps with the region existing display area, but not necessary to perform complicated processing for computing the overlapping amount with the region existing display area. Therefore, the map information generating device 300 can set the locatable position of the location-adjusting-annotation character string Wk more easily and in shorter time as compared to the arrangement of the first embodiment.
Further, the start-point locatable cell setting section 314 sets the start-point locatable cell FQ based on the priority of the priority setting area FYm. Thus, by setting the priority of the priority setting area FYm such that, a priority setting area that allows the user to easily recognize association between the annotation character string Wi and the true position Pi has higher propriety, the map information generating device 300 can update the annotation list data 160 so that the user can easily recognize the position of the feature.
The present invention is not limited to the above specific embodiments, but includes modifications and improvements as long as the objects of the present invention can be attained.
Specifically, in the first and second embodiments, the location adjusting processing for the overlapped-existing-annotation character string Wj or the region-existing-annotation character string Wj may not be performed. With such arrangement, a function for performing the above-described processing does not have to be provided to the location adjusting processor 152 or the start-point locatable cell setting section 314, thus simplifying the arrangements of the location adjusting processor 152 or the start-point locatable cell setting section 314.
Further, in the first and second embodiments, when the location adjusting annotation Qk is the character display type, the location-adjusting-annotation character string Wk may not be located so that the true position Pk is positioned at the center of the adjustment character area Hk. With such arrangement, a function for performing the above-described processing does not have to be provided to the location adjusting processor 152 or the start-point locatable cell setting section 314, thus simplifying the arrangements of the location adjusting processor 152 or the start-point locatable cell setting section 314. In addition, the locatable position of the location-adjusting-annotation character string Wk can be set in shorter time.
In the first embodiment, the movable regions EAk, EBk and ECk may not be set. Instead, the locatable position of the location-adjusting-annotation character string Wk may be set by determining whether or not it can be located at a specific position, e.g., above and below the true position Pk as well as on the right and left of the true position Pk. With the arrangement, the movable region setting section 151 does not have to be provided to the processor 150, thus simplifying the arrangement of the processor 150. In addition, the locatable position of the location-adjusting-annotation character string Wk can be set in shorter time.
In the first embodiment, without recognizing the overlapping amount of the location-adjusting-annotation character string Wk and the overlapped existing annotation Qj, it may be so arranged to determine whether or not the location-adjusting-annotation character string Wk can be located at a position to which it is moved in a direction corresponding to the positional relationship between them and by a predetermined distance. Contrary, without recognizing the positional relationship between the location-adjusting-annotation character string Wk and the overlapped existing annotation Qj, it may be so arranged to determine whether or not the location-adjusting-annotation character string Wk can be located at a position to which it is moved in a predetermined direction and by the overlapping amount. With the arrangement, the location adjusting processor 152 does not have to be provided with a function for recognizing the overlapping amount or a function for recognizing the positional relationship, thus simplifying the arrangement of the location adjusting processor 152. In addition, the locatable position of the location-adjusting-annotation character string Wk can be set in shorter time.
In the first embodiment, when there are a plurality of the overlapped existing annotations Qj, the locatable position of the location-adjusting-annotation character string Wk may be set based on the overlapping state with an overlapped existing annotation Qj that exists in a predetermined direction from the location-adjusting-annotation character string Wk, regardless of the distance between the overlapped existing annotation Qj and the location-adjusting-annotation character string Wk. With the arrangement, the location adjusting processor 152 does not have to be provided with a function for computing the distance to the overlapped existing annotation Q1, thus simplifying the arrangement of the location adjusting processor 152.
In the first embodiment, when the overlapped-existing-annotation character string W2 exists only on the lower side of the movable region EB1 of the location-adjusting-annotation character string W1 as shown in
In the first embodiment, determination on whether or not the location-adjusting-annotation character string Wk can be located at a predetermined position in the movable regions EAk, EBk and ECk may not be made in the order of the lower side, the right side, the upper side and the left side, but other orders may be employed. Further, the determination on whether or not the location-adjusting-annotation character string Wk can be located on any one of the sides may not be made.
In the second embodiment, the start-point locatable cell FQ may not be set based on the priority of the priority setting area FYm, by may be set by selecting a cell FSk at random from cells FSk other than the unlocatable cells FSk. With the arrangement, the movable region setting section 311 does not have to be provided with a function for setting the priority setting area FYm, thus simplifying the arrangement of the movable region setting section 311.
In the map information generating device 100, when there is existing a road PR3 that overlaps with a location-adjusting-annotation character string W71 of a location adjusting annotation Q71 of the leader-character display type for indicating an intersection in the area D as shown in
As an example, the information updating device of the present invention may be applied to an arrangement for updating annotation list data 160 about an annotation Qi of one or two display types selected from the character display type, the symbol-character display type and the leader-character display type. As another example, the information updating device may be applied to annotation list data 160 for showing a positional relationship of features in one scale. As still another example, the information updating device may be applied to any arrangement for updating target object map information for showing various information about a predetermined target object, the target object map information being, for instance: layout drawing information for displaying as a layout drawing various information about various appliances and facilities (target object) located in facilities such as a house and a plant in a manner substantially corresponding to a positional relationship of the various appliances and the like; circuit diagram information for displaying as a circuit diagram various information about parts (target object) included in a circuit in a manner corresponding to a positional relationship of the parts. As further example, the information updating device may be applied to an arrangement for updating the above-described information for printing out the map, the layout drawing or the circuit diagram. The display unit for displaying the map may be applied to an arrangement installed at home or in a plant, without limiting to the one installed in a mobile body. The processors 150 and 310 in the information updating device of the present invention may be independent units.
While the functions described above are realized in the form of programs in the above description, the functions may be realized in any form including hardware such as a circuit board or elements like IC (Integrated Circuit). In view of easy handling and promotion of the use, the functions are preferably stored and read from programs or storing media.
The arrangements and the operating procedures for the present invention may be appropriately modified as long as the scope of the present invention can be attained.
As described above, in the embodiments above, the processor 150 of the map information generating device 100 acquires the annotation data 170 for displaying the location adjusting annotation Qk about, for instance, a feature that is newly built, and sets the locatable position of the location-adjusting-annotation character string Wk of the location adjusting annotation Qk at a position substantially corresponding to a position of the feature of the location-adjusting-annotation character string Wk but not overlapping with the existing annotation Qj. Then, the processor 150 updates the annotation data 170 based on the location state of the location-adjusting-annotation character string Wk and store it in the storage section 130. Thus, when adding a location-adjusting-annotation character string Wk of a new feature to the annotation list data 160 and updating the annotation list data 160, the map information generating device 100 updates the annotation list data 160 so that annotation character strings Wk of features respectively correspond to the positional relationships of the features, but do not overlap with each other. Accordingly, the display unit that displays the positional relationships of the features using the annotation list data 160 can display the annotation character strings Wk in a manner not overlapping with each other without providing a function for adjusting the locatable position of the annotation character strings Wk on the display unit. Since the size of characters constituting the annotation character string Wk is not adjusted, the user can recognize the details of the features more accurately as compared to a conventional arrangement in which the size of the characters is adjusted depending on the number of characters constituting the annotation character string Wk. Since the map information generating device 100 does not delete an annotation character string Wk having existed previously, it dose not generate the annotation list data 160 that does not contain an annotation character string Wk that is useful for the user, unlike conventional arrangement in which the annotation character string Wk having existed previously is deleted. Therefore, the map information generating device 100 can appropriately update the annotation list data 160.
The priority application Number JP2005-150173 upon which this patent application is based is hereby incorporated by reference.
Number | Date | Country | Kind |
---|---|---|---|
2005-150173 | May 2005 | JP | national |