WO2006027773A2 - Placement of map labels - Google Patents

Placement of map labels Download PDF

Info

Publication number
WO2006027773A2
WO2006027773A2 PCT/IL2005/000892 IL2005000892W WO2006027773A2 WO 2006027773 A2 WO2006027773 A2 WO 2006027773A2 IL 2005000892 W IL2005000892 W IL 2005000892W WO 2006027773 A2 WO2006027773 A2 WO 2006027773A2
Authority
WO
WIPO (PCT)
Prior art keywords
subtask
label
real
candidate positions
candidate
Prior art date
Application number
PCT/IL2005/000892
Other languages
French (fr)
Other versions
WO2006027773A3 (en
Inventor
Efraim Fogel
Eran Leiserowitz
Michael Menachem Kupferman
Alexander E. Fagin
Original Assignee
Telmap Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Telmap Ltd. filed Critical Telmap Ltd.
Publication of WO2006027773A2 publication Critical patent/WO2006027773A2/en
Publication of WO2006027773A3 publication Critical patent/WO2006027773A3/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/36Input/output arrangements for on-board computers
    • G01C21/3667Display of a road map
    • G01C21/3673Labelling using text of road map data items, e.g. road names, POI names

Definitions

  • This invention relates to map display systems and methodologies. More particularly, this invention relates to the near optimum placement of cartographic labels.
  • Map labeling involves determining a near optimal placement of labels that identify various cartographic fea- tures.
  • there are requirements to label points such as cities, lines such as rivers or political borders, and areal features such as swamps, parks or forests.i
  • the art of cartography has a long history, and label placement, being part of this art, does not fall short. For many centu- ries, cartographers have devised some general rules that a well-formed label placement must follow. Labels must be posi ⁇ tioned such that they are legible and follow aesthetic quality criteria. A label must be placed in the best position among all legible positions.
  • Labels should, in spite of their incorpora- tion into densely crowded graphics of the map, be easily read, easily discriminated from other labels, and quickly located.
  • the label must permit associativity. That is, the label and the object to which it belongs should be easily associated. A prin ⁇ ciple of noninterference must be observed. Labels should dis- turb other map contents as little as possible. Finally, labels should assist the reader to identify spatial situations, terri ⁇ torial extent, connections, importance, and to differentiate objects.
  • NLP node label placement problem
  • ELP edge label placement problem
  • GFLP graphical feature label placement problem
  • Each label should be placed relative to its feature in the best possible position that avoids overlapping with other Ia- bels or map symbols.
  • the GFLP is a combinatorial optimization problem.
  • labels are moved smoothly in response to virtual forces generated by label-label and label-symbol overlaps, while remaining tethered to the sym ⁇ bols they tag.
  • scores associated with each label's candidate positions are refined iteratively to better reflect the merit of different label positions.
  • a randomly generated la ⁇ beling is improved monotonically by considering all alternative positions for each label, chosen from a discrete set, and mak ⁇ ing the single label move in a manner that most improves the global quality of the map labeling.
  • Genetic algorithms have also been applied to map la ⁇ beling optimization. Genetic algorithms are iterative tech ⁇ niques, based on the paradigm of Darwinian evolution, and changes between iterations are not restricted to gradient de- scent but rather include a degree of randomness. Techniques based on genetic algorithms require careful tuning, as they are prone to converge on local optima.
  • Simulated annealing is another variant of the gradient descent technique, in which single label moves that worsen the quality of the labeling are performed occasionally in order to avoid becoming entrapped by local optima.
  • map labels could be optimized more or less at leisure, using off-line approaches.
  • systems for providing drivers with in-vehicle electronic routing maps and navigation aids have emerged. These systems are commonly cou ⁇ pled to a location-finding device in the vehicle, such as a Global Positioning System (GPS) receiver.
  • GPS Global Positioning System
  • the GPS receiver automatically determines the current location of the vehicle, to be displayed on the map and used in determining routing in- structions.
  • In-vehicle navigation systems fall into two general categories: "on-board” systems, in which the map data are stored electronically in the vehicle (typically on optical or magnetic media) ; and “off-board” systems, in which the map data are furnished by a remote map server.
  • These systems typically use a client program running on a smart cellular telephone or personal digital assistant (PDA) in the vehicle to retrieve in ⁇ formation from the server over a wireless link, and to display maps and provide navigation instructions to the driver.
  • PDA personal digital assistant
  • the off-board systems are particularly versatile, but may require the dynamic production of maps responsively to changing loca ⁇ tion information transmitted by the vehicle to the remote map server. This can place a significant computational burden on the remote map server.
  • the invention provides a method of automatically situ ⁇ ating labels on a map, which is carried out " in a first subtask by identifying a set of candidate positions for labels of the features. The method is further carried out in a second sub- task, by selecting initial candidate positions for each of the features. The method is further carried out in a third subtask by evaluating different candidate positions in comparison with the initial candidate positions to define a labeling, and re- sponsively to the evaluation, replacing at least a portion of the initial candidate positions with corresponding different ones of the candidate positions so as to optimize a quality- function of the labeling.
  • the first subtask, the second sub- task, and the third subtask each comprise a static phase and a real-time phase that is executed subsequent to the static phase, responsively to data produced in the static phase.
  • the static phase of the first subtask, the static phase of the second sub- task, and the static phase of the third subtask comprise con ⁇ currently executing first computer processes, data being ex ⁇ changed among the first computer processes during performance thereof.
  • the real-time phase of the first subtask, the real-time phase of the second subtask, and the real-time phase of the third sub ⁇ task comprise concurrently executing second computer processes, data being exchanged among the second computer processes during •performance thereof.
  • the second com ⁇ puter processes are shared between a first computer and a sec ⁇ ond computer that is linked to the first computer, real-time data being exchanged therebetween.
  • the third subtask is performed iteratively by simulated annealing.
  • the third subtask is performed iteratively by simulated quenching.
  • the set of candi ⁇ date positions includes a virtual candidate position. Labels that correspond to the virtual candidate positions are omitted, when the virtual candidate positions are included in a final version of the labeling.
  • An additional aspect of the method includes determin ⁇ ing the number of overlaps between a first label position and other label positions of the labeling, identifying a viewport of the map, and culling the candidate positions of the features that fall outside the viewport.
  • Yet another aspect of the method includes identifying pairs of intersections between the candidate positions, and thereafter generating a linked list of overlaps between one of the candidate positions and the other candidate positions. According to still another aspect of the method, a count of the overlaps is determined using a sweep line algo ⁇ rithm.
  • a count of the overlaps is determined by counting overlaps be- tween a super bounding box one candidate position and super bounding boxes of the other candidate positions of the linked list.
  • the map features include an areal feature
  • an evaluation of the quality function comprises constructing a polygon that describes the areal fea ⁇ ture, constructing a skeleton of the polygon, constructing a bounding rectangle of a candidate position of the areal fea ⁇ ture, and determining the distance between a center of the bounding rectangle and the skeleton.
  • the steps of con ⁇ structing a polygon, constructing a skeleton, and constructing a bounding rectangle are performed during the static phase and include defining a cropped polygon as a portion of the polygon, thereafter constructing an inset polygon in the cropped poly- gon, and determining whether one of the labels of the areal feature, when centered at any point in the inset polygon, lies entirely within the cropped polygon.
  • a further aspect of the method includes computing a medial axis transformation of the polygon.
  • Yet another aspect of the method includes decomposing the polygon into a plurality of simple polygons, wherein the medial axis transformation includes a union of medial axis transformations of the simple polygons.
  • the candidate positions are centered on quasirandom points that are distributed throughout the polygon.
  • the invention provides a computer software product, including a computer-readable medium in which computer program instructions are stored, which instructions, when read by in ⁇ ter-connected computers, cause the computers to cooperatively perform a method of automatically situating labels on a map, which is carried out in a "" first subtask by identifying a set of candidate positions for labels of the features. The method is further carried out in a second subtask, by selecting initial candidate positions for each of the features.
  • the method is further carried out in a third subtask by evaluating different candidate positions in comparison with the initial candidate positions to define a labeling, and responsively to the evalua ⁇ tion, replacing at least a portion of the initial candidate po ⁇ sitions with corresponding different ones of the candidate po ⁇ sitions so as to optimize a quality function of the labeling.
  • the first subtask, the second subtask, and the third subtask each comprise a static phase and a real-time phase that is exe ⁇ cuted subsequent to the static phase, responsively to data pro ⁇ cuted in the static phase.
  • the invention provides a system for automatically situating labels on a map, the map has features to be labeled, including a server operative to automatically situate labels on a map, which is carried out in a first subtask by identifying a set of candidate positions for labels of the features.
  • the method is further carried out in a second subtask, by selecting initial candidate positions for each of the features.
  • the method is further carried out in a third subtask by evaluating different candidate positions in comparison with the initial candidate positions to define a labeling, and responsively to the evaluation, replacing at least a portion of the initial candidate positions with corresponding different ones of the candidate positions so as to optimize a quality function of the labeling.
  • the first subtask, the second subtask, and the third subtask each comprise a static phase and a real-time phase that is executed subsequent to the static phase, responsively to data produced in the static phase.
  • Fig. 1 schematically illustrates a system for perform ⁇ ing map labeling that is constructed and operative in accor ⁇ dance with a disclosed embodiment of the invention
  • Fig. 2 is a high level flow chart illustrating a method of map labeling in accordance with a disclosed embodi- ment of the invention
  • Fig. 3 is a flow chart illustrating a method applying simulated annealing to an initial map labeling, in accordance with a disclosed embodiment of the invention
  • Fig. 4 is a diagram illustrating the geometric sig- nificance of the metric line_over, which is utilized in accor ⁇ dance with a disclosed embodiment of the invention
  • Fig. 5 is a diagram of map features and labels illus ⁇ trating certain terminology relating to polyline metrics, which are employed in the methods shown in Fig. 2 and Fig. 3, in ac ⁇ cordance with a disclosed embodiment of the invention.
  • mag ⁇ netic and optical storage devices such as disk drives, magnetic tape, compact discs (CD's), digital video discs (DVD's), and computer instruction signals embodied in a transmission medium with or without a carrier wave upon which the signals are modu ⁇ lated.
  • the transmission medium may include a com ⁇ munications network, such as the Internet.
  • the invention may be embodied in computer software, the func ⁇ tions necessary to implement the invention may alternatively be embodied in part or in whole using hardware components such as application-specific integrated circuits or other hardware, or some combination of hardware components and software.
  • a drawing of a graph or cartographic map is a visual representation of planar .points, curves, and faces, where points are represented by symbols such as circles or boxes, and each curve is represented by a simple thick polygonal chain, a polyline.
  • Let r be a drawing of a map or a graph, and F ⁇ f ⁇ be a set of graphical features of T to be labeled.
  • Each graphi ⁇ cal feature ⁇ in the set F may have more than one label asso ⁇
  • the solution to the GFLP problem consists of two phases: (1) position generation, and (2) position selection. During the first phase each label I 1 , is assigned a
  • GFLP can be viewed as a non-linear optimization problem, where the objective is to find a label placement of minimum total cost under a plurality of con ⁇ straints.
  • the practical solution of the GFLP involves a set of constraints and partial cost functions that linearly form a total cost function to be optimized. Taken together, these functions reflect tradeoffs among competing concerns involved in typical map labeling problems. These cost functions must take into consideration the following constraints:
  • Proximity enforcement A label must be in close proximity to the graphical feature it annotates. This applies to a point or a polyline. .
  • Boundary enforcement A label is forced to be within a specified area. This applies, for example, to an areal graphical feature.
  • Labels are penalized if they are far from the center of a graphical feature, e.g., an areal graphical feature, according to some distribution function.
  • the distribution function is related to shape analysis, and is not necessarily homogeneous.
  • Partial Order A label associated with a graphical feature must be closer to the graphical feature than other labels. In the case of a point, this is trivial. However, in case of a line, this must be defined more accurately.
  • Density Distribution Names should neither be fully dispersed over the map, nor should they be densely clustered.
  • Font Type arrangement should reflect the. classification and hierarchy of objects on the map. Variation of font type, style, and size is generally allowed. In addition to the above requirements, it is recom ⁇ mended to observe the following considerations as a matter of good labeling practice: Punctiform Designations.
  • Horizontal labels should not be set on grid lines.
  • the optimum distance of a point label from its object depends on the map scale, and further, on the relative sizes of the object and the label font size.
  • the label of a point object that relates to a linear feature must lie entirely on the same side of the point object as the point object lies with respect to the linear feature.
  • the label of a point object that extends to both sides of a linear feature must also span the linear feature.
  • Labels of shore and coastal places should be written completely on the water surface. Labels of places not lying on the shore should be written completely on the land surface.
  • the orientation of labels of coastal places should be arranged so as to point outwards from the coast.
  • An alternate name if present, is preferably printed in a lighter font type than a primary name, and must either be symmetrically placed beneath the primary name, or be enclosed in brackets closely following the primary name.
  • a mountain summit is considered as a punctiform desig ⁇ nation. Mountain passes are variably treated according to the rules of punctiform or linear designations, depending on scale and importance. Sometimes it is necessary to break the label into multiple lines. Linear Designations.
  • a label should be placed along the line.- to which it refers, and preferably over the line rather than under it.
  • the orientation of labels should conform to the curva ⁇ ture of the line, however complicated. Nevertheless, extreme curvatures should be avoided.
  • the label should be slightly spaced apart from the line that it annotates.
  • the label should be repeated at suitable intervals along the line.
  • the label should be placed where the line bends least, does not run vertically up and down, and where there are fewest objects.
  • Labels of vertical lines should be oriented upward.
  • Labels should be bent, and spread so that they stretch as much as possible across the horizontal axis of the area.
  • Labels should be expanded towards the boundaries of the area, leaving a margin at least 1.5 times the size of the letters on either end of the label.
  • Non-horizontal labels should be slightly curved along a circular arc no greater than 60 degrees.
  • Objects such as large rivers are by definition areal features, as the designation is placed inside the area. How- ever, these objects also fall under certain rules for linear designations.
  • the labels of these features should not be spaced out or spread. Rather, they should be repeated at suitable intervals.
  • Labels should be upright as possible, and clockwise oriented for left-to-right languages. On the left half of the map, the writing direction should be from bottom to top, while on the right half of the map the writing direction should be from top to bottom.
  • labels of adjacent areas should have the same direction. Letters should be spaced apart not more than twice the type height, depending also on the map contents and density, and must be equidistant from one another.
  • Labels should overlap as little as possible. If they must cross, right angles are to be avoided. Figures formed through visual connection of two or more different labels should be avoided as much as possible.
  • Labels should interrupt line objects when they pass across them.
  • labels should be parallel to the lines of latitude, and should not be set on grid lines.
  • FIG. 1 schematically illustrates a system 10 that is constructed and operative in accordance with a dis ⁇ closed embodiment of the invention.
  • the above-noted map label ⁇ ing problem is solved in a client-server environment.
  • Data ena- bling the display of a map 12, at least partly constructed and formatted by a map server 14, is transmitted from the server 14 to a client 16 over a suitable data network 18, which can be the Internet.
  • the client 16 is typically connected to the network 18 by a wireless link and is operated by a mobile user 20.
  • the map 12 is presented on a display screen of the client 16 ac ⁇ cording to some criteria set up at the client 16. Some of the data may be preprocessed and saved on the server 14; however, most data is processed in real time on the server 14.
  • the cli ⁇ ent 16 runs a process that does little more than display the map on the display screen.
  • the client 16 can be realized as one of many different devices, such as personal computers or workstations, typically it is a thin client, having limited re ⁇ sources, such as a mobile telephone, PDA, or a specialized navigation device. While one client is shown representatively in Fig. 1, the server 14 is capable of processing concurrent requests from many clients, both mobile and stationary, which may have different capabilities.
  • the client 16 typically issues a request to the server 14.
  • the server 14 proc ⁇ esses data relevant to the request.
  • This data consists of com- binations of raw cartographic data, pre-established configura ⁇ tion parameters set up by the user 20, and sometimes preproc ⁇ essed data that was stored during previous sessions.
  • Processing by the server 14 results in geometric data appropriate for dis ⁇ play of the map on the screen of the client 16, and may include additional information, as may be required for local naviga ⁇ tion.
  • the server 14 transmits processing results to the cli ⁇ ent 16.
  • Label place ⁇ ment is one of the functions that are performed by the server 14 responsively to a client request.
  • a la ⁇ bel attribute may change responsively to a change in a display requirement at the client 16, for example, zoom level, window resizing, or a search for a specific graphic feature.
  • the font type or size in one or more labels may change, or the display of an optional label may become manda ⁇ tory, overriding a template pattern at a given zoom level.
  • map ro ⁇ tation it may be necessary to perform map ro ⁇ tation as a response to an action of the user 20, such as vary- ing his direction, or varying the orientation of the client 16.
  • the best way to display the map 12 is to rotate it, such that map is aligned with a current direction of navi ⁇ gational advance. It is often the case that some labels must be rotated together with the graphic features, while other labels must remain horizontal or be constrained to another orienta ⁇ tion.
  • Fig. 2 is a high level flow chart illustrating a method of map labeling in accordance with a disclosed embodiment of the invention.
  • a choice of rules is made by an operator, also re ⁇ ferred to herein as a moderator.
  • the rules are bound to a map to be labeled.
  • the moderator is permitted to change existing rules and introduce new ones, which are saved in a rule data ⁇ base.
  • the rules that are applicable to a given map are flexible. More particularly, the moderator is allowed to select the algorithms used to accomplish various tasks, the scope of preprocessing, and is permitted to set parameters for selected algorithms. Examples of such parameters include the number of candidate positions per label, display parameters, and maximum zoom levels.
  • the label placement task is broken into three sub- tasks 24, 26, 28, which are generally performed independently but can sometimes interchange data at different stages.
  • Each subtask has its own pipeline. System throughput can thus be maximized as a result of parallel or multi-threaded processing by the server 14 (Fig. 2) , wherein each of the subtasks has its own series of processes or threads, which can exchange data with one another.
  • the subtasks 24, 26, 28 include a static phase 30, consisting of preprocessing stages 32, 34, 36, which are exe- cuted offline, and an online real-time phase 38, consisting of processing stages 40, 42, 44.
  • the subtasks 24, 26, 28 are exe ⁇ cuted in a pipeline fashion.
  • Each process that corresponds to a subtask consumes data produced by the previous process in the pipe.
  • the processing stages 40, 42, 44 consume data 46, 48, 50, generated respectively during the corresponding pre ⁇ processing stages 32, 34, 36 in order to expedite the entire procedure.
  • Different map and labeling characteristics govern the division of each subtask into the preprocessing and real-time processing phases. For example, if a label bounding rectangle and orientation of some graphic features are known in advance, a set of candidate positions for these graphic features can be computed during the static phase 30. On the other hand, if a label of a graphic feature must be kept horizontal, and the user is allowed to rotate the map, the candidate positions for this feature must be adjusted each rotation during the real ⁇ time phase 38.
  • the subtask 24 is candidate position generation. Given a point, line, or area feature as input, the object is to iden- tify a set of candidate positions for its label. The subtask 24 produces a set of candidate label positions.
  • the following gen ⁇ eral rules apply to the subtask 24 in the current embodiment, based on practical considerations of the computation of metrics and the evaluation of cost functions. However, in other embodi- ments some of these rules may be relaxed, depending on hardware performance. The number of generated positions should be relatively- small. An upper bound of 32 candidate positions is currently applied to each graphical feature.
  • the candidate positions for a given label should oc- cupy a variety of different locations near its feature, in or ⁇ der to facilitate tradeoffs between label positions of differ ⁇ ent features, while seeking a globally optimal labeling.
  • Initial position selection is performed in the sub- task 26.
  • a set of candidate label positions is assembled for each map feature. This set may be derived in many combinations from the set generated by the subtask 24, and from positions initially selected in the preprocessing stage 34. Given a set of candidate label positions for each map feature, an initial labeling is then computed as the output of the subtask 26. It consists of a single label position for each set.
  • Final position selection is performed in the sub ⁇ task 28. Given a set of candidate label positions for each map feature, and an initial labeling, the overall quality of the labeling is improved, as determined by an evaluation function, by repeatedly replacing the chosen position for each map fea ⁇ ture, until some termination conditions are met.
  • the initial labeling may be derived in various combinations from the ini ⁇ tial labeling constructed in the subtask 36, and from position selection in the processing stage 44.
  • a final labeling 52 one label position is drawn from each feature's set of candi ⁇ date positions. Simulated Annealing.
  • Final position selection in the processing stage 44 is accomplished by simulated annealing, and in some embodiments, using a variant of simulated annealing referred as simulated quenching.
  • Simulated annealing is well known in the art, for example from the document S. Kirkpatrick, C. D. Gelatt, and M. P. Vecchi. Optimization by Simulated Annealing. Science, Number 4598, 13 May 1983, 220, 4598:671-680, 1983. Its effi ⁇ ciency and quality are controlled by many parameters.
  • the proc- essing stage 44 constitutes a learning system, in which these parameters are iteratively updated, based on previous itera ⁇ tions.
  • simulated annealing is an iterative and sto ⁇ chastic technique modeled on the physical annealing process. It consists of successive update steps, where the update step length is proportional to an arbitrarily set parameter, playing the role of temperature in the physical world.
  • the technique is suitable for simulating learning processes, and in the context of map labeling, solving minimization problems, where a continuous gradient function to guide the minimization does not exist, or where standard gradient following algorithms are likely to become trapped at a local minimum.
  • the temperature is set high in the early stages of the process for faster learning or minimi- zation. Then it is reduced for greater stability.
  • Simulated annealing is capable of processing cost functions possessing significant degrees of nonlinearities, discontinuities, and stochasticity. It can also process arbi ⁇ trary boundary conditions and constraints imposed on cost func- tions. It can find an optimal solution, but at the expense of time consumption. Its apparent ease of implementation is decep ⁇ tive, however. Fine-tuning the algorithm to solve specific problems within practical time limits is a serious technical difficulty, which has been solved for the map labeling problem according to the present invention.
  • Fig. 3 is a flow chart illustrating the application of simulated annealing to an ini ⁇ tial map labeling, in accordance with a disclosed embodiment of the invention.
  • an initial labeling L is pro ⁇ vided, as generally disclosed hereinabove.
  • a cost function c (L) is evaluated with respect to the labeling L, c ⁇ - c (L) .
  • a map feature in the labeling L is chosen randomly.
  • step 58 the label of the feature that was chosen in step 56 is moved to a new position that is randomly selected from that feature's set of candidate positions.
  • a new labeling is computed, I/ r— labeling (L) .
  • a difference ⁇ in the labeling cost function c caused by repositioning the label in step 58 is com ⁇ puted, ⁇ +- ⁇ (L,I/).
  • step 64 If the determination at decision step 62 is affirma ⁇ tive, then control proceeds to step 64.
  • the new labeling L' is accepted for use in subsequent iterations, L ⁇ - L'. If the determination at decision step 62 is negative, then control proceeds to decision step 66.
  • the new labeling I/ may still be accepted probabilistically, with probability £jc( ⁇ ) , wherein
  • T is a parameter analogous to temperature
  • k is an anneal ⁇ ing time step.
  • a suitable annealing schedule is
  • simulated quenching A variant of simulated annealing, known as simulated quenching, is used in the current embodiment for simplicity and efficiency. Simulated quenching trades ergodicity, that is, the 5 probability that any state will recur, for expediency by util ⁇ izing a relatively fast cooling schedule.
  • T is reduced periodically according to the fol ⁇ lowing schedule: where ⁇ is set to 0.9.
  • the period (number of random perturba- 20 tions with constant T) is proportional to the number of maximal candidate positions per label. The period is set to 10 in the current embodiment.
  • decision step 66 it is determined whether the new labeling I/ is to be accepted according to the probability 25 hfc( ⁇ ) .
  • step 66 determines whether the labeling L in subsequent iterations. If the determination at decision step 66 is negative, then control proceeds to decision step 68, which is described below. If the determination at decision step 66 is affirma ⁇ tive, then control proceeds to step 64. The new labeling I' is accepted for use as the labeling L in subsequent iterations .
  • Ci 100. This is a fail-safe condition, which is applied when all others fail.
  • the number of consecutive label repositionings (step 58) with no changes made in the labeling L exceeds a number that is proportional to the number of graphic features .
  • control returns to step 56 to begin a new iteration.
  • step 70 control proceeds to step 70.
  • the pa ⁇ rameters used in simulated annealing during the performance of decision step 66 have initial settings, which are now stored in a learning system.
  • Each map to be labeled includes a database that has its own initial settings. These initial settings may vary from database to database, depending on various character ⁇ istics, such as the density of the labels in the database, or the purpose of the map. Some maps are intended to be used in navigation systems, in which case it is better not to condense labels excessively. Other maps are intended to display points of interest. In these cases, the final display should include as many labels as possible, so long as they are pairwise dis ⁇ joint in their interiors.
  • one or more conflicting labels are removed in order to improve clarity. In some embodiments, this may be done in accordance with parameters, such as the relative priority of each con- flicting label. When two labels are in conflict, the label with the lower priority is removed.
  • a label removal method is integrated with the simulated annealing technique disclosed above by including step 72, the quality of the final result in ⁇ creases. Control now proceeds to final step 74, and the proce ⁇ dure terminates.
  • a finite set of candidate posi ⁇ tions are computed for each label.
  • an additional candidate label position is inserted in each set, which is called the virtual candidate position.
  • a label associated with the virtual candidate position in the final placement is re ⁇ moved.
  • the metric parameters of the virtual candidate position are carefully designed so as to yield a high cost when the vir- tual position is selected during subtask 24, yet lower than the cost of a conflict in which the label might become involved. Details of various metrics used in the computation are dis ⁇ closed hereinbelow.
  • the virtual candidate position has a zero size bound- ing rectangle.
  • the label is not dis ⁇ played and effectively eliminated.
  • the simulated annealing process does not distinguish between the virtual candidate and the other candidate for any graphic fea- ture. Its cost is computed by the chosen metrics. Even with the use of the virtual candidate technique, however, conflicts may remain at the end of the annealing process. Therefore, it is recommended that step 72, the optional candidate removal step described above, be performed.
  • Point_over - measures the negative effect of overlap ⁇ ping between the label and a point symbol p. This metric simply counts the number of such overlaps.
  • Point_over intersect (p) where intersect (p) is 1 if the label intersects the point sym ⁇ bol p, and 0 otherwise.
  • Line_over - measures the effect of overlapping between a label and a line symbol. This metric takes in account the in ⁇ tersection angle, as a label position that intersects the poly- line of a line feature at a right angle is preferred over one that is parallel to the polyline.
  • Fig. 4 is a diagram illustrating the geometric significance of the metric line_over, which is utilized in accordance with a disclosed em- bodiment of the invention.
  • pi and P2 be the points where a polyline stabs a label bounding rectangle 76.
  • the normal- ized vector b point in the direction of the label's baseline, and the vector
  • intersect (1) is 1, if the label intersects the line sym ⁇ bol 1, and 0 otherwise.
  • the metric line_over evaluates to a nu ⁇ meric value taken from the range [0.0; c] , where c is a con- stant.
  • the value 9 is suitable for the constant c.
  • the formula given above for the metric line_over is based solely on the label and line symbol directions. A higher quality, but more time consuming alternative is to consider the area of intersection, using a metric area_over, the definition of which follows.
  • Area__over - measures the effect of overlapping between a label and an area symbol.
  • intersection (a) is the normalized area of intersection between a label and an area symbol a.
  • Label_over - the number of overlaps between a candi ⁇ date label position and the candidate positions of all other labels currently selected.
  • This metric is the only one that cannot be precomputed for the candidate label positions, and instead must be recomputed continually during the labeling po ⁇ sition selection. In order to expedite the reevaluation of this metric, all pairs of intersections between candidate label po- sitions are precomputed once they are generated.
  • data for each candidate po ⁇ sition of each label is precomputed once the candidate position has been generated. This data is used to expedite the reevalu- ation of the metric Label_over (L) during label position genera ⁇ tion.
  • two strategies have been implemented that produce different, but related types of precomputed data. Only one strategy is applied during each label placement session. The selection of the appropriate strategy is governed by rules introduced by the moderator.
  • the running time of this algorithm for a set of n in ⁇ put bounded boxes that intersect in k points is 0((n + k) log n) .
  • the output of the algorithm consists of overlapping candi- date positions.
  • Each candidate position A of each label is as ⁇ sociated with a linked list of all the candidate positions of other labels that overlap the candidate position A.
  • the overhead of the sweep line algorithm is quite sig ⁇ nificant, and for sessions with a small number of labels an al- ternative strategy is preferred.
  • the alternative strategy has - a worse asymptotic time complexity and produces conservative results, but involves relatively little overhead. Consequently, the time required to execute the label position placement proc ⁇ ess for cases having a small number of labels is reduced.
  • the "super bounding box" (bounding rectangle) s (1) of all candidate positions is computed.
  • a super bounding box s (1) is the smallest box that encloses all the elementary boxes that enclose individual candidate label positions of a particular label 2. Then, for each label 2 all other labels are traversed.
  • the label 2' is inserted into the linked list of potentially overlapping-labels associ ⁇ ated with the label 2, and the label 2 is inserted into the linked list of potentially overlapping-labels associated with the label 1' .
  • This method often turns out to be superior, al ⁇ though it produces conservative results. For example, consider a label 2 of a line that has a large degree of curvature. The super bounding box s (1) of the label 2 could be very large, and thus could overlap many other candidate positions, which in fact do not overlap any candidate position of the label 2.
  • Label_over(L') - Label_over(L) where L is the current labeling and L' is a new labeling when the iteration completes. If the sweep-line based strategy is in effect, then all that need be done is traverse the linked lists of overlapping candidate-positions of the positions A and A'. Recall that exactly one candidate position of every label is currently selected. During each of the two traversals, the num ⁇ ber of candidates that are currently selected for their respec ⁇ tive labels is counted, and the difference between the counts is returned. If, on the other hand, the simple strategy is in effect, more computation is necessary.
  • Metrics relating to areal features quantify the rela ⁇ tionship between a label position and the area feature that it annotates. A single metric is generally sufficient for satis ⁇ factory area-feature labeling. However, in the case of areas having certain shapes, additional metrics that are sensitive to the shape of the area are recommended to be incorporated.
  • the generation of the set of potential candidate posi ⁇ tions consists of two computations.
  • a "skeleton" S of the polygon P is computed.
  • the skeleton of a polygon is a tree-like structure in which leaves of the tree are the vertices of the polygon. Thus, the skeleton ap ⁇ pears to "support" the polygon.
  • candi ⁇ date positions are generated and evaluated. The static cost of each candidate position depends on the distance of its bound- ing-rectangle center from the skeleton, and on the distance of the skeleton at the nearest point to the bounding rectangle from the boundary of the polygon cropped along the window frame.
  • the first computation is per ⁇ formed during the static phase 30 (Fig. 2)) .
  • the polygon P is already cropped.
  • An inset polygon p' is computed, such that if the label is cen ⁇ tered at any point in the inset polygon p r , the label will lie entirely inside the polygon P. If the inset polygon p r is empty, then it is impossible to place the label entirely inside the polygon P. In this case the area is labeled as if it were a point feature.
  • the inset polygon p f is not empty, its skeleton is computed and passed to the second computation.
  • the procedure continues as follows. If the label's bounding rectangle and orientation are unknown in advance, , then a relatively large set of potential candidate positions is generated and stored. Then, during the real-time phase 38 (Fig. 2), candidate positions that do not lie entirely inside the polygon P are culled out.
  • the Voronoi diagram of a point set Q decomposes the plane into regions around each point such that each point within a region is closer to some site in the set Q than to any other site in the set Q.
  • the Voronoi diagram of a set of line segments L decomposes the plane into regions around each line segment such that each point within a region is closer to a particular site in the set L than to any other site in the set L.
  • the polygon P is defined by a collection of line seg ⁇ ments, such that each consecutive pair of line segments shares a vertex.
  • the medial axis transform of a polygon is simply the portion of the line-segment Voronoi diagram that lies within the polygon.
  • medial axes are com ⁇ puted using an algorithm described in the document S. Fortune. A Sweep-line Algorithm for Voronoi Diagrams. Algorithmica, 2:153-174, 1987. This implementation allows for incremental construction of the medial axes during the dynamic stage, as the need to crop the polygon along the window frame may arise.
  • the medial axis transformation of a polygon without holes is always a tree, making it fairly easy to manipulate and measure distances. For example, this can be done using the "edit distance" between the skeleton of a known model and the skeleton of an unknown object. Whenever the two skeletons are close enough, an unknown object can be classified as an in- stance of the known model. To this end, the distance between the skeleton and a portion of the bounding rectangle of a can ⁇ didate position must be computed.
  • the skeleton of a polygon with holes is not a tree, but an embedded planar graph, which is easy to work with.
  • the simple strategy is used either when time dictates faster results than can be provided by medial axes computation, or when the medial axes are likely to be too complex. A large amount of memory is required to accommodate the representation of complex medial axes. Furthermore, cropping along a window frame may consume an unacceptable large amount of time during the dynamic stage.
  • the polygon is decomposed into a plurality of "simple" polygons, and the medial axes of each are computed. The final result is the union of all the medial axes.
  • the poly ⁇ gon is decomposed into triangles, and the final result is the finite set of the triangle centers. While results may be quickly obtained using the simple strategy, the quality of these results is not generally as good as with the more sophis ⁇ ticated medial axis computation.
  • Two strategies are used to compute the set of poten- tial areal label candidate positions.
  • the selection of the ap ⁇ intestinalte strategy is governed by rules introduced by the mod ⁇ erator, and is mainly based on the type of intermediate results produced in the static phase 30 (Fig. 2) .
  • the first strategy is based on a random approach. We generate n quasirandom points evenly distributed throughout a polygon P', using the well- known Sobol quasirandom sequence, and generate label positions centered at these points. The skeleton is traversed only to evaluate the cost of each candidate.
  • the second strategy is an exhaustive search. Polyline Metrics - Terminology.
  • FIG. 5 is a diagram of map features and labels illustrating certain terminology relat ⁇ ing to polyline metrics, which are employed in accordance with a disclosed embodiment of the invention.
  • a map label 78 in the top figure is positioned above the line that it annotates, while a map label 80 in the bottom figure is positioned on the line.
  • a baseline 82 is a line upon which characters of the map label 78 are drawn.
  • a skyline 84 is the union of the bounding boxes of the characters of a map label. The skyline may extend above and be ⁇ low the baseline.
  • a midline 86 is a line parallel to the baseline and passes thought the middle of the extreme points of the skyline.
  • a swath 88 is a strip perpendicular to the baseline and centered about the label.
  • the width of the swath is 1.2 times the width of the label.
  • a swath line 90 is a part of a polyline 92 near the map label 78 that intersects the swath 88.
  • the average distance d is the area in the swath bounded by the swath line from below and by the lower envelope of the skyline from above divided by the swath width.
  • the av- erage distance d is the area in the swath bounded by the swath line from above and by the upper envelope of the skyline from below divided by the swath width.
  • is the ideal distance
  • r is chosen to be 2.
  • Minimum Distance the minimum distance between any two points on the swath line and on the skyline or midline de- pending on whether the label is positioned above, below, or on the polyline.
  • Curvature of a line or descenders in the label might result in a label that is in very close proximity with its line feature, or even on it, while the average distance is kept large. This potential anomaly is quantified using the simple minimum and maximum distance. The formula for minimum distance is
  • Aboveness - This metric can be understood from a con ⁇ sideration of a horizontal line feature and a label running from left to right: the label may be placed above or below the line.
  • the metric aboveness has a value of 0.0 if the position is above the line, 1.0 if it is below the line.
  • Centeredness - each polyline is divided into sections, such that each section accommodates a single occurrence of the label associated with the line feature. Thus, a label is re ⁇ peated along the line. The number of sections and the size of each section are controlled by the moderator.
  • the global metric centeredness is used to evaluate the proximity of a label and the center of its associated polyline section.
  • the metric centeredness is calculated as:
  • the translation reference point is language dependent. For left-to-right languages, e.g., English, it is the left corner of the label baseline.
  • Labels may be partially or totally pinned. Each label
  • each can ⁇ didate position can be fully described by its bounding box and orientation or partially described by its center point only.
  • An icon that represents a point-of-interest on the map can serve as a label. In this case, a single fully described candidate position is provided. The simulated annealing process respects this label when attempting to place all other labels.
  • the viewport of the map is a portion of a map that is displayed on the client window and is therefore visible by the client.
  • map viewport is a rectangle, and in most cases an iso-rectangle, that is, a rectangle with sides parallel to the major axes of the map coordinate system.
  • the user 20 can apply com- mands that change the map viewport and the resolution within the map viewport.
  • the viewport can be shifted as a response to a user command, and in some applications, it can be rotated.
  • the graphical features that lie inside the viewport must be recognized and shifted to align with the display screen of the client 16. Shifting is handled globally by adjusting the projection of the map viewport into the client window. Culling the graphical features that do not map into the map viewport and their corresponding candidate po ⁇ sitions is a straightforward application of spatial range searching.
  • the iso- rectangle bounding box is computed. All graphical features that lie inside the bounding box are identified, and then, by iter ⁇ ating over the potential features sequentially, those graphical features that do not lie inside the viewport are culled. This reduces the problem to a simpler problem referred to as or ⁇ thogonal spatial range searching.
  • range tree and Kd-tree are two well-known data structures suitable for orthogonal range searching. While the range tree is theoretically superior to the Kd-tree, the latter often seems to perform better. Each of these trees is derived from a set of points. During the static phase 30 (Fig. 2), the tree is constructed. During the real ⁇ time phase 38, all points that lie inside the query box repre- senting the map viewport are extracted.
  • the Kd-tree data struc ⁇ ture specifically a K2-tree variant, is preferred, as it is easier to implement, and handles line and polygon features as well.
  • Map rotation requires special treatment.
  • the first subset consists of labels that are oriented according to- the orientation and position of the graphical features they annotate.
  • the second subset con ⁇ sists of labels that must be oriented in a predetermined orien ⁇ tation, typically a horizontal orientation.
  • the candidate posi ⁇ tions of all labels are rotated along with the rest of the map features in real time. Then, each candidate position of each label that is required to be confined to a predetermined orien ⁇ tation is rotated about its associated graphical feature in the opposite direction, so as to maintain its orientation.

Abstract

Methods and systems are presented for the automatic optimal placement text or symbol labels corresponding to graphical objects on maps. Using a map server and a thin, typically mobile client, maps are dynamically drawn and displayed at the client. Optimized labeling of map objects is achieved by dividing the task into piplelined subtasks, some being performed off-line, and others being performed in real time, responsively to changing client requests, and changes in the map viewport. Optimization of candidate label positions is accomplished using simulated annealing.

Description

Placement of Map Labels
BACKGROUND OF THE INVENTION
1. Field of the Invention.
This invention relates to map display systems and methodologies. More particularly, this invention relates to the near optimum placement of cartographic labels.
2. Description of the Related Art.
Map labeling involves determining a near optimal placement of labels that identify various cartographic fea- tures. Typically when drawing a map, there are requirements to label points such as cities, lines such as rivers or political borders, and areal features such as swamps, parks or forests.i The art of cartography has a long history, and label placement, being part of this art, does not fall short. For many centu- ries, cartographers have devised some general rules that a well-formed label placement must follow. Labels must be posi¬ tioned such that they are legible and follow aesthetic quality criteria. A label must be placed in the best position among all legible positions. Labels should, in spite of their incorpora- tion into densely crowded graphics of the map, be easily read, easily discriminated from other labels, and quickly located. The label must permit associativity. That is, the label and the object to which it belongs should be easily associated. A prin¬ ciple of noninterference must be observed. Labels should dis- turb other map contents as little as possible. Finally, labels should assist the reader to identify spatial situations, terri¬ torial extent, connections, importance, and to differentiate objects.
While there are many possible ways to label map fea- tures and to resolve conflicts, a well-formed labeling should result in a legible and attractive map that provides easy ac¬ cess to its information. Optimizing label placement in general is a difficult problem for which closed form solutions are ei¬ ther impractical or simply not available.
In map production, the problems of placing labels of a set of nodes or points are referred to as the "node label placement problem" (NLP) , and the "point feature label place¬ ment problem", respectively. The problem of placing labels of lines or edges is referred to as the "edge label placement problem" (ELP) . A related problem is the placement of area la¬ bels or face labels. All three problems are NP-hard. Therefore, algorithms based on exhaustive search are impractical due to exponential explosion, even when attempting to solve the prob¬ lems independently. These three problems are referred to col¬ lectively as the "graphical feature label placement problem" (GFLP) . While the particular heuristics that have been used to resolve label conflicts vary, all depend upon three important assumptions: (1) Each individual label can be placed in one of a relatively small number of positions near or on the feature it annotates. The search for a new label position may be an it- erative process, but only a few positions for each label are typically evaluated by most label placement algorithms. (2) The relative quality of individual label positions can be measured.
(3) Each label should be placed relative to its feature in the best possible position that avoids overlapping with other Ia- bels or map symbols. Essentially, the GFLP is a combinatorial optimization problem.
Approaches that have been proposed to solve the map labeling problems are based on greedy algorithms, algorithms that simulate physical models, and algorithms that reduce the labeling problem to a variant of zero-one integer programming, such as relaxation methods, e.g., Lagrangian relaxation meth¬ ods.
Using physical relaxation methods, labels are moved smoothly in response to virtual forces generated by label-label and label-symbol overlaps, while remaining tethered to the sym¬ bols they tag.
Using zero-one integer programming, scores associated with each label's candidate positions are refined iteratively to better reflect the merit of different label positions.
In gradient descent methods, a randomly generated la¬ beling is improved monotonically by considering all alternative positions for each label, chosen from a discrete set, and mak¬ ing the single label move in a manner that most improves the global quality of the map labeling.
Genetic algorithms have also been applied to map la¬ beling optimization. Genetic algorithms are iterative tech¬ niques, based on the paradigm of Darwinian evolution, and changes between iterations are not restricted to gradient de- scent but rather include a degree of randomness. Techniques based on genetic algorithms require careful tuning, as they are prone to converge on local optima.
Simulated annealing is another variant of the gradient descent technique, in which single label moves that worsen the quality of the labeling are performed occasionally in order to avoid becoming entrapped by local optima.
Formerly, map labels could be optimized more or less at leisure, using off-line approaches. However, systems for providing drivers with in-vehicle electronic routing maps and navigation aids have emerged. These systems are commonly cou¬ pled to a location-finding device in the vehicle, such as a Global Positioning System (GPS) receiver. The GPS receiver automatically determines the current location of the vehicle, to be displayed on the map and used in determining routing in- structions. In-vehicle navigation systems fall into two general categories: "on-board" systems, in which the map data are stored electronically in the vehicle (typically on optical or magnetic media) ; and "off-board" systems, in which the map data are furnished by a remote map server. These systems typically use a client program running on a smart cellular telephone or personal digital assistant (PDA) in the vehicle to retrieve in¬ formation from the server over a wireless link, and to display maps and provide navigation instructions to the driver. The off-board systems are particularly versatile, but may require the dynamic production of maps responsively to changing loca¬ tion information transmitted by the vehicle to the remote map server. This can place a significant computational burden on the remote map server.
The above-noted methods reflect progress in solving each component of the graphical feature label placement problem individually, but there is as yet no suitable integrated method that solves both of the graphical feature label placement prob¬ lems simultaneously and in reasonable time so as to satisfy modern requirements.
SUMMARY OF THE INVENTION
Methods and systems are presented, according to a dis¬ closed embodiment of the invention, for the automatic optimal placement text or symbol labels corresponding to graphical ob¬ jects on maps. Using a map server and a thin, typically mobile client, maps are dynamically drawn and displayed at the client. Optimized labeling of map objects is achieved in near real-time by dividing the task into pipelined subtasks, some being per¬ formed off-line, and others being performed immediately, re¬ sponsively to changing client requests, and changes in the map viewport. Optimization of label placement can be accomplished using simulated annealing and simulated quenching.
.The invention provides a method of automatically situ¬ ating labels on a map, which is carried out" in a first subtask by identifying a set of candidate positions for labels of the features. The method is further carried out in a second sub- task, by selecting initial candidate positions for each of the features. The method is further carried out in a third subtask by evaluating different candidate positions in comparison with the initial candidate positions to define a labeling, and re- sponsively to the evaluation, replacing at least a portion of the initial candidate positions with corresponding different ones of the candidate positions so as to optimize a quality- function of the labeling. The first subtask, the second sub- task, and the third subtask each comprise a static phase and a real-time phase that is executed subsequent to the static phase, responsively to data produced in the static phase.
According to one. aspect of the method, the static phase of the first subtask, the static phase of the second sub- task, and the static phase of the third subtask comprise con¬ currently executing first computer processes, data being ex¬ changed among the first computer processes during performance thereof.
According to still another aspect of the method, the real-time phase of the first subtask, the real-time phase of the second subtask, and the real-time phase of the third sub¬ task comprise concurrently executing second computer processes, data being exchanged among the second computer processes during •performance thereof. According to one aspect of the method, the second com¬ puter processes are shared between a first computer and a sec¬ ond computer that is linked to the first computer, real-time data being exchanged therebetween.
According to another aspect of the method, the third subtask is performed iteratively by simulated annealing.
According to a further aspect of the method, the third subtask is performed iteratively by simulated quenching.
In yet another aspect of the method the set of candi¬ date positions includes a virtual candidate position. Labels that correspond to the virtual candidate positions are omitted, when the virtual candidate positions are included in a final version of the labeling. An additional aspect of the method includes determin¬ ing the number of overlaps between a first label position and other label positions of the labeling, identifying a viewport of the map, and culling the candidate positions of the features that fall outside the viewport.
Yet another aspect of the method includes identifying pairs of intersections between the candidate positions, and thereafter generating a linked list of overlaps between one of the candidate positions and the other candidate positions. According to still another aspect of the method, a count of the overlaps is determined using a sweep line algo¬ rithm.
According to an additional aspect of the method, a count of the overlaps is determined by counting overlaps be- tween a super bounding box one candidate position and super bounding boxes of the other candidate positions of the linked list.
In one aspect of the method the map features include an areal feature, and an evaluation of the quality function comprises constructing a polygon that describes the areal fea¬ ture, constructing a skeleton of the polygon, constructing a bounding rectangle of a candidate position of the areal fea¬ ture, and determining the distance between a center of the bounding rectangle and the skeleton. In another aspect of the method the steps of con¬ structing a polygon, constructing a skeleton, and constructing a bounding rectangle are performed during the static phase and include defining a cropped polygon as a portion of the polygon, thereafter constructing an inset polygon in the cropped poly- gon, and determining whether one of the labels of the areal feature, when centered at any point in the inset polygon, lies entirely within the cropped polygon. A further aspect of the method includes computing a medial axis transformation of the polygon.
Yet another aspect of the method includes decomposing the polygon into a plurality of simple polygons, wherein the medial axis transformation includes a union of medial axis transformations of the simple polygons.
According to still another aspect of the method, the candidate positions are centered on quasirandom points that are distributed throughout the polygon. The invention provides a computer software product, including a computer-readable medium in which computer program instructions are stored, which instructions, when read by in¬ ter-connected computers, cause the computers to cooperatively perform a method of automatically situating labels on a map, which is carried out in a ""first subtask by identifying a set of candidate positions for labels of the features. The method is further carried out in a second subtask, by selecting initial candidate positions for each of the features. The method is further carried out in a third subtask by evaluating different candidate positions in comparison with the initial candidate positions to define a labeling, and responsively to the evalua¬ tion, replacing at least a portion of the initial candidate po¬ sitions with corresponding different ones of the candidate po¬ sitions so as to optimize a quality function of the labeling. The first subtask, the second subtask, and the third subtask each comprise a static phase and a real-time phase that is exe¬ cuted subsequent to the static phase, responsively to data pro¬ duced in the static phase.
The invention provides a system for automatically situating labels on a map, the map has features to be labeled, including a server operative to automatically situate labels on a map, which is carried out in a first subtask by identifying a set of candidate positions for labels of the features. The method is further carried out in a second subtask, by selecting initial candidate positions for each of the features. The method is further carried out in a third subtask by evaluating different candidate positions in comparison with the initial candidate positions to define a labeling, and responsively to the evaluation, replacing at least a portion of the initial candidate positions with corresponding different ones of the candidate positions so as to optimize a quality function of the labeling. The first subtask, the second subtask, and the third subtask each comprise a static phase and a real-time phase that is executed subsequent to the static phase, responsively to data produced in the static phase.
BRIEF DESCRIPTION OF THE DRAWINGS For a better understanding of the present invention, reference is made to the detailed description of the invention, by way of example, which is to be read in conjunction with the following drawings, wherein like elements are given like refer¬ ence numerals, and wherein: Fig. 1 schematically illustrates a system for perform¬ ing map labeling that is constructed and operative in accor¬ dance with a disclosed embodiment of the invention;
Fig. 2 is a high level flow chart illustrating a method of map labeling in accordance with a disclosed embodi- ment of the invention;
Fig. 3 is a flow chart illustrating a method applying simulated annealing to an initial map labeling, in accordance with a disclosed embodiment of the invention;
Fig. 4 is a diagram illustrating the geometric sig- nificance of the metric line_over, which is utilized in accor¬ dance with a disclosed embodiment of the invention; and Fig. 5 is a diagram of map features and labels illus¬ trating certain terminology relating to polyline metrics, which are employed in the methods shown in Fig. 2 and Fig. 3, in ac¬ cordance with a disclosed embodiment of the invention.
DETAILED DESCRIPTION OF THE INVENTION
In the following description, numerous specific de¬ tails are set forth in order to provide a thorough understand¬ ing of the present invention. It will be apparent to one skilled in the art, however, that the present invention may be practiced without these specific details. In other instances well-known circuits, control logic, and the details of computer program instructions for conventional algorithms and processes have not been shown in detail in order not to obscure the pre¬ sent invention unnecessarily. Software programming code, which embodies aspects of the present invention, is typically maintained in permanent storage, such as a computer readable medium. In a client-server environment, such software programming code may be stored on a client or a server. The software programming code may be embod- ied on any of a variety of known media for use with a data processing system. This includes, but is not limited to, mag¬ netic and optical storage devices such as disk drives, magnetic tape, compact discs (CD's), digital video discs (DVD's), and computer instruction signals embodied in a transmission medium with or without a carrier wave upon which the signals are modu¬ lated. For example, the transmission medium may include a com¬ munications network, such as the Internet. In addition, while the invention may be embodied in computer software, the func¬ tions necessary to implement the invention may alternatively be embodied in part or in whole using hardware components such as application-specific integrated circuits or other hardware, or some combination of hardware components and software. Problem Statement.
A drawing of a graph or cartographic map is a visual representation of planar .points, curves, and faces, where points are represented by symbols such as circles or boxes, and each curve is represented by a simple thick polygonal chain, a polyline. Let r be a drawing of a map or a graph, and F = {f±} be a set of graphical features of T to be labeled. Each graphi¬ cal feature ±ι in the set F may have more than one label asso¬
ciated therewith. Let L ={/.} be the set of labels associated
with a feature fj_. The solution to the GFLP problem consists of two phases: (1) position generation, and (2) position selection. During the first phase each label I1, is assigned a
set of position candidates A-* ={#/} . The quality of different candidates of a given label may vary, but each of them is accepted as capable of presenting the relevant information adequately. During the second phase, a single position
a,,. .N eA-* for each label I1, is selected. A final placement of Kh]) J all labels of all graphical features of some problem instance, say is associated with a score or a cost c(A) that
Figure imgf000011_0001
indicates its quality. The GFLP can be viewed as a non-linear optimization problem, where the objective is to find a label placement of minimum total cost under a plurality of con¬ straints.
In other words, the practical solution of the GFLP involves a set of constraints and partial cost functions that linearly form a total cost function to be optimized. Taken together, these functions reflect tradeoffs among competing concerns involved in typical map labeling problems. These cost functions must take into consideration the following constraints:
Overlapping prevention: No label overlaps with other labels or other graphical features including grid lines. This is especially important for horizontal labels.
Proximity enforcement:. A label must be in close proximity to the graphical feature it annotates. This applies to a point or a polyline. .
Boundary enforcement: A label is forced to be within a specified area. This applies, for example, to an areal graphical feature.
Centration: Labels are penalized if they are far from the center of a graphical feature, e.g., an areal graphical feature, according to some distribution function. The distribution function is related to shape analysis, and is not necessarily homogeneous.
Spread: Replicated labels, or any two labels, are sufficiently far from each other.
Partial Order: A label associated with a graphical feature must be closer to the graphical feature than other labels. In the case of a point, this is trivial. However, in case of a line, this must be defined more accurately.
Priority: The omission of labels due to dense label placements or conflicts in general may be allowed. Density Distribution: Names should neither be fully dispersed over the map, nor should they be densely clustered.
Font: Type arrangement should reflect the. classification and hierarchy of objects on the map. Variation of font type, style, and size is generally allowed. In addition to the above requirements, it is recom¬ mended to observe the following considerations as a matter of good labeling practice: Punctiform Designations.
Horizontal labels should not be set on grid lines.
The best place for a point designation of a point la¬ bel is to the right and slightly above the point symbol. If this is not possible, then the next best choice, given that free space is available only over or under the object, is over the object.
The optimum distance of a point label from its object depends on the map scale, and further, on the relative sizes of the object and the label font size.
The label of a point object that relates to a linear feature must lie entirely on the same side of the point object as the point object lies with respect to the linear feature.
The label of a point object that extends to both sides of a linear feature must also span the linear feature.
Labels of shore and coastal places should be written completely on the water surface. Labels of places not lying on the shore should be written completely on the land surface.
The orientation of labels of coastal places should be arranged so as to point outwards from the coast.
An alternate name, if present, is preferably printed in a lighter font type than a primary name, and must either be symmetrically placed beneath the primary name, or be enclosed in brackets closely following the primary name. A mountain summit is considered as a punctiform desig¬ nation. Mountain passes are variably treated according to the rules of punctiform or linear designations, depending on scale and importance. Sometimes it is necessary to break the label into multiple lines. Linear Designations.
A label should be placed along the line.- to which it refers, and preferably over the line rather than under it. The orientation of labels should conform to the curva¬ ture of the line, however complicated. Nevertheless, extreme curvatures should be avoided.
Horizontal or nearly horizontal orientations are pre- ferred.
The label should be slightly spaced apart from the line that it annotates.
The label should be repeated at suitable intervals along the line. The label should be placed where the line bends least, does not run vertically up and down, and where there are fewest objects.
Labels of vertical lines should be oriented upward.
Areal Designations.
Labels should be bent, and spread so that they stretch as much as possible across the horizontal axis of the area.
Labels should be expanded towards the boundaries of the area, leaving a margin at least 1.5 times the size of the letters on either end of the label.
Long labels can be divided into multiple horizontal lines using hyphens.
Non-horizontal labels should be slightly curved along a circular arc no greater than 60 degrees.
Objects such as large rivers are by definition areal features, as the designation is placed inside the area. How- ever, these objects also fall under certain rules for linear designations. The labels of these features should not be spaced out or spread. Rather, they should be repeated at suitable intervals.
Labels should be upright as possible, and clockwise oriented for left-to-right languages. On the left half of the map, the writing direction should be from bottom to top, while on the right half of the map the writing direction should be from top to bottom.
In ambiguous cases, labels of adjacent areas should have the same direction. Letters should be spaced apart not more than twice the type height, depending also on the map contents and density, and must be equidistant from one another.
Labels should overlap as little as possible. If they must cross, right angles are to be avoided. Figures formed through visual connection of two or more different labels should be avoided as much as possible.
Labels should overlap other features as little as possible.
Labels should interrupt line objects when they pass across them.
Special Issues.
On small scale maps, labels should be parallel to the lines of latitude, and should not be set on grid lines.
System Overview. Turning now to the drawings, reference is initially made to Fig. 1, which schematically illustrates a system 10 that is constructed and operative in accordance with a dis¬ closed embodiment of the invention. The above-noted map label¬ ing problem is solved in a client-server environment. Data ena- bling the display of a map 12, at least partly constructed and formatted by a map server 14, is transmitted from the server 14 to a client 16 over a suitable data network 18, which can be the Internet.
The client 16 is typically connected to the network 18 by a wireless link and is operated by a mobile user 20. The map 12 is presented on a display screen of the client 16 ac¬ cording to some criteria set up at the client 16. Some of the data may be preprocessed and saved on the server 14; however, most data is processed in real time on the server 14. The cli¬ ent 16 runs a process that does little more than display the map on the display screen. While the client 16 can be realized as one of many different devices, such as personal computers or workstations, typically it is a thin client, having limited re¬ sources, such as a mobile telephone, PDA, or a specialized navigation device. While one client is shown representatively in Fig. 1, the server 14 is capable of processing concurrent requests from many clients, both mobile and stationary, which may have different capabilities.
In this configuration, the client 16 typically issues a request to the server 14. In response, the server 14 proc¬ esses data relevant to the request. This data consists of com- binations of raw cartographic data, pre-established configura¬ tion parameters set up by the user 20, and sometimes preproc¬ essed data that was stored during previous sessions. Processing by the server 14 results in geometric data appropriate for dis¬ play of the map on the screen of the client 16, and may include additional information, as may be required for local naviga¬ tion. The server 14 transmits processing results to the cli¬ ent 16.
The server 14 is often required to process many re¬ quests from the same or different clients within a short period of time, and serve each essentially in real time. Label place¬ ment is one of the functions that are performed by the server 14 responsively to a client request. For example, a la¬ bel attribute may change responsively to a change in a display requirement at the client 16, for example, zoom level, window resizing, or a search for a specific graphic feature. As fur¬ ther examples, the font type or size in one or more labels may change, or the display of an optional label may become manda¬ tory, overriding a template pattern at a given zoom level.
In other cases, it may be necessary to perform map ro¬ tation as a response to an action of the user 20, such as vary- ing his direction, or varying the orientation of the client 16. In such a case, the best way to display the map 12 is to rotate it, such that map is aligned with a current direction of navi¬ gational advance. It is often the case that some labels must be rotated together with the graphic features, while other labels must remain horizontal or be constrained to another orienta¬ tion.
Reference is now made to Fig. 2, which is a high level flow chart illustrating a method of map labeling in accordance with a disclosed embodiment of the invention. At initial step 22, a choice of rules is made by an operator, also re¬ ferred to herein as a moderator. The rules are bound to a map to be labeled. The moderator is permitted to change existing rules and introduce new ones, which are saved in a rule data¬ base. Thus, the rules that are applicable to a given map are flexible. More particularly, the moderator is allowed to select the algorithms used to accomplish various tasks, the scope of preprocessing, and is permitted to set parameters for selected algorithms. Examples of such parameters include the number of candidate positions per label, display parameters, and maximum zoom levels.
The label placement task is broken into three sub- tasks 24, 26, 28, which are generally performed independently but can sometimes interchange data at different stages. Each subtask has its own pipeline. System throughput can thus be maximized as a result of parallel or multi-threaded processing by the server 14 (Fig. 2) , wherein each of the subtasks has its own series of processes or threads, which can exchange data with one another.
The subtasks 24, 26, 28 include a static phase 30, consisting of preprocessing stages 32, 34, 36, which are exe- cuted offline, and an online real-time phase 38, consisting of processing stages 40, 42, 44. The subtasks 24, 26, 28 are exe¬ cuted in a pipeline fashion. Each process that corresponds to a subtask consumes data produced by the previous process in the pipe. Thus, the processing stages 40, 42, 44 consume data 46, 48, 50, generated respectively during the corresponding pre¬ processing stages 32, 34, 36 in order to expedite the entire procedure.
Different map and labeling characteristics govern the division of each subtask into the preprocessing and real-time processing phases. For example, if a label bounding rectangle and orientation of some graphic features are known in advance, a set of candidate positions for these graphic features can be computed during the static phase 30. On the other hand, if a label of a graphic feature must be kept horizontal, and the user is allowed to rotate the map, the candidate positions for this feature must be adjusted each rotation during the real¬ time phase 38.
The subtask 24 is candidate position generation. Given a point, line, or area feature as input, the object is to iden- tify a set of candidate positions for its label. The subtask 24 produces a set of candidate label positions. The following gen¬ eral rules apply to the subtask 24 in the current embodiment, based on practical considerations of the computation of metrics and the evaluation of cost functions. However, in other embodi- ments some of these rules may be relaxed, depending on hardware performance. The number of generated positions should be relatively- small. An upper bound of 32 candidate positions is currently applied to each graphical feature.
As a matter of strategy, tradeoffs attempt to strike an appropriate balance between efficiency and quality. Identi¬ fying only high quality label positions could be too expensive and difficult, whereas naive methods tend to produce too many low-quality candidates.
The candidate positions for a given label should oc- cupy a variety of different locations near its feature, in or¬ der to facilitate tradeoffs between label positions of differ¬ ent features, while seeking a globally optimal labeling.
Initial position selection is performed in the sub- task 26. A set of candidate label positions is assembled for each map feature. This set may be derived in many combinations from the set generated by the subtask 24, and from positions initially selected in the preprocessing stage 34. Given a set of candidate label positions for each map feature, an initial labeling is then computed as the output of the subtask 26. It consists of a single label position for each set.
Final position selection is performed in the sub¬ task 28. Given a set of candidate label positions for each map feature, and an initial labeling, the overall quality of the labeling is improved, as determined by an evaluation function, by repeatedly replacing the chosen position for each map fea¬ ture, until some termination conditions are met. The initial labeling may be derived in various combinations from the ini¬ tial labeling constructed in the subtask 36, and from position selection in the processing stage 44. In a final labeling 52, one label position is drawn from each feature's set of candi¬ date positions. Simulated Annealing.
Final position selection in the processing stage 44 is accomplished by simulated annealing, and in some embodiments, using a variant of simulated annealing referred as simulated quenching. Simulated annealing is well known in the art, for example from the document S. Kirkpatrick, C. D. Gelatt, and M. P. Vecchi. Optimization by Simulated Annealing. Science, Number 4598, 13 May 1983, 220, 4598:671-680, 1983. Its effi¬ ciency and quality are controlled by many parameters. The proc- essing stage 44 constitutes a learning system, in which these parameters are iteratively updated, based on previous itera¬ tions.
Briefly, simulated annealing is an iterative and sto¬ chastic technique modeled on the physical annealing process. It consists of successive update steps, where the update step length is proportional to an arbitrarily set parameter, playing the role of temperature in the physical world. As such, the technique is suitable for simulating learning processes, and in the context of map labeling, solving minimization problems, where a continuous gradient function to guide the minimization does not exist, or where standard gradient following algorithms are likely to become trapped at a local minimum. By analogy with the annealing of materials, the temperature is set high in the early stages of the process for faster learning or minimi- zation. Then it is reduced for greater stability.
Simulated annealing is capable of processing cost functions possessing significant degrees of nonlinearities, discontinuities, and stochasticity. It can also process arbi¬ trary boundary conditions and constraints imposed on cost func- tions. It can find an optimal solution, but at the expense of time consumption. Its apparent ease of implementation is decep¬ tive, however. Fine-tuning the algorithm to solve specific problems within practical time limits is a serious technical difficulty, which has been solved for the map labeling problem according to the present invention.
Reference is now made to Fig. 3, which is a flow chart illustrating the application of simulated annealing to an ini¬ tial map labeling, in accordance with a disclosed embodiment of the invention. At initial step 54 an initial labeling L is pro¬ vided, as generally disclosed hereinabove. A cost function c (L) is evaluated with respect to the labeling L, c <- c (L) . Next, at step 56 a map feature in the labeling L is chosen randomly.
Next, at step 58, the label of the feature that was chosen in step 56 is moved to a new position that is randomly selected from that feature's set of candidate positions. A new labeling is computed, I/ r— labeling (L) .
Next, at step 60, a difference Δ in the labeling cost function c caused by repositioning the label in step 58 is com¬ puted, Δ+-Δ(L,I/).
Control now proceeds to decision step 62, where it is determined if the new labeling L' is superior to the labeling L. This is the case if Δ < 0.
If the determination at decision step 62 is affirma¬ tive, then control proceeds to step 64. The new labeling L' is accepted for use in subsequent iterations, L <- L'. If the determination at decision step 62 is negative, then control proceeds to decision step 66. The new labeling I/ may still be accepted probabilistically, with probability £jc(Δ) , wherein
Figure imgf000021_0001
T is a parameter analogous to temperature, and k is an anneal¬ ing time step. A suitable annealing schedule is
Figure imgf000022_0001
A variant of simulated annealing, known as simulated quenching, is used in the current embodiment for simplicity and efficiency. Simulated quenching trades ergodicity, that is, the 5 probability that any state will recur, for expediency by util¬ izing a relatively fast cooling schedule. The initial values of the temperature T, its reduction rate, reduction amount, and termination criteria for finding near-optimal solutions to the label-placement problem effectively are application dependent. 10 However, it is suitable to set an initial probability hg = 1/3 for the first n = 50 passes for acceptance of non-improving changes. An average value Sof the non-improving Δ values among the first n passes is computed, and Equation (2) solved for k = 0:
Figure imgf000022_0002
From then on, T is reduced periodically according to the fol¬ lowing schedule:
Figure imgf000022_0003
where λ is set to 0.9. The period (number of random perturba- 20 tions with constant T) is proportional to the number of maximal candidate positions per label. The period is set to 10 in the current embodiment.
At decision step 66 it is determined whether the new labeling I/ is to be accepted according to the probability 25 hfc(Δ) .
If the determination at decision step 66 is negative, then control proceeds to decision step 68, which is described below. If the determination at decision step 66 is affirma¬ tive, then control proceeds to step 64. The new labeling I' is accepted for use as the labeling L in subsequent iterations .
Control now proceeds to decision step 68, where it is determined if any of the following termination criterion have been met: (1) The number of temperature reductions exceeds
Ci = 100. This is a fail-safe condition, which is applied when all others fail. (2) The number of consecutive temperature re¬ ductions with no changes made exceeds c^ = 4. (3) The number of consecutive label repositionings (step 58) with no changes made in the labeling L exceeds a number that is proportional to the number of graphic features . A proportionality constant cj is set to cj = 4 in the current embodiment. For example, if there are 12 graphic features, this termination criterion is met if step 58 has been performed three times (12 / 4 = 3) with no change in the labeling L.
If the determination at decision step 68 is negative, then control returns to step 56 to begin a new iteration.
If the determination at decision step 68 is affirma- tive, then control proceeds to step 70. As noted above, the pa¬ rameters used in simulated annealing during the performance of decision step 66 have initial settings, which are now stored in a learning system. Each map to be labeled includes a database that has its own initial settings. These initial settings may vary from database to database, depending on various character¬ istics, such as the density of the labels in the database, or the purpose of the map. Some maps are intended to be used in navigation systems, in which case it is better not to condense labels excessively. Other maps are intended to display points of interest. In these cases, the final display should include as many labels as possible, so long as they are pairwise dis¬ joint in their interiors. Each time an iteration of simulated annealing ends, the cost of the final labeling is sent back to update the learning system for future exploitation. When the learning system is asked for a set of parameter values, it picks the values that produced the lowest cost in past sessions and then applies a small and random perturbation on some of the values before it sends the values to the simulated annealing process. A database might be associated with more than one in¬ stance of the learning system, if it is used for more than one purpose. Control now proceeds to an optional step 72. Simulated annealing is a stochastic technique. As such, it does not guar¬ antee optimal results. However, it usually produces practical near-optimal results. In some cases even near-optimal label placement includes two or more overlapping labels. In cases where the final label placement, whether produced by simulated annealing or any other technique, has conflicting labels, one or more conflicting labels are removed in order to improve clarity. In some embodiments, this may be done in accordance with parameters, such as the relative priority of each con- flicting label. When two labels are in conflict, the label with the lower priority is removed. When a label removal method is integrated with the simulated annealing technique disclosed above by including step 72, the quality of the final result in¬ creases. Control now proceeds to final step 74, and the proce¬ dure terminates.
Of course, application of the label placement method disclosed above with reference to Fig. 3 requires the ability to compute a single numeric score c (L) given a labeling L. Its overall efficiency depends crucially on efficient computation of the numeric difference between two successive labelings,
Δ(L,LO=c(L')-c(X). Virtual Candidate Position.
Referring again to Fig. 2, when generating candidate label positions in subtask 24, a finite set of candidate posi¬ tions are computed for each label. In addition, an additional candidate label position is inserted in each set, which is called the virtual candidate position. A label associated with the virtual candidate position in the final placement is re¬ moved. The metric parameters of the virtual candidate position are carefully designed so as to yield a high cost when the vir- tual position is selected during subtask 24, yet lower than the cost of a conflict in which the label might become involved. Details of various metrics used in the computation are dis¬ closed hereinbelow.
The virtual candidate position has a zero size bound- ing rectangle. When the virtual candidate position of a label is selected in the placement process, the label is not dis¬ played and effectively eliminated. It may be noted that the simulated annealing process does not distinguish between the virtual candidate and the other candidate for any graphic fea- ture. Its cost is computed by the chosen metrics. Even with the use of the virtual candidate technique, however, conflicts may remain at the end of the annealing process. Therefore, it is recommended that step 72, the optional candidate removal step described above, be performed. The static cost of the virtual candidate position v of a label 1 is given by the following formula: c(v) = b + priority(1) * s (5), where b and s are respectively a bias and scale chosen by the moderator, the operator "*" represents multiplication, and pri- ority is an attribute of label types that is set by the modera¬ tor, but may also be sensitive to client actions. For example, if a client looks for a particular graphic feature, e.g., a city, lake, street, then the priority of the graphic feature's label grows.
General Metrics.
The following general metrics are used in the develop- ment of the cost function c (L) and quantify spatial crowding.
Point_over - measures the negative effect of overlap¬ ping between the label and a point symbol p. This metric simply counts the number of such overlaps.
Point_over = intersect (p) where intersect (p) is 1 if the label intersects the point sym¬ bol p, and 0 otherwise.
Line_over - measures the effect of overlapping between a label and a line symbol. This metric takes in account the in¬ tersection angle, as a label position that intersects the poly- line of a line feature at a right angle is preferred over one that is parallel to the polyline.
Reference is now made to Fig. 4, which is a diagram illustrating the geometric significance of the metric line_over, which is utilized in accordance with a disclosed em- bodiment of the invention. Let pi and P2 be the points where a polyline stabs a label bounding rectangle 76. Let the normal- ized vector b point in the direction of the label's baseline, and the vector
Figure imgf000026_0001
then
Linejoυer = intersect(l)(l + c\v - b\) r
where intersect (1) is 1, if the label intersects the line sym¬ bol 1, and 0 otherwise. The metric line_over evaluates to a nu¬ meric value taken from the range [0.0; c] , where c is a con- stant. The value 9 is suitable for the constant c. The formula given above for the metric line_over is based solely on the label and line symbol directions. A higher quality, but more time consuming alternative is to consider the area of intersection, using a metric area_over, the definition of which follows.
Area__over - measures the effect of overlapping between a label and an area symbol.
Area_over = intersection (a) , where intersection (a) is the normalized area of intersection between a label and an area symbol a.
Label_over - the number of overlaps between a candi¬ date label position and the candidate positions of all other labels currently selected. This metric is the only one that cannot be precomputed for the candidate label positions, and instead must be recomputed continually during the labeling po¬ sition selection. In order to expedite the reevaluation of this metric, all pairs of intersections between candidate label po- sitions are precomputed once they are generated.
Potentially Overlapping Lists. It will be recalled that efficient computation of the numeric difference between the cost of two successive label- ings, Δ(JD5J./) = c{Lr) —cfX), is crucial to the practical applica¬ tion of simulated annealing to map labeling.
In performing this computation a distinction is made between metrics that govern the positioning of labels with re¬ spect to the features they tag, and metrics that quantify spa¬ tial crowding and overlap, and that apply to each graphical feature equally regardless of its type (i.e., point, line, area) . Each label contributes the number of overlaps between its position and all others to the metric Label_over (L) . In¬ deed, the computational effort in computing the Label_over (L) metric of. two successive labelings dominates the time required for the computation of the numeric difference between the cost of two successive labelings, Δ(IΛL).
In the current embodiment, data for each candidate po¬ sition of each label is precomputed once the candidate position has been generated. This data is used to expedite the reevalu- ation of the metric Label_over (L) during label position genera¬ tion. To this end, two strategies have been implemented that produce different, but related types of precomputed data. Only one strategy is applied during each label placement session. The selection of the appropriate strategy is governed by rules introduced by the moderator.
If a session involves many labels, especially labels that tag line features, a sophisticated strategy is typically selected. This strategy is based on a sweep line algorithm in- troduced in the document J. L. Bentley and T. A. Ottmann. Algorithms for reporting and counting geometric intersections, IEEE Trans. Comput. , C-28 (9) : 643-647, Sept. 1979. A vertical line, called a sweep line, is swept over a plane from left to right. The algorithm as proposed by Bentley and Ottmann was de- signed to handle segments. A variant is used in the invention, which handles bounding boxes of label candidate-positions.
The running time of this algorithm for a set of n in¬ put bounded boxes that intersect in k points is 0((n + k) log n) . The output of the algorithm consists of overlapping candi- date positions. Each candidate position A of each label is as¬ sociated with a linked list of all the candidate positions of other labels that overlap the candidate position A.
The overhead of the sweep line algorithm is quite sig¬ nificant, and for sessions with a small number of labels an al- ternative strategy is preferred. The alternative strategy has - a worse asymptotic time complexity and produces conservative results, but involves relatively little overhead. Consequently, the time required to execute the label position placement proc¬ ess for cases having a small number of labels is reduced. For each label 2, the "super bounding box" (bounding rectangle) s (1) of all candidate positions is computed. A super bounding box s (1) is the smallest box that encloses all the elementary boxes that enclose individual candidate label positions of a particular label 2. Then, for each label 2 all other labels are traversed. If the super bounding-box s (I') of another label 1' overlaps the super bounding box s (1) , the label 2' is inserted into the linked list of potentially overlapping-labels associ¬ ated with the label 2, and the label 2 is inserted into the linked list of potentially overlapping-labels associated with the label 1' . This method often turns out to be superior, al¬ though it produces conservative results. For example, consider a label 2 of a line that has a large degree of curvature. The super bounding box s (1) of the label 2 could be very large, and thus could overlap many other candidate positions, which in fact do not overlap any candidate position of the label 2.
Consider a label 2 chosen at some iteration of the an- nealing process, and assume that the position A is the candi¬ date position currently selected for the label 2, and the posi¬ tion A" is the newly selected candidate position. It is neces¬ sary to compute
Label_over(L') - Label_over(L) , where L is the current labeling and L' is a new labeling when the iteration completes. If the sweep-line based strategy is in effect, then all that need be done is traverse the linked lists of overlapping candidate-positions of the positions A and A'. Recall that exactly one candidate position of every label is currently selected. During each of the two traversals, the num¬ ber of candidates that are currently selected for their respec¬ tive labels is counted, and the difference between the counts is returned. If, on the other hand, the simple strategy is in effect, more computation is necessary. Since the lists are con¬ servative, they are large, and all the candidate positions in the lists may not actually intersect their respective associ- ated positions A and A' . In this case, it is necessary to trav¬ erse the linked lists of potentially overlapping-labels. For each label in the lists of the positions A and A', it is neces¬ sary to compute whether its selected candidate position really intersects the positions A, A' respectively. Area Label Metrics.
Metrics relating to areal features quantify the rela¬ tionship between a label position and the area feature that it annotates. A single metric is generally sufficient for satis¬ factory area-feature labeling. However, in the case of areas having certain shapes, additional metrics that are sensitive to the shape of the area are recommended to be incorporated.
Centroidness - measures the proximity of a label to the centroid of the area it references. Let c be the distance from the center of the label position to the centroid of its area feature, and let s be the distance from the area's cen¬ troid to its farthest vertex. A suitable linear function is: c Ceπtroiάness = - s
Areal Label Candidate Positions.
Given a polygon P that describes a graphical areal feature, and the dimensions and orientation of the bounding rectangle of an associated label, a large number of candidate positions are generated, and then culled by static (precom- putable) metrics, similar to the line position generation pro¬ cedure, which is described below. Areal feature metrics quan- tify the relationship between a label position and the areal feature tagged by the label.
The generation of the set of potential candidate posi¬ tions consists of two computations. During the first computa- tion, a "skeleton" S of the polygon P is computed. The skeleton of a polygon is a tree-like structure in which leaves of the tree are the vertices of the polygon. Thus, the skeleton ap¬ pears to "support" the polygon. In a second computation, candi¬ date positions are generated and evaluated. The static cost of each candidate position depends on the distance of its bound- ing-rectangle center from the skeleton, and on the distance of the skeleton at the nearest point to the bounding rectangle from the boundary of the polygon cropped along the window frame. In some embodiments, the first computation is per¬ formed during the static phase 30 (Fig. 2)) . Thus, when the second computation begins, the polygon P is already cropped. An inset polygon p' is computed, such that if the label is cen¬ tered at any point in the inset polygon pr, the label will lie entirely inside the polygon P. If the inset polygon pr is empty, then it is impossible to place the label entirely inside the polygon P. In this case the area is labeled as if it were a point feature. When the inset polygon pf is not empty, its skeleton is computed and passed to the second computation. Sometimes it is not desirable to perform the first computation during the static phase 30, for example due to mem¬ ory limitations in the processor. In this event, both computa¬ tions are performed during the real-time phase 38 (Fig. 2) .
In embodiments in which the first computation is per- formed during the static phase 30, the procedure continues as follows. If the label's bounding rectangle and orientation are unknown in advance, , then a relatively large set of potential candidate positions is generated and stored. Then, during the real-time phase 38 (Fig. 2), candidate positions that do not lie entirely inside the polygon P are culled out.
If the attributes of the label, i.e., bounding- rectangle size and orientation, are known in advance, then only intermediate results that represent the skeleton of the polygon P (and not the 'inset polygon p') are computed and stored. Then, during the real-time phase 38, the skeleton is retrieved and cropped along the window frame, and the final candidates are verified to lie entirely inside the polygon P cropped along the window frame.
Two strategies for computing the skeleton have been implemented. The selection of the appropriate strategy is gov¬ erned by rules introduced by the moderator, and is based on the complexity of the polygons, and on time and space constraints of the computing device. If the generation of the entire set of potential candidate positions can be completed during the static phase 30 (Fig. 2) , or if the boundary of the polygon P
(or the inset polygon pr) consists of a relatively few seg- ments, then a sophisticated strategy based on the computation of the medial axes of the polygon is selected. Otherwise, a simple strategy based on the decomposition of the polygon into convex polygons is selected. In the latter case, the result is a sparse skeleton. A definition is useful to facilitate understanding of the computation of the medial axes: The Voronoi diagram of a point set Q decomposes the plane into regions around each point such that each point within a region is closer to some site in the set Q than to any other site in the set Q. Similarly, the Voronoi diagram of a set of line segments L decomposes the plane into regions around each line segment such that each point within a region is closer to a particular site in the set L than to any other site in the set L.
The polygon P is defined by a collection of line seg¬ ments, such that each consecutive pair of line segments shares a vertex. The medial axis transform of a polygon is simply the portion of the line-segment Voronoi diagram that lies within the polygon. In the current embodiment, medial axes are com¬ puted using an algorithm described in the document S. Fortune. A Sweep-line Algorithm for Voronoi Diagrams. Algorithmica, 2:153-174, 1987. This implementation allows for incremental construction of the medial axes during the dynamic stage, as the need to crop the polygon along the window frame may arise.
The medial axis transformation of a polygon without holes is always a tree, making it fairly easy to manipulate and measure distances. For example, this can be done using the "edit distance" between the skeleton of a known model and the skeleton of an unknown object. Whenever the two skeletons are close enough, an unknown object can be classified as an in- stance of the known model. To this end, the distance between the skeleton and a portion of the bounding rectangle of a can¬ didate position must be computed. The skeleton of a polygon with holes is not a tree, but an embedded planar graph, which is easy to work with. The simple strategy is used either when time dictates faster results than can be provided by medial axes computation, or when the medial axes are likely to be too complex. A large amount of memory is required to accommodate the representation of complex medial axes. Furthermore, cropping along a window frame may consume an unacceptable large amount of time during the dynamic stage. Thus, to implement the simple strategy, the polygon is decomposed into a plurality of "simple" polygons, and the medial axes of each are computed. The final result is the union of all the medial axes. In an extreme case, the poly¬ gon is decomposed into triangles, and the final result is the finite set of the triangle centers. While results may be quickly obtained using the simple strategy, the quality of these results is not generally as good as with the more sophis¬ ticated medial axis computation.
Potential Candidate Position Generation.
Two strategies are used to compute the set of poten- tial areal label candidate positions. The selection of the ap¬ propriate strategy is governed by rules introduced by the mod¬ erator, and is mainly based on the type of intermediate results produced in the static phase 30 (Fig. 2) . The first strategy is based on a random approach. We generate n quasirandom points evenly distributed throughout a polygon P', using the well- known Sobol quasirandom sequence, and generate label positions centered at these points. The skeleton is traversed only to evaluate the cost of each candidate. The second strategy is an exhaustive search. Polyline Metrics - Terminology.
Reference is now made to Fig. 5, which is a diagram of map features and labels illustrating certain terminology relat¬ ing to polyline metrics, which are employed in accordance with a disclosed embodiment of the invention. A map label 78 in the top figure is positioned above the line that it annotates, while a map label 80 in the bottom figure is positioned on the line.
A baseline 82 is a line upon which characters of the map label 78 are drawn. A skyline 84 is the union of the bounding boxes of the characters of a map label. The skyline may extend above and be¬ low the baseline. A midline 86 is a line parallel to the baseline and passes thought the middle of the extreme points of the skyline.
A swath 88 is a strip perpendicular to the baseline and centered about the label. The width of the swath is 1.2 times the width of the label.
A swath line 90 is a part of a polyline 92 near the map label 78 that intersects the swath 88.
Polyline Metrics - Definitions.
Ideal distance - the desired distance between the baseline and the swath line when the label is positioned above the line. Ideally, the swath line is straight, and its distance from the baseline remains the ideal distance along the swath.
Ascent - the distance from the baseline to the top of capital letters of the label type. Average distance - If the label is positioned above a feature, then the average distance d is the area in the swath bounded by the swath line from below and by the lower envelope of the skyline from above divided by the swath width. Simi¬ larly, if the label is positioned below a feature, then the av- erage distance d is the area in the swath bounded by the swath line from above and by the upper envelope of the skyline from below divided by the swath width. If the label is positioned on the feature, then the average distance d is the area in the swath bounded by the swath line and the midline divided by the swath width. This metric yields an optimal measure of 0.0 for an average distance equal to the ideal distance as defined above. δ = ascent/ & + thickness /2
Figure imgf000036_0001
where δ is the ideal distance, and r is chosen to be 2.
Minimum Distance - the minimum distance between any two points on the swath line and on the skyline or midline de- pending on whether the label is positioned above, below, or on the polyline.
Maximum distance - the maximum distance between any two points on the swath line and on the skyline or midline de¬ pending on whether the label is positioned above, below, or on the polyline.
Curvature of a line or descenders in the label might result in a label that is in very close proximity with its line feature, or even on it, while the average distance is kept large. This potential anomaly is quantified using the simple minimum and maximum distance. The formula for minimum distance is
Figure imgf000036_0002
and the formula for the maximum distance is similar, as explained above. Aboveness - This metric can be understood from a con¬ sideration of a horizontal line feature and a label running from left to right: the label may be placed above or below the line. The metric aboveness has a value of 0.0 if the position is above the line, 1.0 if it is below the line. Centeredness - each polyline is divided into sections, such that each section accommodates a single occurrence of the label associated with the line feature. Thus, a label is re¬ peated along the line. The number of sections and the size of each section are controlled by the moderator. The global metric centeredness is used to evaluate the proximity of a label and the center of its associated polyline section. Let p be a point on a polyline closest to the midpoint of the label baseline. Let Ii be the distance along the polyline from one end of the section to p, and let 1 be the section's total length. The ideal case is clearly when the point p lies in the center, that is Ii = 1.
A boundary case occurs when p lies at an end of a sec¬ tion. That is, 1] = 0 or Ij = 1. The metric centeredness is calculated as:
-I
Centeredness =
The procedure shown in Listing 1 can be used to compute candidate positions and orientations of a label for a given line section, S = {s(t) I t = [0; 1] } and its label L. It produces a list of pairs of a translation and an orientation. The translation reference point is language dependent. For left-to-right languages, e.g., English, it is the left corner of the label baseline. Listing 1
Figure imgf000038_0001
inc -t— \l repeat
Output pa,ir(s(t)., ^f-) t *- t + l until i + 1 > 1
Pinned Labels. Labels may be partially or totally pinned. Each label
) is either directly associated with a set of attributes or indi¬ rectly associated through its membership in a label-template set. The number of candidate positions to be generated for a given label is an example of such an attribute. The candidate positions themselves are attributes. In this context, each can¬ didate position can be fully described by its bounding box and orientation or partially described by its center point only. An icon that represents a point-of-interest on the map can serve as a label. In this case, a single fully described candidate position is provided. The simulated annealing process respects this label when attempting to place all other labels.
Viewport Issues.
The viewport of the map is a portion of a map that is displayed on the client window and is therefore visible by the client.
It is assumed that the map viewport is a rectangle, and in most cases an iso-rectangle, that is, a rectangle with sides parallel to the major axes of the map coordinate system.
Referring again to Fig. 1, the user 20 can apply com- mands that change the map viewport and the resolution within the map viewport. The viewport can be shifted as a response to a user command, and in some applications, it can be rotated. When a viewport is established, the graphical features that lie inside the viewport must be recognized and shifted to align with the display screen of the client 16. Shifting is handled globally by adjusting the projection of the map viewport into the client window. Culling the graphical features that do not map into the map viewport and their corresponding candidate po¬ sitions is a straightforward application of spatial range searching.
If the viewport is not an iso-rectangle, the iso- rectangle bounding box is computed. All graphical features that lie inside the bounding box are identified, and then, by iter¬ ating over the potential features sequentially, those graphical features that do not lie inside the viewport are culled. This reduces the problem to a simpler problem referred to as or¬ thogonal spatial range searching.
The structures "range tree" and "Kd-tree" are two well-known data structures suitable for orthogonal range searching. While the range tree is theoretically superior to the Kd-tree, the latter often seems to perform better. Each of these trees is derived from a set of points. During the static phase 30 (Fig. 2), the tree is constructed. During the real¬ time phase 38, all points that lie inside the query box repre- senting the map viewport are extracted. The Kd-tree data struc¬ ture, specifically a K2-tree variant, is preferred, as it is easier to implement, and handles line and polygon features as well.
Map rotation requires special treatment. Consider a map that is rotated as a response to a user command. Labels are divided into two subsets. The first subset consists of labels that are oriented according to- the orientation and position of the graphical features they annotate. The second subset con¬ sists of labels that must be oriented in a predetermined orien¬ tation, typically a horizontal orientation. The candidate posi¬ tions of all labels are rotated along with the rest of the map features in real time. Then, each candidate position of each label that is required to be confined to a predetermined orien¬ tation is rotated about its associated graphical feature in the opposite direction, so as to maintain its orientation.
It will be appreciated by persons skilled in the art that the present invention is not limited to what has been par¬ ticularly shown and described hereinabove. Rather, the scope of the present invention includes both combinations and . sub- combinations of the various features described hereinabove, as well as variations and modifications thereof that are not in the prior art, which would occur to persons skilled in the art upon reading the foregoing description.

