Map area setting device
The map area setting device positions geofence boundaries at nodes, addressing the issue of unintentional entry by prioritizing road types and linear shapes, ensuring accurate and road-aligned geofence settings.
Patent Information
- Application Number
- JP2023054756
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing geofence boundary setting methods often result in unintentional entry into restricted areas due to boundary lines being set in the middle of links, rather than at nodes, making it difficult to accurately position boundaries at desired locations.
A map area setting device that includes boundary line acquisition, intersection obtaining, node selection, and area modification means to ensure boundary lines are positioned at nodes, prioritizing same road types or linear shapes to prevent distortion and unintended entry.
Ensures boundary lines are accurately set at nodes, preventing unintentional entry into restricted areas and maintaining a shape that follows road layouts, thus enhancing the effectiveness of geofence settings.
Smart Images

Figure 2024142571000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a map area setting device for setting an area on a map. [Background technology]
[0002] A geofence function is known in which an administrator sets an arbitrary area (geofence) surrounded by a virtual border on a map, and determines whether people or vehicles enter or leave the set geofence using location information from GPS, etc. Examples of how the geofence function can be used include setting a geofence in a dangerous area in a disaster area and notifying people or vehicles that enter the geofence that it is a dangerous area, setting a geofence in an area where driving is restricted to electric vehicles only and displaying the geofence on a map image displayed on the vehicle's navigation device, notifying vehicles other than electric vehicles that enter the geofence to leave, and controlling hybrid vehicles to switch to EV driving.
[0003] The geofence is generally set by an administrator specifying a boundary line on a map image displayed on a display. For example, Japanese Patent Application Laid-Open No. 2013-16207 discloses a technique for displaying a disaster occurrence location on a map image by inputting disaster occurrence location information by an administrator, as an example of such an operation by the administrator. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2013-16207 A (paragraph 0021) Summary of the Invention [Problem to be solved by the invention]
[0005] Here, for example, if a geofence boundary line is set in the middle of a link as shown in Fig. 11, a vehicle that once entered the link will be forced to enter the geofence unless it makes a U-turn in the middle of the link, even if it has no intention of entering the geofence. Therefore, it is desirable to position the geofence boundary line at a node that is an end point of the link, rather than in the middle of the link. However, when setting the boundary line based on an operation by an administrator as in the above-mentioned Patent Document 1, setting the boundary line so that it is located at a node is an extremely cumbersome task.
[0006] The present invention has been made to solve the above-mentioned problems in the conventional art, and aims to provide a map area setting device that makes it possible to set an area on a map image with the boundary line corrected so that it is located at the node, even if the administrator sets the area boundary line without taking links and nodes into consideration. [Means for solving the problem]
[0007] In order to achieve the above-mentioned object, a first map area setting device according to the present invention comprises a boundary line acquisition means for acquiring a boundary line of an area set on a map image, an intersection acquisition means for acquiring a plurality of intersections between the boundary line and links included in the map image, a node selection means for selecting, for each of the plurality of intersections, one of the nodes at both ends of a link including the intersection, and an area modification means for modifying the area into a new area whose boundary line is a line passing through the node selected for each of the plurality of intersections, and the node selection means preferentially selects nodes that pass through a road of the same road type as the node selected at an adjacent intersection. Note that the "link included in the map image" refers to a link that is included in the map image, regardless of whether it is a link to be displayed on a display, etc. For example, the link may be a link that is a link to be displayed only when the map image is at a predetermined scale or larger. Furthermore, the "same road type" may be roads with the same road name or route number (for example, National Route 1), or roads with the same classification (standard) (for example, expressways, national highways).
[0008] In addition, a second map area setting device according to the present invention has a boundary line acquisition means for acquiring a boundary line of an area set on a map image, an intersection acquisition means for acquiring a plurality of intersections between the boundary line and links included in the map image, a node selection means for selecting one of the nodes at both ends of a link including each of the plurality of intersections, and an area correction means for correcting the area into a new area whose boundary line is a line passing through the nodes selected for each of the plurality of intersections, and the node selection means preferentially selects a node whose shape of the line connecting the nodes selected for each of the plurality of intersections is closest to a straight line shape. Effect of the Invention
[0009] According to the first map area setting device and the second map area setting device of the present invention having the above configuration, even if an administrator sets the boundary line of an area without considering links and nodes, it is possible to set an area on a map image in which the boundary line is corrected to be located at a node. As a result, it is possible to prevent people and cars from unintentionally entering the set area. Furthermore, since the first map area setting device prioritizes nodes that pass through the same road type to be located at the boundary line, it is possible to make the area have a boundary line that follows the road as closely as possible. Furthermore, since the second map area setting device prioritizes nodes that connect lines that are close to a straight line to be located at the boundary line, it is possible to prevent the area from having a distorted shape as much as possible. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a schematic configuration diagram showing a geofence system according to an embodiment of the present invention. [Diagram 2] 2 is a schematic diagram illustrating a management server device and an administrator who manages the management server device; [Diagram 3] FIG. 2 is a block diagram showing a configuration of a management server device according to the present embodiment. [Figure 4] FIG. 2 is a diagram showing an example of registration information stored in a registration information DB. [Diagram 5]11 is a flowchart of a geofence setting processing program according to the present embodiment. [Figure 6] FIG. 13 is a diagram illustrating an operation method for an administrator to set a geofence. [Figure 7] FIG. 11 is a diagram illustrating a method of calculating a priority based on a road type. [Figure 8] 11A and 11B are diagrams illustrating a method of calculating a priority based on an angle formed by a line segment connecting nodes. [Figure 9] FIG. 13 is a diagram illustrating a method of calculating a priority based on a distance to an intersection. [Figure 10] FIG. 13 is a diagram showing an example of a geofence correction. [Figure 11] FIG. 1 is a diagram illustrating problems with the conventional technology. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, a map area setting device according to the present invention will be described in detail with reference to the drawings based on an embodiment embodied in a management server device 1. First, a schematic configuration of a geofence system 2 including a management server device 1 according to this embodiment will be described with reference to Fig. 1. Fig. 1 is a schematic configuration diagram showing the geofence system 2 according to this embodiment.
[0012] As shown in FIG. 1, the geofence system 2 according to this embodiment basically includes a management server device 1 provided in an information management center 3 and a communication terminal 5 carried by a user 4. The management server device 1 and the communication terminal 5 are configured to be able to transmit and receive electronic data to and from each other via a communication network 6. Examples of the communication terminal 5 include a mobile phone, a smartphone, a tablet terminal, a personal computer, and a navigation device that is an in-vehicle device. In the following description, it is assumed that the user 4 is moving by vehicle, but the user 4 may move by a means of transportation other than a vehicle, move on foot, or stay at a location without moving.
[0013] The management server device 1 is a server device that manages the setting of geofences in the geofence system 2 and the sending and receiving of information regarding the set geofences, and is operated by an administrator (operator) 7 that manages the management server device 1 as shown in Figure 2.
[0014] Here, as shown in FIG. 2, the geofence 8 corresponds to an area surrounded by a virtual boundary on the map image 9. For example, by setting the geofence 8 in a dangerous area in a disaster area when a disaster occurs, it is possible to notify a person or vehicle that enters the geofence 8 that it is a dangerous area. Alternatively, by setting the geofence 8 in an area where driving is restricted to electric vehicles only, it is possible to display the geofence 8 on a map image displayed on a navigation device of the vehicle, to notify a vehicle other than an electric vehicle that has entered the geofence 8 to request it to leave, and to perform switching control to EV driving in a hybrid vehicle. In this embodiment, the geofence 8 is set in the management server device 1 based on the operation of the administrator 7 as described later. The details of setting the geofence 8 will be described later.
[0015] In addition, the management server device 1 stores information for identifying the geofence 8 set by the administrator 7 in a DB or the like, and provides (distributes) the information to the communication terminal 5 (user) via the communication network 6 as necessary.
[0016] On the other hand, the communication terminal 5 is an information terminal possessed by the user 4 and equipped with a function of detecting the current position, displaying surrounding map information, and a navigation function of providing travel guidance to a set destination, and examples of such a terminal include a mobile phone, a smartphone, a tablet terminal, a personal computer, and a navigation device that is an in-vehicle device. In particular, when the communication terminal 5 is a terminal capable of executing applications such as a smartphone, an application program that enables the user to receive information related to the geofence 8 and various other information useful to the user is installed as one of the applications.
[0017] For example, when the communication terminal 5 receives information identifying the geofence 8 from the management server device 1, it is possible for the communication terminal 5 to display the geofence 8 on a map image displayed on the communication terminal 5, and to notify the vehicle of the intrusion into the geofence 8 if the vehicle enters the geofence 8. When searching for a route to a destination using the navigation function, it is also possible to search for a route that avoids the geofence 8 (that does not pass through the geofence 8). If the geofence 8 is an area where driving is restricted to electric vehicles only and the vehicle is a hybrid vehicle capable of EV driving, it is also possible for a signal to be sent to the vehicle's ECU when the vehicle enters the geofence 8, causing the vehicle to perform switching control to EV driving. The function of receiving information about these geofences 8 may be a part of a navigation function that provides travel guidance to a destination, or may be executed by an application program different from the navigation function.
[0018] The communication network 6 includes a large number of base stations located throughout the country and communication companies that manage and control each base station, and is configured by connecting the base stations and the communication companies with each other by wire (optical fiber, ISDN, etc.) or wirelessly. Here, the base station has a transceiver (transmitter / receiver) and an antenna for communicating with the communication terminal 5. The base station performs wireless communication between the communication companies, and is also an end of the communication network 6, and plays a role of relaying communication between the communication terminal 5 within the range (cell) that the radio waves of the base station reach and the management server device 1.
[0019] Next, the configuration of the management server device 1 included in the geofence system 2 will be described in more detail with reference to Fig. 3. Fig. 3 is a block diagram showing the configuration of the management server device 1 according to this embodiment.
[0020] As shown in FIG. 3, the management server device 1 basically has a server control unit 11, a map information DB 12 as an information recording means connected to the server control unit 11, a registration information DB 13, a display 14, an operation unit 15, and a center communication device 16.
[0021] The server control unit 11 is a control unit (MCU, MPU, etc.) that controls the entire management server device 1, and includes a CPU 21 as an arithmetic device and control device, a RAM 22 used as a working memory when the CPU 21 performs various arithmetic processing, a ROM 23 in which a geofence setting processing program (FIG. 5) described later and the like are recorded, and an internal storage device such as a flash memory 24 that stores the program read from the ROM 23. The server control unit 11 has various means as processing algorithms. For example, the boundary acquisition means acquires the boundary line of the area set on the map image. The intersection acquisition means acquires multiple intersections between the boundary line and the link included in the map image. The node selection means selects one of the nodes at both ends of the link including the intersection for each of the multiple intersections. The area correction means corrects the area to a new area with a line passing through the node selected for each of the multiple intersections as the boundary line.
[0022] On the other hand, the map information DB 12 is a storage means for storing map information. The map information is composed of various information necessary for route search, route guidance and map display, including a road network. For example, it includes link data 25 related to roads (links), node data 26 related to node points, intersection data related to each intersection, point data related to points such as facilities, map display data for displaying the map, search data for searching for routes, search data for searching for points, etc.
[0023] The link data 25 includes data representing the width, gradient, cant, bank, road surface condition, number of lanes, traffic division for each lane, presence or absence of oncoming traffic lane (whether it is a two-way traffic section or not), presence or absence of a median strip, points where the road width narrows, and railroad crossings for each link constituting the road network; data representing the radius of curvature, intersections, T-junctions, corner entrances and exits for corners; data representing downhill roads, uphill roads, etc. for road attributes; and data representing expressways and general roads (national highways, prefectural roads, narrow streets, etc.) for road types.
[0024] The node data 26 also includes data regarding the coordinates (positions) of actual road branching points (including intersections, T-junctions, etc.) and node points set at predetermined distances on each road depending on the radius of curvature, etc., node attributes indicating whether the node corresponds to an intersection, etc., a connecting link number list which is a list of link numbers of links connecting to the node, an adjacent node number list which is a list of node numbers of nodes adjacent to the node via links, and the height (altitude) of each node point, etc.
[0025] However, the map information DB 12 may be provided in another external server that is communicable with the management server device 1, rather than being provided in the management server device 1. In that case, the management server device 1 acquires map information from the external server through communication as necessary.
[0026] On the other hand, the registration information DB 13 is a storage means for registering information related to the geofence 8 currently set in the management server device 1. Here, the geofence 8 is set by an administrator 7 who manages the management server device 1 operating the operation unit 15 of the management server device 1 as described later. However, the geofence 8 may be set based on information input from outside instead of the operation of the administrator 7.
[0027] FIG. 4 is a diagram showing an example of registration information stored in the registration information DB 13. As shown in FIG. 4, the registration information DB 13 includes the date and time when the geofence 8 was set, the type of the geofence 8, and information specifying the range of the geofence 8. Here, the type of the geofence 8 is information indicating what kind of area the geofence 8 is, and for example, a geofence 8 set in a dangerous area of a disaster area at the time of a disaster is a "dangerous area". Furthermore, a geofence 8 set in an area where driving is restricted only to electric vehicles is an "EV restriction". Furthermore, the information specifying the range of the geofence 8 may be, for example, the coordinate points of a boundary line (the boundary line is formed by connecting each coordinate point), or may be a link number if the boundary line is a link.
[0028] However, it is not necessary to register all of the above information in the registration information DB 13, and for example, only information specifying the range of the geofence 8 may be stored.
[0029] The display 14 is a display device for displaying information outputted from the management server device 1, and may be a liquid crystal display, an organic electroluminescence display, or the like. In particular, in this embodiment, a map image is displayed when setting the geofence 8. Then, the administrator 7 of the management server device 1 can use the map image displayed on the display 14 to specify an area to be set as the geofence 8. Details will be described later.
[0030] The operation unit 15 is operated by the administrator 7 when setting the geofence 8, and is configured with, for example, a keyboard, a mouse, etc. The server control unit 11 controls to execute various corresponding operations based on switch signals output by pressing each switch, etc. The operation unit 15 can also be configured with a touch panel provided on the front surface of the display 14.
[0031] The center communication device 16 is a communication device for communicating with the communication terminal 5 and an external traffic information center such as a VICS (Vehicle Information and Communication System) center via the communication network 6. In this embodiment, information on the geofence 8 is distributed to the communication terminal 5 via the center communication device 16.
[0032] Next, the geofence setting processing program executed by the management server device 1 in the geofence system 2 having the above configuration will be described with reference to Fig. 5. Fig. 5 is a flowchart of the geofence setting processing program according to this embodiment. Here, the geofence setting processing program is executed after the management server device 1 receives a predetermined operation for starting the setting of the geofence 8, and is a program for setting the geofence 8 based on the operation of the administrator 7. The program shown in the flowchart in Fig. 5 below is stored in the RAM 22, ROM 23, etc. provided in the management server device 1, and is executed by the CPU 21.
[0033] First, in step (hereinafter abbreviated as S) 1, the CPU 21 reads map information from the map information DB 12 and displays a map image on the display 14. The area and display scale of the map image to be displayed can be appropriately changed by the operation of the administrator 7. Also, the map information may be obtained from an external server with which communication is possible.
[0034] Next, in S2, the CPU 21 determines whether or not an operation to specify the boundary line of the geofence 8 has been received from the administrator 7. Here, the operation to specify the boundary line of the geofence 8 is, for example, an operation to draw a boundary line 32 on the map image 9 using a mouse pointer 31 as shown in FIG. 6. Another operation may be an operation to similarly draw the boundary line 32 on the map image 9 using a touch panel. In addition, the administrator 7 may specify a plurality of arbitrary points on the map image 9. When a plurality of arbitrary points are specified, a polygon having the specified points as vertices is drawn as the boundary line 32.
[0035] If it is determined that the administrator 7 has accepted an operation to specify the boundary line of the geofence 8 (S2: YES), the process proceeds to S3. On the other hand, if it is determined that the administrator 7 has not accepted an operation to specify the boundary line of the geofence 8 (S2: NO), the geofence setting process program is terminated.
[0036] In S3, the CPU 21 acquires the boundary line of the geofence 8 set on the map image based on the accepted operation. For example, when an operation of drawing a boundary line 32 on the map image 9 using a mouse pointer 31 as shown in Fig. 6 is accepted, the drawn boundary line 32 is acquired as the boundary line of the geofence 8 set on the map image. Note that the boundary line of the geofence 8 acquired in S3 is a provisional boundary line, and is subsequently corrected as necessary (S13).
[0037] Next, in S4, the CPU 21 compares the boundary acquired in S3 with the map image displayed on the display 14, and acquires links (hereinafter referred to as intersecting links) included in the map image that intersect with the boundary acquired in S3, and the intersections between the boundary and the intersecting links. Note that the "links included in the map image" may or may not be links that are displayed on the display 14. That is, in general, links that are displayed on a map image change depending on the scale, and there are links that are displayed only at a predetermined scale or higher, except for some high-standard roads. In S4, even if a link is not displayed on the display 14 at the time when it is determined that the operation to specify the boundary has been accepted in S2, it may be treated as a target of the intersecting link if it is located at a position where it intersects with the boundary. On the other hand, the target of the intersecting links may be limited to only links that are displayed on the display 14 at the time when it is determined that the operation to specify the boundary has been accepted in S2.
[0038] The following steps S5 to S12 are performed for each intersection point acquired in S4. For example, the intersection point to be processed is switched clockwise (or counterclockwise) along the boundary line acquired in S3, and after steps S5 to S12 have been performed for all intersection points acquired in S4, the process proceeds to S13. However, if an intersection point is located in a node, the steps S5 to S11 are not necessary for that intersection point, and the node where the intersection point is located is selected in S12.
[0039] First, in S5, the CPU 21 acquires, from the map information, nodes located at both ends of the intersecting link that includes the intersection point to be processed (the start point and the end point of the intersecting link).
[0040] Furthermore, the following processes of S6 to S11 are performed for each node acquired in S5. Then, after the processes of S6 to S11 are performed for all nodes acquired in S5 (start points and end points of intersecting links), the process proceeds to S12.
[0041] In S6, the CPU 21 determines whether the node to be processed passes through a road of the same road type as the node already selected in S12, with the adjacent intersection as the target. Here, as described above, in the processes of S5 to S12, the intersection to be processed is switched clockwise (or counterclockwise) along the boundary acquired in S3. The adjacent intersection is the intersection that was the target of the previous process. For example, in the example shown in FIG. 7, there are P, Q, and R as intersections where the boundary 32 acquired in S3 intersects with the cross link, and the processes of S5 to S12 are executed in the order of P → Q → R. Therefore, if the nodes to be processed in S6 are Q1 and Q2 located at both ends of the cross link including the intersection Q, it is determined whether Q1 and Q2 pass through the same road type as the node selected in S12, with the intersection P as the target. For example, if the node P1 is selected in the process with the intersection P as the target, the node Q1 passes through a road of the same road type as P1, and therefore the result is YES. On the other hand, node Q2 does not pass through a road of the same road type as P1, so the result is NO.
[0042] If it is determined that the node to be processed passes through a road of the same road type as the node selected in S12 for the adjacent intersection (S6: YES), the road type flag associated with the node to be processed is turned ON (S7). On the other hand, if it is determined that the node to be processed does not pass through a road of the same road type as the node selected in S12 for the adjacent intersection (S6: NO), the road type flag associated with the node to be processed is turned OFF (S8).
[0043] Next, in S9, the CPU 21 calculates the angle between the line segments that connect the nodes already selected in S12, with the node being the processing target being the neighboring intersections. Here, as described above, in the processing of S5 to S12, the intersections to be processed are switched clockwise (or counterclockwise) along the boundary acquired in S3. The neighboring intersections are the intersections that were processed in the previous and previous processing. For example, in the example shown in FIG. 8, there are P, Q, and R as intersections where the boundary 32 acquired in S3 intersects with the cross link, and the processing of S5 to S12 is executed in the order of P→Q→R. Therefore, for example, in a state where P1 is selected in the processing for the intersection P and Q1 is selected in the processing for the intersection Q, if the node being processed in S9 is R1, the angle θ1 between the line segment connecting P1 and Q1 and the line segment connecting P1 and R1 is calculated. On the other hand, if the node to be processed in S9 is R2, the angle θ2 between the line segment connecting P1 and Q1 and the line segment connecting P1 and R2 is calculated.
[0044] Thereafter, in S10, the CPU 21 calculates the distance from the intersection to the node to be processed. For example, as shown in Fig. 9, if the node to be processed in S10 is R1, the distance L1 from the intersection R to the node R1 is calculated. On the other hand, if the node to be processed in S10 is R2, the distance L2 from the intersection R to the node R2 is calculated.
[0045] Next, in S11, the CPU 21 calculates the priority of selecting the node to be processed as a passing target of the boundary line of the geofence 8. Specifically, the calculation is performed by the following formula (1). Priority = road type flag × road coefficient + (1 / angle) × angle coefficient + (1 / distance to intersection) × distance coefficient (1) Here, the "road coefficient", "angle coefficient", and "distance coefficient" are coefficients for adjusting which of the road type, angle, and distance is to be prioritized when calculating the above priority. For example, if the road type is to be prioritized, the "road coefficient" is made larger than the other coefficients, if the angle is to be prioritized, the "angle coefficient" is made larger than the other coefficients, and if the distance is to be prioritized, the "distance coefficient" is made larger than the other coefficients.
[0046] In addition, the "road type flag" in the above formula (1) is set to "1" if the road type flag is ON in S7, and is set to "0" if the road type flag is OFF in S8. Therefore, a higher priority is calculated for a node that passes through a road of the same road type as the node selected at the adjacent intersection. The "angle" in the above formula (1) is the angle (rad) calculated in S9. Therefore, a higher priority is calculated for a node where the shape of the line connecting the nodes selected for each intersection is closer to a straight line (the angle between the line segments connecting the nodes is smaller). Moreover, the "distance to the intersection" in the above formula (1) is the distance (m) calculated in the above step S10. Therefore, a higher priority is calculated for a node that is closer to the intersection.
[0047] Then, after the priorities are calculated for all the nodes (start points and end points of the intersecting links) acquired in S5, the process proceeds to S12.
[0048] In S12, the CPU 21 compares the priorities calculated in S11 for the nodes obtained in S5, and selects the node with the higher priority among the nodes corresponding to the start and end points of the intersecting link as the target for passing through the boundary line of the geofence 8.
[0049] Then, after the node selection in S12 is performed for all the intersections acquired in S4, the process proceeds to S13.
[0050] In S13, the CPU 21 sets a line connecting the nodes selected in S12 in order for each intersection acquired in S4 as a boundary line, and sets the area surrounded by the boundary line as a new geofence 8. The order of connecting is the order of the intersections processed in S5 to S12. If the nodes to be connected are connected by a link, they are connected along the link, and if the nodes are not connected by a link, they are connected by the shortest distance.
[0051] The geofence 8 newly set in S13 is modified from the geofence 8 initially provisionally set in S3. Specifically, as shown in FIG. 10, the geofence 8 before modification is an area arbitrarily specified by the administrator, so the boundary line 32 is not necessarily located on the node, and may be located in the middle of the link. On the other hand, the geofence 8 after modification is an area surrounded by the boundary line 32 connecting the nodes, so the boundary line 32 is basically located on the node and is not located in the middle of the link. Therefore, as shown in FIG. 11, it is possible to prevent people and cars from unintentionally entering the geofence 8.
[0052] Thereafter, the management server device 1 stores information identifying the geofence 8 that was finally corrected and set in S13 in the registration information DB13 (Figure 4), and provides (distributes) it to the communication terminal 5 (user) via the communication network 6 as necessary.
[0053] On the other hand, when the communication terminal 5 receives information identifying the geofence 8 from the management server device 1, it is possible for the communication terminal 5 to display the geofence 8 on the map image displayed on the communication terminal 5, and to notify the vehicle of the intrusion into the geofence 8 if the vehicle enters the geofence 8. When searching for a route to a destination using the navigation function, it is also possible to search for a route that avoids the geofence 8 (that does not pass through the geofence 8). If the geofence 8 is an area where driving is restricted to electric vehicles only and the vehicle is a hybrid vehicle capable of EV driving, it is also possible for a signal to be sent to the vehicle's ECU when the vehicle enters the geofence 8, causing the vehicle to perform switching control to EV driving.
[0054] As described above in detail, in the management server device 1, the geofence system 2, and the computer program executed by the management server device 1 according to the present embodiment, the boundary line of the area set on the map image is acquired (S3), multiple intersections between the boundary line and the links included in the map image are acquired (S4), one of the nodes at both ends of the link including the intersection is selected for each of the multiple intersections (S5 to S12), and the area is modified to a new area with the line passing through the selected node for each of the multiple intersections as the boundary line (S13). In particular, in the selection of the node, the node passing through the road of the same road type as the node selected at the adjacent intersection is selected with priority (S11, S12). Therefore, even if the administrator sets the boundary line of the area without considering the links and nodes, it is possible to set the modified area on the map image so that the boundary line is located at the node. As a result, it is possible to prevent people and cars from unintentionally entering the set area. Furthermore, since the node passing through the same road type is preferentially positioned on the boundary line, it is possible to set the area with the boundary line along the road as much as possible. Also, the boundary line of the area set on the map image is acquired (S3), multiple intersections between the boundary line and the links included in the map image are acquired (S4), one of the nodes at both ends of the link including the intersection is selected for each of the multiple intersections (S5-S12), and the area is modified to a new area with a line passing through the selected node for each of the multiple intersections as the boundary line (S13), and in particular, when selecting the node, the node that the shape of the line connecting the selected nodes for each of the multiple intersections is closest to a straight line is selected with priority (S11, S12), so that even if the administrator sets the boundary line of the area without considering the links and nodes, it is possible to set the area on the map image with the boundary line corrected to be located at the node. Furthermore, the node that the shape of the connecting line is closest to a straight line is placed with priority on the boundary line, so that the area can be prevented from becoming distorted as much as possible. In addition, since a node located close to each of a plurality of intersections is preferentially selected, the area can be corrected so that the boundary line is located at the node, and the area can be made as close as possible to the shape originally set by the administrator. In addition, the operator specifies the boundary line of the area on the displayed map image based on his / her operation, and the specified boundary line is acquired as the boundary line of the area (S3), so that the operator can easily set the area he / she desires based on his / her operation.
[0055] Incidentally, the present invention is not limited to the above-described embodiment, and it is needless to say that various improvements and modifications are possible without departing from the spirit and scope of the present invention. For example, in the present embodiment, an example in which a geofence is set has been described, but the area is not limited to a geofence as long as it is an area set on a map image.
[0056] In the present embodiment, when the administrator first performs an operation to set a geofence in S3, a map image is displayed on the display 14 and the geofence is set on the displayed map image, but the map image does not necessarily need to be displayed when setting a geofence. For example, a geofence may be set in a corresponding area by inputting latitude and longitude or a place name. In addition, in S3, the geofence may be set based on data input from outside, rather than based on the administrator's operation. For example, when the location of a disaster is input from a server that manages an external disaster, it is possible to set a geofence within 1 km of the location of the disaster. [Explanation of symbols]
[0057] 1: Management server device, 2: Geofence system, 3: Information management center, 4: User, 5: Communication terminal, 6: Communication network, 7: Administrator, 8: Geofence, 9: Map image, 11: Server control unit, 12: Map information DB, 13: Registration information DB, 14: Display, 15: Operation unit, 32: Boundary
Claims
1. a boundary line acquisition means for acquiring a boundary line of an area set on a map image; an intersection point acquisition means for acquiring a plurality of intersection points between the boundary line and a link included in the map image; a node selection means for selecting, for each of the plurality of intersections, one of the nodes located at both ends of a link including the intersection; and an area correction means for correcting the area into a new area having a boundary line passing through the nodes selected for each of the plurality of intersections, The node selection means preferentially selects nodes that pass through roads of the same road type as the node selected at the adjacent intersection.
2. a boundary line acquisition means for acquiring a boundary line of an area set on a map image; an intersection point acquisition means for acquiring a plurality of intersection points between the boundary line and a link included in the map image; a node selection means for selecting, for each of the plurality of intersections, one of the nodes located at both ends of a link including the intersection; and an area correction means for correcting the area into a new area having a boundary line passing through the nodes selected for each of the plurality of intersections, The node selection means is a map area setting device that preferentially selects a node such that a line connecting the nodes selected for each of the plurality of intersections has a shape that is closest to a straight line.
3. 3. The map area setting device according to claim 1, wherein the node selection means selects, for each of the plurality of intersections, a node located close to the intersection with priority.
4. an image display means for displaying a map image; a boundary designation means for designating a boundary line of an area on the map image displayed by the image display means based on an operation by an operator; 3. The map area setting device according to claim 1, wherein the boundary line acquisition means acquires the boundary line designated by the boundary line designation means as the boundary line of the area.
Citation Information
Patent Citations
Disaster report information display
JP2013016207A
