Mobile mapping applications, e.g., mapping applications for execution on mobile devices such as global positioning system (GPS)-based devices, are often executed on computer-based platforms having a slower central processing unit (CPU) and limited memory in comparison to desktop computer-based platforms. Upfront knowledge of mobile mapping application resource requirements, e.g., CPU speed, memory space, etc., enables better use of the limited resources available on the computer-based platforms, improves performance of the application and provides an improved user experience during interaction with the application.
In mobile mapping applications, many spatial operations, e.g., map display, nearest search and street routing, depend on map density. Map density refers to the amount of information and/or features displayed on a given area of a displayed map. For example, it is not desirable to have too crowded map views which reduce screen readability and increase the time to update the view. At the same time, it is not desirable to have map views with very few features and which do not provide enough navigation information. The problem can be critical for mobile devices having small screens.
The map display detail level, i.e., the amount of features displayed, at a given scale is defined either in the application software or the map database. Users may be provided with a mechanism to manually adjust the map display detail level. In such situations, the setting is constant everywhere in a given map. In reality, the density of a given feature type is not evenly distributed around the world, e.g., there are many more roads per square mile in urban areas than in rural areas. The non-uniformity of feature density increases map developers difficulty in designing map views which work well both in urban areas and rural areas.
Prior approaches predefine at the time of map creation which class of features is displayed at different scales. Because the class of features is predefined for the entire map, by its nature it has to be an average and may be too dense or too sparse for some regions of the map. To adjust these possible mismatches of density, the user is provided with a user interface (UI) that allows the user to change which class of features is displayed at a particular level. Therefore, when the user is dissatisfied with the feature density displayed on the map at a particular location at a particular zoom level, the user can manipulate the UI and change the display level explicitly to be more or less dense.
The prior approach is extremely cumbersome for users especially if a mapping device is used while driving, biking, or any other similar activity when the user's hands and attention may be occupied.
Street routing algorithms also suffer from a non-uniformity of feature density. Street routing may be based on a type of greedy algorithm in which roads are divided into several function classes depending on the importance of the roads, e.g., surface roads, highways, etc. Roads in a given function class and all higher level function classes comprise a connected road network. In order to quickly find a street route between two far away points, a route search engine needs to only examine important roads, e.g., freeways, as soon as possible. In order to maintain route quality, such jumps from local streets to major roads such as highways and freeways have to meet some criteria. Prior approaches predefine the criteria constant everywhere in a given map thereby making the routing algorithm impossible to generate street routes with optimal quality and search time in both urban and rural areas.
In another case, personal navigation devices usually have a nearest (proximity) search function, which allow users to find specific types of objects near a reference point (e.g., the current position). Feature density varies by location and feature type. If a predefined search radius is used, the nearest search function may yield no result, too many results, or take too much time. Even if the search radius is adjusted based on search results, each search iteration can take significant time.
It is, therefore, an object of the present invention to resolve one or more of the foregoing difficulties by providing a method that automatically keeps the similar density of the displayed map features by deciding in real time which features should be displayed at a given location and zoom level.
This auto adjustment may be achieved by efficiently estimating in real time map density for different possible combination of map features and displaying the best found feature combination.
These and other objects of the present invention are achieved by a method of determining density of a map comprising: determining one or more nodes of a quad tree applied to a map with which a predetermined query region intersects, calculating a cumulative data size of the query region based on a data size of the one or more intersecting nodes; and determining a density of the query region based on the query region area and the cumulative data size.
The foregoing and other objects of the invention are achieved by a mobile computer device for determining density of a map, the device comprising: a processor; a memory communicatively coupled with the processor and comprising a set of instructions which, when executed by the processor, cause the processor to: determine one or more nodes of a quad tree applied to a map with which a predetermined query region intersects, calculate a cumulative data size of the query region based on a data size of the one or more intersecting nodes, and determine a density of the query region based on the query region area and the cumulative data size.
The foregoing and other objects of the invention are achieved by a computer-readable medium storing instructions which, when executed by a processor, cause the processor to determine one or more nodes of a quad tree applied to a map with which a predetermined query region intersects, calculate a cumulative data size of the query region based on a data size of the one or more intersecting nodes, and determine a density of the query region based on the query region area and the cumulative data size.
Still other objects and advantages of the present invention will become readily apparent to those skilled in the art from the following detailed description, wherein the preferred embodiments of the invention are shown and described, simply by way of illustration of the best mode contemplated of carrying out the invention. As will be realized, the invention is capable of other and different embodiments and its several details are capable of modifications in various obvious respects, all without departing from the invention. Accordingly, the drawings and description thereof are to be regarded as illustrative in nature, and not as restrictive.
The present invention is illustrated by way of example, and not by limitation, in the figures of the accompanying drawings, wherein elements having the same reference numeral designations represent like elements throughout and wherein:
a-c are diagrams of exemplary quad trees according to an embodiment;
A method and an apparatus for estimating map density are described along with automatically retaining a similar density of displayed map features by adjusting in real time visible features at a given location and zoom level. Methods automatically adjusting street routing and nearest (proximity) search are also described. In at least some embodiments, the adjustment of map display density, street routing and nearest search may be performed in an optimal and/or efficient manner. In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, that the present invention may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form in order to avoid unnecessarily obscuring the present invention.
One or more embodiments according to the present invention provide a method for automatically retaining a similar density of displayed map features by determining in real time which features should be displayed at a given location and zoom level. The automatic adjustment is performed, at least in part, by efficiently estimating map density for different possible combinations of map features and displaying a feature combination at or above a predetermined level. For example, different features as depicted in
1. Estimation of Map Density
One or more embodiments according to the present invention are based on the fact that many mapping systems use quad trees as a spatial index to speed up spatial queries. A quad tree is a tree-type data structure wherein each node of the tree comprises up to four child nodes in order to enable recursive partitioning of a two dimensional space, e.g., subdividing a space into four quadrants. In at least some embodiments, the nodes of a quad tree may be a different shape, e.g., squares, diamonds, parallelepipeds, etc.
a depicts a first level of a quad tree, i.e., a root node 1300 of the tree covering an entire mapping layer.
With the spatial index, all spatial objects are organized into a list of quads or cells with different spatial size and locations. Each quad comprises a group of objects. The quad also retains the size of the object data and/or the number of objects.
A spatial query, e.g., finding all objects intersecting with a rectangle, starts with first finding all quads intersecting with the rectangle. In at least some embodiments, user input, e.g., via a display and/or voice or other input mechanism, is received to determine a query rectangle. In at least some embodiments, the query rectangle may be determined based on a given map display and/or traversal of a path. Without checking individual objects, this operation is relatively fast. Prior to performing any spatial operations, all quads intersecting with a query rectangle may be determined and the data size within the query rectangle may be estimated with the process set forth in pseudo-code form in Listing 1.
To obtain best performance, integers are used to calculate the data size of quads partially overlapping with the QueryRectangle. Mapping systems with a spatial index already have the function to find all quads intersecting with query rectangles.
After the size within a query rectangle is estimated, the size is used as the indicator of average map density inside the query rectangle. The size is relevant to the database coding schema, and the resolution of the map data. For a particular database format, experiments may be performed to set thresholds used to adjust spatial operations based on the size information. For the same database format, parameters may be set in different databases to fine tune the thresholds further.
If the outcome of function 804 is positive (YES), the flow proceeds to increment function 806 and the size is incremented by the size of the quad, e.g., an area value. If the outcome of function 804 is negative (NO), the flow proceeds to increment function 808 and the size is incremented by the size of the quad multiplied by the intersecting area divided by the quad area, e.g., the size is incremented by an amount proportional to the amount of overlap of the intersecting area.
After either of increment function 806, 808, the flow proceeds to complete determination function 810. Complete determination function 810 determines whether all quads intersecting the QueryRectangle have been included in the size determination. If the outcome of complete determination function 810 is positive (YES), the flow proceeds to return size function 802. If the outcome of complete determination function 810 is negative (NO), the flow proceeds to function 804 and evaluation of the next quad is performed as described above.
In at least some embodiments, after completion of the process flow portion 800, the determined size may be output to a memory, e.g., memory 1206, a register of processor 1204, etc., and/or an output device, e.g., a display 1208, a printer, another computer, etc.
2. Automatically Adjust Detail Level on Map Display
The above-described function estimates the map data size within a screen rectangle. With the present function, the pseudo-code of Listing 2 describes a process of adjusting detail level on the map screen.
If the current map density exceeds the predetermined maximum map density (positive outcome or YES), the flow proceeds to adjustment function 904. In adjustment function 904, the detail level and/or map layer visibilities may be adjusted to reduce the map density. In some embodiments, the detail levels or visibility of layers to be adjusted, may be predetermined at map creation. The flow then proceeds to return to estimate data size function 800.
If the current map density does not exceed the predetermined maximum map density (negative outcome or NO), the flow proceeds to minimum comparison determination function 906 wherein the current map density is compared with a predetermined minimum map density. In one or more embodiments, additional comparisons may be made in comparison function 906, e.g., as indicated in Listing 2 a comparison of the number of iterations performed in portion 900 with respect to a maximum number of iterations to be performed for a given map.
If the current map density falls below the predetermined minimum map density (positive outcome or YES), the flow proceeds to adjustment function 904. In adjustment function 904, the detail level and/or map layer visibilities may be adjusted to increase the map density. In some embodiments, the detail levels or visibility of layers to be adjusted, may be predetermined at map creation. The flow then proceeds to return to estimate data size function 800 with the newly adjusted map detail level and/or layer visibility.
If the current map density exceeds the predetermined minimum map density (negative outcome or NO), the flow proceeds to draw map function 908 wherein the map is drawn on a display screen.
3. Automatically Adjust Street Routing Algorithm
The functionality described in Listing 1 estimates the density of one or more selected map layers at a specific location. Adjusting the street routing criteria based on urban or rural areas based on map density, the routing performance and route quality may be significantly improved.
The pseudo-code of Listing 3 describes a process of automatically adjusting a street routing algorithm.
If the current map density exceeds the predetermined minimum urban density (positive outcome or YES), the flow proceeds to urban route search function 1004. In urban route search function 1004, a route based on a user-determined and/or mobile device-determined source and destination is determined based on criteria for urban areas. Examples of such criteria comprise the minimal search distance before jumping to highways or freeways and estimated (heuristic) distance from current position to destination.
If the current map density does not exceed the predetermined minimum urban density (negative outcome or NO), the flow proceeds to rural route search function 1006 with criteria for rural areas. In rural route search function 1006, a route based on a user-determined and/or mobile device-determined source and destination is determined based on criteria for rural areas. Examples of such criteria comprise the minimal search distance before jumping to highways or freeways and estimated (heuristic) distance from current position to destination.
After a route is determined based on either of search rural route function 1006 and search urban route function 1004, the flow proceeds to return function 1008 and execution proceeds to perform other tasks.
4. Auto Adjustment of Nearest Search
With the data size estimate function 800 described in Listing 1, the search radius of nearest search may be adjusted automatically before the actual search is performed. This improves search performance and search result quality.
The pseudo-code of Listing 4 describes a process of automatically adjusting a nearest search algorithm.
If the current map data size does not exceed the predetermined minimum data size (negative outcome or NO), the flow proceeds to enlarge radius function 1104 wherein the search circle is increased in diameter, e.g., multiplied by 2. The QueryRectangle bounding the search circle is enlarged accordingly. The flow proceeds to estimate data size function 800 as described above with respect to
If the current data size exceeds the predetermined minimum data size (positive outcome or YES), the flow proceeds to nearest search function 1106 wherein a search of objects within the determined radius is performed. The flow then proceeds to return function 1108 and execution proceeds to perform other tasks.
Computer system 1200 is coupled via bus 1202 to display 1208, such as a liquid crystal display (LCD) or other display technology, for displaying information to the user. Input device 1210, described above, is coupled to bus 1202 for communicating information and command selections to the processor 1204.
According to one embodiment, computer system 1200 operates in response to processor 1204 executing sequences of instructions contained in memory 1206 or communication interface 1212. Such instructions may be read into memory 1206 from a computer-readable medium or communication interface 1212.
Execution of the sequences of instructions contained in memory 1206 causes the processor 1204 to perform the process steps described above. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with computer software instructions to implement the embodiments. Thus, embodiments are not limited to any specific combination of hardware circuitry and software.
Computer system 1200 also includes a communication interface 1212 coupled to the bus 1202. Communication interface 1212 provides two-way data communication. For example, communication interface 1212 may be a wireless communication link. In any such implementation, communication interface 1212 sends and receives electrical, electromagnetic or optical signals which carry digital data streams representing various types of information.
Network link 1214 typically provides data communication through one or more networks to other devices. For example, network link 1214 may provide a connection through communication network 1216 to computer system 1200 or to data equipment operated by a service provider. The signals through the various networks and the signals on network link 1214 and through communication interface 1212, which carry the digital data to and from computer system 1200, are exemplary forms of carrier waves transporting the information.
Computer system 1200 can send messages and receive data, including program code, through the network(s), network link 1214 and communication interface 1212. Received code may be executed by processor 1204 as it is received, and/or stored in memory 1206 for later execution. In this manner, computer system 1200 may obtain application code in the form of a carrier wave.
It will be readily seen by one of ordinary skill in the art that the disclosed embodiments fulfill one or more of the advantages set forth above. After reading the foregoing specification, one of ordinary skill will be able to affect various changes, substitutions of equivalents and various other embodiments as broadly disclosed herein. It is therefore intended that the protection granted hereon be limited only by the definition contained in the appended claims and equivalents thereof.
Number | Name | Date | Kind |
---|---|---|---|
5515283 | Desai et al. | May 1996 | A |
5802492 | DeLorme et al. | Sep 1998 | A |
5926118 | Hayashida et al. | Jul 1999 | A |
6049755 | Lou et al. | Apr 2000 | A |
6067502 | Hayashida et al. | May 2000 | A |
6078864 | Long et al. | Jun 2000 | A |
6081609 | Narioka | Jun 2000 | A |
6084989 | Eppler | Jul 2000 | A |
6092076 | McDonough et al. | Jul 2000 | A |
6107944 | Behr et al. | Aug 2000 | A |
6108603 | Karunanidhi | Aug 2000 | A |
6108604 | Fukaya et al. | Aug 2000 | A |
6115669 | Watanabe et al. | Sep 2000 | A |
6124826 | Garthwaite et al. | Sep 2000 | A |
6125326 | Ohmura et al. | Sep 2000 | A |
6141621 | Piwowarski et al. | Oct 2000 | A |
6148261 | Obradovich et al. | Nov 2000 | A |
6151552 | Koizumi et al. | Nov 2000 | A |
6154699 | Williams | Nov 2000 | A |
6163269 | Millington et al. | Dec 2000 | A |
6172641 | Millington | Jan 2001 | B1 |
6175801 | Millington | Jan 2001 | B1 |
6177943 | Margolin | Jan 2001 | B1 |
6178380 | Millington | Jan 2001 | B1 |
6184823 | Smith et al. | Feb 2001 | B1 |
6189130 | Gofman et al. | Feb 2001 | B1 |
6201540 | Gallup et al. | Mar 2001 | B1 |
6204778 | Bergan et al. | Mar 2001 | B1 |
6205397 | Eslambolchi et al. | Mar 2001 | B1 |
6212474 | Fowler et al. | Apr 2001 | B1 |
6223118 | Kobayashi et al. | Apr 2001 | B1 |
6229546 | Lancaster et al. | May 2001 | B1 |
6249740 | Ito et al. | Jun 2001 | B1 |
6253151 | Ohler et al. | Jun 2001 | B1 |
6256029 | Millington | Jul 2001 | B1 |
6278942 | McDonough | Aug 2001 | B1 |
6308134 | Croyle et al. | Oct 2001 | B1 |
6320517 | Yano et al. | Nov 2001 | B1 |
6321158 | DeLorme et al. | Nov 2001 | B1 |
6349257 | Liu et al. | Feb 2002 | B1 |
6356210 | Ellis | Mar 2002 | B1 |
6360167 | Millington et al. | Mar 2002 | B1 |
6362751 | Upparapalli | Mar 2002 | B1 |
6363322 | Millington | Mar 2002 | B1 |
6370475 | Breed et al. | Apr 2002 | B1 |
6377278 | Curtright et al. | Apr 2002 | B1 |
6381536 | Satoh et al. | Apr 2002 | B1 |
6385535 | Ohishi et al. | May 2002 | B2 |
6385542 | Millington | May 2002 | B1 |
6397145 | Millington | May 2002 | B1 |
6405130 | Piwowarski | Jun 2002 | B1 |
6408243 | Yofu | Jun 2002 | B1 |
6427115 | Sekiyama | Jul 2002 | B1 |
6430501 | Slominski | Aug 2002 | B1 |
6453235 | Endo et al. | Sep 2002 | B1 |
6484089 | Millington | Nov 2002 | B1 |
6487494 | Odinak et al. | Nov 2002 | B2 |
6515595 | Obradovich et al. | Feb 2003 | B1 |
6529822 | Millington et al. | Mar 2003 | B1 |
6529824 | Obradovich et al. | Mar 2003 | B1 |
6539301 | Shirk | Mar 2003 | B1 |
6542814 | Polidi et al. | Apr 2003 | B2 |
6565610 | Wang et al. | May 2003 | B1 |
6574551 | Maxwell et al. | Jun 2003 | B1 |
6609062 | Hancock | Aug 2003 | B2 |
6631322 | Arthur et al. | Oct 2003 | B1 |
6662105 | Tada et al. | Dec 2003 | B1 |
6671617 | Odinak et al. | Dec 2003 | B2 |
6704649 | Miyahara | Mar 2004 | B2 |
6728608 | Ollis et al. | Apr 2004 | B2 |
6728636 | Kokijima et al. | Apr 2004 | B2 |
6748323 | Lokshin et al. | Jun 2004 | B2 |
6765554 | Millington | Jul 2004 | B2 |
6774932 | Ewing | Aug 2004 | B1 |
6782319 | McDonough | Aug 2004 | B1 |
6816596 | Peinado et al. | Nov 2004 | B1 |
6819301 | Nagamatsu et al. | Nov 2004 | B2 |
6842695 | Tu | Jan 2005 | B1 |
6873907 | Millington et al. | Mar 2005 | B1 |
6885874 | Grube et al. | Apr 2005 | B2 |
6917982 | Dueck et al. | Jul 2005 | B1 |
6938028 | Ito | Aug 2005 | B1 |
7031834 | Ito et al. | Apr 2006 | B2 |
7031836 | Branch | Apr 2006 | B2 |
7058504 | McDonough | Jun 2006 | B2 |
7170518 | Millington et al. | Jan 2007 | B1 |
7233860 | Lokshin et al. | Jun 2007 | B2 |
7260475 | Suzuki | Aug 2007 | B2 |
7321826 | Sheha et al. | Jan 2008 | B2 |
7333820 | Sheha et al. | Feb 2008 | B2 |
7343242 | Breitenberger et al. | Mar 2008 | B2 |
7353107 | Breitenberger et al. | Apr 2008 | B2 |
7379812 | Yoshioka et al. | May 2008 | B2 |
7421334 | Dahlgren | Sep 2008 | B2 |
7512487 | Golding et al. | Mar 2009 | B1 |
7546202 | Oh | Jun 2009 | B2 |
7590490 | Clark | Sep 2009 | B2 |
20010018628 | Jenkins et al. | Aug 2001 | A1 |
20020151315 | Hendrey | Oct 2002 | A1 |
20030036842 | Hancock | Feb 2003 | A1 |
20030036848 | Sheha et al. | Feb 2003 | A1 |
20030167120 | Kawasaki | Sep 2003 | A1 |
20030182052 | DeLorme et al. | Sep 2003 | A1 |
20030191578 | Paulauskas et al. | Oct 2003 | A1 |
20040049337 | Knockeart et al. | Mar 2004 | A1 |
20050107948 | Catalinotto | May 2005 | A1 |
20060080031 | Cooper et al. | Apr 2006 | A1 |
20060089788 | Laverty | Apr 2006 | A1 |
20060106534 | Kawamata et al. | May 2006 | A1 |
20060212217 | Sheha et al. | Sep 2006 | A1 |
20060265422 | Ando et al. | Nov 2006 | A1 |
20070027628 | Geelen | Feb 2007 | A1 |
20070073480 | Singh | Mar 2007 | A1 |
20070088494 | Rothman et al. | Apr 2007 | A1 |
20070130153 | Nachman et al. | Jun 2007 | A1 |
20070204218 | Weber et al. | Aug 2007 | A1 |
20070213929 | Tanizaki et al. | Sep 2007 | A1 |
20070233384 | Lee et al. | Oct 2007 | A1 |
20080010605 | Frank | Jan 2008 | A1 |
20080076451 | Sheha et al. | Mar 2008 | A1 |
20080125958 | Boss et al. | May 2008 | A1 |
20080133120 | Romanick | Jun 2008 | A1 |
20080134088 | Tse et al. | Jun 2008 | A1 |
20080177470 | Sutardja | Jul 2008 | A1 |
20080228754 | Frank et al. | Sep 2008 | A1 |
20080270016 | Proietty et al. | Oct 2008 | A1 |
20090138190 | Kulik | May 2009 | A1 |
20090150064 | Geelen | Jun 2009 | A1 |
20090171584 | Liu | Jul 2009 | A1 |
20090182498 | Seymour | Jul 2009 | A1 |
20090182500 | Dicke | Jul 2009 | A1 |
20090187340 | Vavrus | Jul 2009 | A1 |
20090187341 | Vavrus | Jul 2009 | A1 |
20090187342 | Vavrus | Jul 2009 | A1 |
Number | Date | Country |
---|---|---|
2017577 | Jan 2009 | EP |
02140788 | May 1990 | JP |
2001194172 | Jul 2001 | JP |
2002048574 | Feb 2002 | JP |
2006250875 | Sep 2006 | JP |
2007155582 | Jun 2007 | JP |
2007178182 | Jul 2007 | JP |
2008002978 | Jan 2008 | JP |
19990011004 | Feb 1999 | KR |
19990040849 | Jun 1999 | KR |
20020084716 | Nov 2002 | KR |
20040106688 | Dec 2004 | KR |
20070080726 | Aug 2007 | KR |
Number | Date | Country | |
---|---|---|---|
20080270468 A1 | Oct 2008 | US |