Claims

Claims :
1. A method of automatically annotating features on a map, comprising the steps of: in a first subtask, identifying a set of candidate positions for labels of said features; in a second subtask, for each of said features selecting initial ones of said candidate positions; in a third subtask, evaluating different ones of said candidate positions in comparison with said initial ones of said candidate positions to define a labeling; and responsively to said step of evaluating, replacing at least a portion of said initial ones of said candidate positions with corresponding said different ones of said candidate positions so as to optimize a quality function of said labeling, wherein said first subtask, said second subtask, and said third subtask each comprise a static phase, and a real-time phase that is executed subsequent to said static phase responsively to data produced in said static phase.
2. The method according to claim 1, wherein said static phase of said first subtask, said static phase of said second subtask, and said static phase of said third subtask comprise concurrently executing static computer processes, data being exchanged among said static computer processes during performance thereof.
3. The method according to claim 1, wherein said real-time phase of said first subtask, said real-time phase of said second subtask, and said real-time phase of said third subtask comprise concurrently executing real-time computer processes, real-time data produced in said real-time computer processes being exchanged among said real-time computer processes during performance thereof.
4. The method according to claim 3, wherein said real-time computer processes are shared between a first computer and a second computer that is linked to said first computer, said real-time data being exchanged therebetween.
5. The method according to claim 1, wherein said third subtask is performed iteratively by simulated annealing.
6. The method according to claim 1, wherein said third subtask is performed iteratively by simulated quenching.
7. The method according to claim 1, wherein said set of candidate positions comprises a virtual candidate position, further comprising the step of omitting those of said labels that correspond to said virtual candidate position when said virtual candidate position is included in a final version of said labeling.
8. The method according to claim 1, further comprising the steps of: determining a number of overlaps between a first label position and other label positions of said labeling identifying a viewport of said map; and culling said candidate positions of said features that fall outside said viewport.
9. The method according to claim 1, further comprising the steps of: identifying pairs of intersections between said candidate positions; and thereafter generating a linked list of overlaps between one of said candidate positions and others of said candidate positions.
10. The method according to claim 9, wherein a count of said overlaps is determined using a sweep line algorithm.
11. The method according to claim 9, wherein a count of said overlaps is determined by counting overlaps between a super bounding box of said one candidate position and super bounding boxes of said other candidate positions of said linked list.
12. The method according to claim 1, wherein said features include an areal feature, and an evaluation of said quality function comprises the steps of: constructing a polygon that describes said areal feature; constructing a skeleton of said polygon; constructing a bounding rectangle of a candidate position of said areal feature; and determining a distance between a center of said bounding rectangle and said skeleton.
13. The method according to claim 12, wherein said steps of constructing a polygon, constructing a skeleton, and constructing a bounding rectangle are performed during said static phase, further comprising the steps of: defining a cropped polygon as a portion of said polygon; thereafter constructing an inset polygon in said cropped polygon; and ■ determining whether one of said labels of said areal feature, when centered at any point in said inset polygon, lies entirely within said cropped polygon.
14. The method according to claim 13, further comprising the step of computing a medial axis transformation of said polygon.
15. The method according to claim 14, further comprising the steps of decomposing said polygon into a plurality of simple polygons, wherein said medial axis transformation comprises a union of medial axis transformations of said simple polygons.
16. The method according to claim 13, wherein said candidate positions are centered on quasirandom points that are distributed throughout said polygon.
17. A computer software product, including a computer- readable medium in which computer program instructions are stored, which instructions, when read by inter-connected computers, cause the computers to perform a method of automatically annotating features on a map, comprising the steps of: in a first subtask, identifying a set of candidate positions for each label of said features; in a second subtask, for each of said features selecting initial ones of said candidate positions; in a third subtask, evaluating different ones of said candidate positions in comparison with said initial ones of said candidate positions to define a labeling; and responsively to said step of evaluating, replacing at least a portion of said initial ones of said candidate positions with corresponding said different ones of said candidate positions so as to optimize a quality function of said labeling, wherein said first subtask, said second subtask, and said third subtask each comprise a static phase, and a real-time phase that is executed subsequent to said static phase responsively to data produced in said static phase.
18. The computer software product according to claim 17, wherein said static phase of said first subtask, said static phase of said second subtask, and said static phase of said third subtask comprise concurrently executing static computer processes, data being exchanged among said static computer processes during performance thereof.
19. The computer software product according to claim 17, wherein said real-time phase of said first subtask, said real¬ time phase of said second subtask, and said real-time phase of said third subtask comprise concurrently executing real-time computer processes, real-time data produced in said real-time computer processes being exchanged among said real-time computer processes during performance thereof.
20. The computer software product according to claim 19, wherein said real-time computer processes are shared between a first one of said inter-connected computers and a second one of said inter-connected computers, said real-time data being exchanged therebetween.
21. The computer software product according to claim 17, wherein said third subtask is performed iteratively by simulated annealing.
22. The computer software product according to claim 17, wherein said third subtask is performed iteratively by simulated quenching.
23. The computer software product according to claim 17, wherein said set of candidate positions comprises a virtual candidate position, further comprising the step of omitting said label corresponding to said virtual candidate position when said virtual candidate position is included in a final version of said labeling.
24. The computer software product according to claim 17, further comprising the steps of: identifying a viewport of said map; and culling said candidate positions of ones of said features that lie outside said viewport.
25. A system for automatically situating labels on a map, said map having features to be labeled, comprising: a server operative to perform the steps of: in a first subtask, identifying a set of candidate positions for each label of said features; in a second subtask, for each of said features selecting initial ones of said candidate positions; in a third subtask, evaluating different ones of said candidate positions in comparison with said initial ones of said candidate positions to define a labeling; and responsively to said step of evaluating, replacing at least a portion of said initial ones of said candidate positions with corresponding said different ones of said candidate positions so as to optimize a quality function of said labeling; and a client linked to said server, wherein responsively to a request by said client, said server is operative to transmit data descriptive of said map for display by said client, wherein said first subtask, said second subtask, and said third subtask each comprise a static phase that is executable when said server is offline with said client and a real-time phase that is executed when said server is online with said client and subsequent to said static phase responsively to data produced in said static phase.
26. The system according to claim 25, wherein said server is operative to execute concurrently a plurality of static computer processes to perform said static phase of said first subtask, said static phase of said second subtask, and said static phase of said third subtask.
27. The system according to claim 26, wherein said server and said client are operative to execute concurrently a plurality of real-time computer processes so as to jointly perform portions of said real-time phase of said first subtask, said real-time phase of said second subtask, and said real-time phase of said third subtask.
28. The system according to claim 25, wherein said third subtask is performed iteratively by simulated annealing.
29. The system according to claim 25, wherein said third subtask is performed iteratively by simulated quenching.
30. The system according to claim 25, wherein said set of candidate positions comprises a virtual candidate position, and said server is operative to omit said label corresponding to said virtual candidate position when said virtual candidate position is included in a final version of said labeling.
31. The system according to claim 25, further comprising the steps of: identifying a viewport of said map at said client; and culling said candidate positions of said features that fall outside said viewport.
PCT/IL2005/000892 2004-09-10 2005-08-17 Placement of map labels WO2006027773A2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US10/938,075 2004-09-10
US10/938,075 US7414637B2 (en) 2004-09-10 2004-09-10 Placement of map labels

Publications (2)

Publication Number Publication Date
WO2006027773A2 true WO2006027773A2 (en) 2006-03-16
WO2006027773A3 WO2006027773A3 (en) 2007-02-08

Family

ID=36035203

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/IL2005/000892 WO2006027773A2 (en) 2004-09-10 2005-08-17 Placement of map labels

Country Status (2)

Country Link
US (1) US7414637B2 (en)
WO (1) WO2006027773A2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010128295A1 (en) 2009-05-05 2010-11-11 The Electric Mapping Company Limited Electronic map generation
JP2012519676A (en) * 2009-03-06 2012-08-30 メディカル リサーチ カウンシル Protein kinase A and / or casein kinase II for reducing neurite outgrowth inhibition
US8315791B2 (en) 2010-06-18 2012-11-20 Nokia Coporation Method and apparatus for providing smart zooming of a geographic representation

Families Citing this family (57)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7425968B2 (en) * 2003-06-16 2008-09-16 Gelber Theodore J System and method for labeling maps
US7236882B2 (en) * 2005-01-26 2007-06-26 Broadcom Corporation Downloading map segment(s) to a cell phone based upon its GPS coordinates and mobility
US7353034B2 (en) 2005-04-04 2008-04-01 X One, Inc. Location sharing and tracking using mobile phones or other wireless devices
EP1963743B1 (en) * 2005-12-21 2016-09-07 Cree, Inc. Lighting device
ATE447160T1 (en) * 2006-03-31 2009-11-15 Research In Motion Ltd METHOD AND DEVICE FOR DYNAMIC LABELING OF MAP OBJECTS IN VISUALLY DISPLAYED CARDS OF MOBILE COMMUNICATION DEVICES
US7945852B1 (en) * 2006-05-19 2011-05-17 Washington State University Research Foundation Strategies for annotating digital maps
US20080051994A1 (en) * 2006-08-28 2008-02-28 Microsoft Corporation Representation and display of geographical popularity data
US20080086264A1 (en) * 2006-10-06 2008-04-10 Microsoft Corporation Popularity based geographical navigation
US7692655B2 (en) * 2007-02-16 2010-04-06 Mitac International Corporation Apparatus and method of generating curved baseline for map labeling
US8302033B2 (en) 2007-06-22 2012-10-30 Apple Inc. Touch screen device, method, and graphical user interface for providing maps, directions, and location-based information
WO2009012287A1 (en) * 2007-07-17 2009-01-22 Cree Led Lighting Solutions, Inc. Optical elements with internal optical features and methods of fabricating same
US8554475B2 (en) 2007-10-01 2013-10-08 Mitac International Corporation Static and dynamic contours
DE102007061657A1 (en) * 2007-12-18 2009-07-02 Navigon Ag Method for generating a digital map
US20090263026A1 (en) * 2008-04-18 2009-10-22 Google Inc. Content item placement
US20110096091A1 (en) * 2008-06-24 2011-04-28 Monmouth University System and method for viewing and marking maps
US9164975B2 (en) 2008-06-24 2015-10-20 Monmouth University System and method for viewing and marking maps
US8240875B2 (en) 2008-06-25 2012-08-14 Cree, Inc. Solid state linear array modules for general illumination
US20100087144A1 (en) * 2008-10-02 2010-04-08 Roni Korenshtein Short Range Exchange of Information
US7942762B2 (en) * 2009-06-05 2011-05-17 Callaway Golf Company GPS device
US20110289397A1 (en) * 2010-05-19 2011-11-24 Mauricio Eastmond Displaying Table Data in a Limited Display Area
US8532844B2 (en) 2010-06-22 2013-09-10 Honeywell International Inc. Methods and systems for displaying annotations on an aircraft display
US9146133B2 (en) 2011-06-06 2015-09-29 Honeywell International Inc. Methods and systems for displaying procedure information on an aircraft display
US9583074B2 (en) 2011-07-20 2017-02-28 Google Inc. Optimization of label placements in street level images
US10445772B1 (en) 2011-09-09 2019-10-15 Google Llc Label placement based on objects in photographic images
US8237745B1 (en) 2011-09-26 2012-08-07 Google Inc. Label positioning technique to reduce crawling during zoom activities
US8786633B2 (en) 2011-10-18 2014-07-22 Honeywell International, Inc. System and method for dynamically rendering bounded region labels on a moving map display
WO2013154523A1 (en) * 2012-04-09 2013-10-17 Google Inc. Biasing geocoding of queries
US9311750B2 (en) * 2012-06-05 2016-04-12 Apple Inc. Rotation operations in a mapping application
US9886794B2 (en) 2012-06-05 2018-02-06 Apple Inc. Problem reporting in maps
US8965696B2 (en) 2012-06-05 2015-02-24 Apple Inc. Providing navigation instructions while operating navigation application in background
US10176633B2 (en) 2012-06-05 2019-01-08 Apple Inc. Integrated mapping and navigation application
US9482296B2 (en) 2012-06-05 2016-11-01 Apple Inc. Rendering road signs during navigation
US9135751B2 (en) 2012-06-05 2015-09-15 Apple Inc. Displaying location preview
US10156455B2 (en) 2012-06-05 2018-12-18 Apple Inc. Context-aware voice guidance
US9997069B2 (en) 2012-06-05 2018-06-12 Apple Inc. Context-aware voice guidance
US8983778B2 (en) 2012-06-05 2015-03-17 Apple Inc. Generation of intersection information by a mapping service
US9418672B2 (en) 2012-06-05 2016-08-16 Apple Inc. Navigation application with adaptive instruction text
US8745174B2 (en) * 2012-07-03 2014-06-03 Raytheon Company Thin client for mapping system
DE102012108750A1 (en) * 2012-09-18 2014-03-20 Geomaris GmbH Method for representing depth values on marine chart for navigation in marine vessel, involves performing masking for depth values including larger value than overlapped depth values, and displaying chart with depth values in current scales
RU2015139929A (en) * 2013-04-29 2017-06-01 Лэндмарк Графикс Корпорейшн OPTIMIZATION OF ACCOMMODATION OF CROCULATION OF ANNOTATIONS ABOUT TEXTURE OF BREEDS
US9448754B2 (en) 2013-05-15 2016-09-20 Google Inc. Resolving label collisions on a digital map
US9396697B2 (en) * 2013-06-01 2016-07-19 Apple Inc. Intelligently placing labels
US9213474B2 (en) 2013-06-21 2015-12-15 Baker Hughes Incorporated System and method for displaying well data
US9489757B2 (en) * 2013-10-16 2016-11-08 Microsoft Technology Licensing, Llc Resizable text backing shapes for digital images
US9530239B2 (en) 2013-11-14 2016-12-27 Microsoft Technology Licensing, Llc Maintaining 3D labels as stable objects in 3D world
US9443494B1 (en) * 2013-12-19 2016-09-13 Amazon Technologies, Inc. Generating bounding boxes for labels
US9483496B1 (en) * 2013-12-20 2016-11-01 Amazon Technologies, Inc. Label placement for line features
US9718558B2 (en) 2014-02-26 2017-08-01 Honeywell International Inc. Pilot centered system and method for decluttering aircraft displays
US10204431B1 (en) 2014-07-15 2019-02-12 Google Llc Polygon labeling by dominant shapes
US10482635B2 (en) * 2014-09-29 2019-11-19 Adp, Llc Chart labeling system
US10198412B2 (en) * 2016-03-09 2019-02-05 Autodesk, Inc. Simulated annealing to place annotations in a drawing
US10503820B2 (en) 2016-03-28 2019-12-10 Microsoft Technology Licensing, Llc Map notes
US10929443B2 (en) 2018-02-23 2021-02-23 Microsoft Technology Licensing, Llc Location and context for computer file system
CN109598792B (en) * 2018-11-19 2020-09-08 南京大学 Automatic placing method of building notes in three-dimensional scene
US11500673B2 (en) * 2020-09-02 2022-11-15 International Business Machines Corporation Dynamically generating an optimized processing pipeline for tasks
CN113313196B (en) * 2021-06-17 2023-10-27 北京百度网讯科技有限公司 Labeling data processing method, related device and computer program product
CN117523041A (en) * 2024-01-04 2024-02-06 广州海洋地质调查局三亚南海地质研究所 Method, device, equipment and medium for configuring overlapping mark lead

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4571684A (en) * 1983-03-25 1986-02-18 Nippondenso Co., Ltd. Map display system for vehicles
US5689717A (en) * 1993-12-03 1997-11-18 Lockheed Martin Corporation Method and apparatus for the placement of annotations on a display without overlap
US5724072A (en) * 1995-03-13 1998-03-03 Rutgers, The State University Of New Jersey Computer-implemented method and apparatus for automatic curved labeling of point features
US5988853A (en) * 1996-10-05 1999-11-23 Korea Telecom Method for placing names for point-features on a map based on a plane sweeping technique
US6565610B1 (en) * 1999-02-11 2003-05-20 Navigation Technologies Corporation Method and system for text placement when forming maps
US6747649B1 (en) * 2002-03-19 2004-06-08 Aechelon Technology, Inc. Terrain rendering in a three-dimensional environment

Family Cites Families (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3882446A (en) * 1971-12-30 1975-05-06 Texas Instruments Inc Interactive horizon building, analysis and editing
US5355314A (en) 1990-03-26 1994-10-11 Hammond Incorporated Method and apparatus for automatically generating symbol images against a background image without collision utilizing distance-dependent attractive and repulsive forces in a computer simulation
US5805118A (en) * 1995-12-22 1998-09-08 Research Foundation Of The State Of New York Display protocol specification with session configuration and multiple monitors
US6160907A (en) * 1997-04-07 2000-12-12 Synapix, Inc. Iterative three-dimensional process for creating finished media content
US6124864A (en) * 1997-04-07 2000-09-26 Synapix, Inc. Adaptive modeling and segmentation of visual image streams
US6133853A (en) 1998-07-30 2000-10-17 American Calcar, Inc. Personal communication and positioning system
US6038559A (en) 1998-03-16 2000-03-14 Navigation Technologies Corporation Segment aggregation in a geographic database and methods for use thereof in a navigation application
US6598054B2 (en) * 1999-01-26 2003-07-22 Xerox Corporation System and method for clustering data objects in a collection
US7148898B1 (en) * 2000-03-29 2006-12-12 Sourceprose Corporation System and method for synchronizing raster and vector map images
WO2001076120A2 (en) 2000-04-04 2001-10-11 Stick Networks, Inc. Personal communication device for scheduling presentation of digital content
US6643650B1 (en) 2000-05-09 2003-11-04 Sun Microsystems, Inc. Mechanism and apparatus for using messages to look up documents stored in spaces in a distributed computing environment
US6970869B1 (en) 2000-05-09 2005-11-29 Sun Microsystems, Inc. Method and apparatus to discover services and negotiate capabilities
US6934755B1 (en) 2000-06-02 2005-08-23 Sun Microsystems, Inc. System and method for migrating processes on a network
US6854115B1 (en) 2000-06-02 2005-02-08 Sun Microsystems, Inc. Process persistence in a virtual machine
US6678535B1 (en) 2000-06-30 2004-01-13 International Business Machines Corporation Pervasive dock and router with communication protocol converter
US20020111146A1 (en) 2000-07-18 2002-08-15 Leonid Fridman Apparatuses, methods, and computer programs for displaying information on signs
JP2002048566A (en) 2000-08-04 2002-02-15 Mazda Motor Corp Distribution system for map information or the like, supplying device for map information or the like, mobile navigation device, and storage medium with navigation program stored therein
US6931429B2 (en) 2001-04-27 2005-08-16 Left Gate Holdings, Inc. Adaptable wireless proximity networking
US7117266B2 (en) 2001-07-17 2006-10-03 Bea Systems, Inc. Method for providing user-apparent consistency in a wireless device
US6826385B2 (en) 2002-02-22 2004-11-30 Nokia Corporation Method and system for distributing geographical addresses across the surface of the earth
US7596373B2 (en) 2002-03-21 2009-09-29 Mcgregor Christopher M Method and system for quality of service (QoS) monitoring for wireless devices
AU2003224396A1 (en) * 2002-04-30 2003-11-17 Telmap Ltd. Navigation system using corridor maps
WO2004057439A2 (en) * 2002-05-31 2004-07-08 University Of Utah Research Foundation System and method for visual annotation and knowledge representation
JP3822577B2 (en) 2003-05-22 2006-09-20 株式会社エヌ・ティ・ティ・ドコモ Computer and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4571684A (en) * 1983-03-25 1986-02-18 Nippondenso Co., Ltd. Map display system for vehicles
US5689717A (en) * 1993-12-03 1997-11-18 Lockheed Martin Corporation Method and apparatus for the placement of annotations on a display without overlap
US5724072A (en) * 1995-03-13 1998-03-03 Rutgers, The State University Of New Jersey Computer-implemented method and apparatus for automatic curved labeling of point features
US5988853A (en) * 1996-10-05 1999-11-23 Korea Telecom Method for placing names for point-features on a map based on a plane sweeping technique
US6565610B1 (en) * 1999-02-11 2003-05-20 Navigation Technologies Corporation Method and system for text placement when forming maps
US6747649B1 (en) * 2002-03-19 2004-06-08 Aechelon Technology, Inc. Terrain rendering in a three-dimensional environment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012519676A (en) * 2009-03-06 2012-08-30 メディカル リサーチ カウンシル Protein kinase A and / or casein kinase II for reducing neurite outgrowth inhibition
WO2010128295A1 (en) 2009-05-05 2010-11-11 The Electric Mapping Company Limited Electronic map generation
US8315791B2 (en) 2010-06-18 2012-11-20 Nokia Coporation Method and apparatus for providing smart zooming of a geographic representation
US8600619B2 (en) 2010-06-18 2013-12-03 Nokia Corporation Method and apparatus for providing smart zooming of a geographic representation

Also Published As

Publication number Publication date
WO2006027773A3 (en) 2007-02-08
US20060058949A1 (en) 2006-03-16
US7414637B2 (en) 2008-08-19

Similar Documents

Publication Publication Date Title
WO2006027773A2 (en) Placement of map labels
Harrie et al. Modelling the overall process of generalisation
US7437279B2 (en) System and method for abstracting and visualizing a route map
US6952661B2 (en) System and method for abstracting and visualizing a rout map
De Smith et al. Geospatial analysis: a comprehensive guide to principles, techniques and software tools
Munzner Visualization analysis and design
Hogräfer et al. The state of the art in map‐like visualization
Robertson et al. An integrated environmental analytics system (IDEAS) based on a DGGS
CN102289991B (en) Visual-variable-based automatic classification and configuration method of map lettering
Laptev et al. Sightseeing application based on location marking and convolutional neural network building recognition
CN114387608B (en) Table structure identification method combining convolution and graph neural network
CN114492216B (en) Pumping unit operation track simulation method based on high-resolution representation learning
Bae et al. Optimizing map labeling of point features based on an onion peeling approach
Tian et al. An approach to generate spatial Voronoi Treemaps for points, lines, and polygons
Kakoulis et al. Algorithms for the multiple label placement problem
EP1085693B1 (en) Network visualization tool
Waugh et al. GIMMS/An Example of an Operational System for Computer Cartography
Varol et al. Neural network estimators for optimal tour lengths of traveling salesperson problem instances with arbitrary node distributions
Li et al. Towards a useful grammar implementation: beginning to learn what designers want
Stojanović et al. Analysis of Cartographic Generalization based on PYTHON Programming Language on Digital Topographic Maps
Li et al. Hexagon-based adaptive hierarchies for efficient point-in-spherical-polygon tests on GPUs
Yin et al. Incremental construction of generalized Voronoi diagrams on pointerless quadtrees
US20220292335A1 (en) Reinforcement driven standard cell placement
Lan Automated generation of labelled schematic network maps
Bae et al. Convex onion peeling genetic algorithm: An efficient solution to map labeling of point-feature

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KM KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU LV MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase