CN102968926A - Symbol configuration system of zonal statistical map and method thereof - Google Patents

Symbol configuration system of zonal statistical map and method thereof Download PDF

Info

Publication number
CN102968926A
CN102968926A CN2012101678357A CN201210167835A CN102968926A CN 102968926 A CN102968926 A CN 102968926A CN 2012101678357 A CN2012101678357 A CN 2012101678357A CN 201210167835 A CN201210167835 A CN 201210167835A CN 102968926 A CN102968926 A CN 102968926A
Authority
CN
China
Prior art keywords
point
polygon
simple polygon
module
gravity
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN2012101678357A
Other languages
Chinese (zh)
Other versions
CN102968926B (en
Inventor
李洪省
余卓渊
王英杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Geographic Sciences and Natural Resources of CAS
Original Assignee
Institute of Geographic Sciences and Natural Resources of CAS
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 Institute of Geographic Sciences and Natural Resources of CAS filed Critical Institute of Geographic Sciences and Natural Resources of CAS
Priority to CN201210167835.7A priority Critical patent/CN102968926B/en
Publication of CN102968926A publication Critical patent/CN102968926A/en
Application granted granted Critical
Publication of CN102968926B publication Critical patent/CN102968926B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a symbol configuration system of a zonal statistical map and a method thereof. The symbol configuration system comprises a simple polygon set construction module for constructing a simple polygon set, a simple polygon inner point evaluating module for evaluating inner points of a simple polygon, an area domination set evaluating module for evaluating an area dominated simple polygon set, a positioning polygon obtaining module for evaluating a positioning polygon, wherein the simple polygon inner point evaluating module is used for evaluating inner points of the positioning polygon, a point set convex hull evaluating module for evaluating a point set convex hull, a positioning point evaluating module used for using the gravity center of the point set convex hull as a positioning point and a map symbol positioning point evaluating module for using the inner points of the simple polygon, the inner points of the positioning polygon, the gravity center of the point set convex hull and primary positioning points as map symbol positioning points. The symbol configuration system supports statistical map symbol positioning of a composite polygon and a plurality of elements with the same name.

Description

Statistical maps symbol configuration-system and method thereof
Technical field
The invention belongs to the map visualization field, particularly relate to a kind of system and method for supporting the configuration of area pattern subregion statistics thematic map symbol anchor point, storage and editor.
Background technology
According to the data characteristics of statistical data, the space distribution rule land used diagram form of statistics is expressed, for each statistical regions, just formed the statistics thematic maps.Cartogram method is commonly used to represent the general status of certain class geographical phenomenon in the zoning unit, employed statistical map symbol comprises: histogram (bar graph, 2 dimensions/3 dimensions), the polytypes such as cake chart (circular, annular, fan-shaped, 2 dimensions/3 dimensions), spherical figure.It is plotted in statistical graph on the additional space position, just can form various forms of subregion statistics thematic mapss.
The statistical map symbol usually with the center of gravity (interior point) of area pattern as anchor point.But because the intrinsic complicacy of spatial data, a certain zoning unit usually is comprised of a plurality of polygons.During spatial data was produced, the general independent digitizing of each simple polygon and editor were combined into a zoning unit.This situation can be with compound polygon (Multi-polygon: be comprised of a plurality of simple polygons) storage and expression in a record; Also often can run into the situation without combined treatment, corresponding many records in zoning unit this moment are generally a plurality of key elements of the same name.In statistical maps is visual, need between a plurality of simple polygons (Simple polygon), select suitable position with certain simple polygon inside, the statistical map symbol is configured, again with statistics carry out related, the various application take the support space statistical study as purpose.
In the patent of having applied at present, there is no the patent of statistical maps symbol configuration.
Summary of the invention
The object of the present invention is to provide a kind of statistical maps symbol configuration-system and method thereof, be used for supporting the configuration of area pattern subregion statistics thematic map symbol anchor point.
To achieve these goals, the invention provides a kind of statistical maps symbol configuration-system, it is characterized in that, comprising:
The simple polygon set makes up module, is used for each zoning unit, makes up the simple polygon set;
Point is asked for module in the simple polygon, is used for asking for the interior point of simple polygon;
Module is asked in the Area-dominant set, is used for asking for five number summaries of simple polygon set, obtains the set of Area-dominant simple polygon;
Location polygon acquisition module is used for getting simple polygon corresponding to pel Area-dominant person as the location polygon, and point is asked for module and asked for this and locate polygonal interior point in this simple polygon;
The point set convex hull is asked for module, the point set convex hull of the polygon center of gravity of the simple polygon set that is dominant for quadraturing and the point set convex hull of all simple polygon centers of gravity that form this zoning unit;
Anchor point is asked for module, is used for center of gravity with the point set convex hull as anchor point, gets the center of gravity mid point of two simple polygons as the Primary Location point;
The map symbol anchor point is asked for module, is used for the interior point of simple polygon, the center of gravity of locating polygonal interior point, point set convex hull, Primary Location point as the map symbol anchor point.
Described statistical maps symbol configuration-system, wherein,
Described simple polygon set is S, and m is the element number among the S, and described Area-dominant simple polygon set is R, and n is the element number among the R;
Further, point is asked for module when m=1 in the described simple polygon, asks for the interior point of simple polygon;
Further, described location polygon acquisition module is got simple polygon corresponding to pel Area-dominant person as the location polygon when m=2;
Further, the set of described Area-dominant is asked for module as m〉2 the time, the five number summaries of asking for S obtain R;
Further, described point set convex hull is asked for module as n〉1 the time, ask the point set convex hull of the polygon center of gravity among the R; When n=0, ask the point set convex hull of all simple polygon centers of gravity that form this zoning unit;
Further, described anchor point ask for module with the center of gravity of point set convex hull as anchor point, and guarantee that this anchor point falls into the inside of simple polygon, and as m=2 and do not exist center of gravity mid point that pel Area-dominant person gets two simple polygons as the Primary Location point, guarantee that simultaneously this Primary Location point falls into the inside of simple polygon;
Further, described location polygon acquisition module obtains the location polygon when n=1.
Described statistical maps symbol configuration-system, wherein,
Described simple polygon set makes up module by search all simple polygons that form this zoning unit in spatial data, forms the simple polygon S set.
Described statistical maps symbol configuration-system, wherein,
The number percent that each simple polygon area accounts for this zoning unit total area among the S is P from big to small 1, P 2..., P m, described location polygon acquisition module is worked as P 1, get simple polygon corresponding to figure elemental area the greater as the location polygon, otherwise described anchor point is asked for module and is got the center of gravity mid point of two simple polygons as the Primary Location point at>0.618 o'clock.
Described statistical maps symbol configuration-system, wherein,
Described anchor point is asked for module and is not fallen into simple polygon inside when preliminary anchor point, then at this Primary Location point of center of gravity line direction translation, until this Primary Location point falls into simple polygon inside, and the anchor point of this position as final anchor point.
Described statistical maps symbol configuration-system, wherein,
Described anchor point is asked for module when the center of gravity of point set convex hull does not fall into the inside of simple polygon, according to the distance between two points formula, in Area-dominant simple polygon set R, select interior as the map symbol anchor point from the nearest simple polygon of convex hull center of gravity.
To achieve these goals, the invention provides a kind of statistical maps symbol collocation method, it is characterized in that, comprising:
Step 1 to each zoning unit, makes up the simple polygon S set, and m is element number, and judges the size of m value, when m=1, enters step 2; When m=2, enter step 3; As m〉2 the time, enter step 4;
Step 2 is asked point in the simple polygon, enters step 7;
Step 3, the person that gets the Area-dominant is as the location polygon, and enters step 2, and as the person that can not find the Area-dominant, gets the center of gravity mid point of two simple polygons as the Primary Location point, guarantees that simultaneously this Primary Location point falls into its inside, enters step 7;
Step 4 asks five numbers of S set to summarize, and obtains Area-dominant simple polygon set R, judges the size of n, and n is element number, when n=1, enters next step five, as n〉1 or during n=0, enter step 6;
Step 5 is made as the location polygon with simple polygon, enters step 2;
Step 6 is as n〉1 the time, ask the point set convex hull of polygon center of gravity among the R, when n=0, ask the point set convex hull of all simple polygon centers of gravity that form this zoning unit; And with the convex hull center of gravity as anchor point, guarantee that simultaneously this anchor point falls into inside, and enter next step seven;
Step 7, with the interior point of simple polygon, the polygonal interior point in location, this anchor point or Primary Location point as the map symbol anchor point.
Described statistical maps symbol collocation method wherein, in the described step 1, also comprises:
By in spatial data, searching all simple polygons that form this zoning unit, form the simple polygon S set.
Described statistical maps symbol collocation method wherein, in the described step 3, also comprises:
The number percent that each simple polygon area accounts for this zoning unit total area in the simple polygon S set is P from big to small 1, P 2..., P m, work as P 1, get simple polygon corresponding to figure elemental area the greater as the location polygon, otherwise described anchor point is asked for module and is got the center of gravity mid point of two simple polygons as the Primary Location point at>0.618 o'clock.
Described statistical maps symbol collocation method wherein, in the described step 3, also comprises:
When preliminary anchor point does not fall into simple polygon inside, then at this Primary Location point of center of gravity line direction translation, until this Primary Location point falls into simple polygon inside, and the anchor point of this position as final anchor point.
Described statistical maps symbol collocation method wherein, in the described step 6, further comprises:
When the center of gravity of point set convex hull does not fall into the inside of simple polygon, according to the distance between two points formula, in Area-dominant simple polygon set R, select interior as the map symbol anchor point from the nearest simple polygon of convex hull center of gravity.
Compared with prior art, useful technique effect of the present invention is:
The present invention proposes a kind of subregion statistics thematic map symbol anchor point configuration-system and method, support the statistical map symbol location of compound polygon, a plurality of key elements of the same name, support storage and the editor of statistical map symbol location information.
Description of drawings
Fig. 1 is compound polygon example of the present invention (1:1, the corresponding record in zoning unit);
Fig. 2 is polygon example of the same name of the present invention (1:n, corresponding many records in zoning unit);
Fig. 3 is statistical map symbol location not yet in effect synoptic diagram under a plurality of polygon of the same name of the present invention;
Fig. 4 is statistical maps symbol configuration-system structural drawing of the present invention;
Fig. 5 is statistical maps symbol collocation method process flow diagram of the present invention;
Fig. 6 A, 6B are the interior examples of simple polygon that statistical symbol of the present invention is configured in Area-dominant;
Fig. 7 is the statistical symbol ios dhcp sample configuration IOS DHCP of the present invention in the more situation of Area-dominant polygon set R element number;
Fig. 8 is configuration first example of statistical map symbol under a plurality of polygons of the same name of the present invention;
Fig. 9 is configuration second example of statistical map symbol under a plurality of polygons of the same name of the present invention;
Figure 10 is that the present invention directly inputs the new coordinate of thematic map symbol anchor point interface synoptic diagram;
Figure 11 A, 11B, 11C are that the present invention manually pulls anchor point to the reposition synoptic diagram.
Embodiment
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
As shown in Figure 1, be compound polygon example of the present invention (1:1, the corresponding record in zoning unit); Fig. 2 is polygon example of the same name of the present invention (1:n, corresponding many records in zoning unit); Fig. 3 is statistical map symbol location not yet in effect synoptic diagram under a plurality of polygon of the same name of the present invention.
Be the situation of simple polygon for the zoning unit, subregion statistics thematic map symbol positions mainly with polygon center of gravity or interior point.Consider that the polygon center of gravity drops on outside of polygon sometimes, the present invention adopts Polygonous node to position.
When the zoning unit is comprised of a plurality of simple polygons or compound polygon, may there be following three kinds of situations:
C1: the zoning unit is compound polygon, a corresponding record in spatial data (1:1, the corresponding record in zoning unit), and as shown in Figure 1, it can be converted to a plurality of simple polygons;
C2: the corresponding a plurality of key elements of the same name in zoning unit, corresponding n(n in spatial data〉1) the bar record, every corresponding simple polygon (1:n of record, corresponding many records in zoning unit), as shown in Figure 2, be exactly to organize according to record of each simple polygon such as administrative map layer in national 1:400 ten thousand geo-spatial datas;
C3: above-mentioned two situations also may exist simultaneously, i.e. corresponding a plurality of key elements of the same name in zoning unit, corresponding n(n in spatial data〉1) bar record, the wherein corresponding compound polygon of at least one record.
In above-mentioned three kinds of situations, making and designing in the statistical map sign process, when related statistics is figure, need to position the statistical maps symbol.Particularly in C2 and two kinds of situations of C3, each the bar record that forms same zoning unit this moment all is successfully associated with statistics, therefore need in polygon of the same name, select a suitable position that the statistical maps symbol is carried out effective location, otherwise situation as shown in Figure 3 can appear, be that (particularly on island numerous coastland) all drawn the statistical map symbol on each simple polygon, not only be not inconsistent with actual conditions, thus the mutual stacked Visualization that affects thematic data of simultaneously a large amount of statistical symbol.
As shown in Figure 4, be statistical maps symbol configuration-system structural drawing of the present invention.This system 100 comprises: simple polygon set makes up in module 10, the simple polygon point and asks for module 20, location polygon setting module 30, Area-dominant set and ask for that module 40, point set convex hull are asked for module 50, anchor point asks for module 60 and the map symbol anchor point is asked for module 70.
The simple polygon set makes up module 10, is used for each zoning unit, makes up the simple polygon S set, and m is the element number in the simple polygon S set;
Point is asked for module 20 in the simple polygon, connects the simple polygon set and makes up module 10, is used for asking for the interior point of simple polygon when m=1;
Location polygon acquisition module 30 connects the simple polygon set and makes up module 10, is used for when m=2, get pel Area-dominant person as the location polygon, as there not being pel Area-dominant person, then getting two simple polygon center of gravity mid points as the Primary Location point, and guarantee that it falls into inside;
Module 40 is asked in the Area-dominant set, connect the simple polygon set and make up module 10, be used for when element number m greater than 2 the time, the five number summaries of asking for the simple polygon S set, obtain Area-dominant simple polygon set R, n is the element number among the Area-dominant simple polygon set R;
Further, location polygon acquisition module 30, connection area is dominant to gather and asks for module 40, is used for obtaining the location polygon when n=1;
Further, point is asked for module 20 in the simple polygon, connects location polygon acquisition module 30, is used for asking for the interior point of simple polygon (namely locating polygon);
The point set convex hull is asked for module 50, and module 40 is asked in the connection area set that is dominant, be used for when n greater than 1 the time, the simple polygon that is dominant of quadraturing is gathered the point set convex hull of the polygon center of gravity among the R; When n=0, ask the point set convex hull of all simple polygon centers of gravity; All simple polygons herein refer to form all simple polygons of zoning unit.
Anchor point is asked for module 60, connects the point set convex hull and asks for module 50, is used for the convex hull center of gravity guaranteeing simultaneously that as anchor point it falls into inside;
The map symbol anchor point is asked for module 70, connecting in the simple polygon point asks for module 20, location polygon acquisition module 30, anchor point and asks for module 60, be used for interior point, the location of simple polygon polygonal interior as the map symbol anchor point, with Primary Location point as the map symbol anchor point, with the convex hull center of gravity as the map symbol anchor point.
This system 100 further comprises: anchor point memory module 80, anchor point editor module 90.
As shown in Figure 5, be statistical maps symbol collocation method process flow diagram of the present invention.The method flow process has solved the automatic allocation problem of statistical maps symbol on zoning unit map, namely comprises the location of statistical map symbol in above-mentioned three kinds of situations.
Above-mentioned three kinds of situations, the location of subregion statistics thematic map symbol all need to be selected suitable position in the polygon set that a plurality of simple polygons form, therefore can follow same disposal route.The key step of the method flow process comprises:
Step 1 for certain specific zoning unit, is searched all simple polygons that form this zoning unit in spatial data, form the simple polygon S set.Be specially:
At first, in all records, search a plurality of records of the same name according to the name of zoning unit; At every record, as there is compound polygon, then it is decomposed into a plurality of simple polygons; If all simple polygon numbers that obtain are m, form S set (s 1, s 2..., s m), it is A from big to small that its area is arranged 1, A 2..., A m,
Figure BDA00001686718600071
Be its mean value, the number percent that the unit total area is drawn in each simple polygon area occupied area is P from big to small 1, P 2..., P m,
Figure BDA00001686718600072
Be its mean value.Obviously, for the C1 situation, m=1 is simple polygon such as zoning unit such as Heilongjiang Province, Shanxi Province, only needs to calculate the interior of this simple polygon this moment and gets final product as anchor point; For C2 or C3, m〉1, formed by 94 simple polygons such as zoning unit, Liaoning Province, and the provincial administrative division in Guangdong Province is comprised of 152 simple polygons, shown in Fig. 6 A, 6B.
Step 2 is such as m=2, such as P 1>0.618, then get simple polygon corresponding to figure elemental area the greater as the location polygon.Be 99.6% such as figure elemental area the maximum area occupied proportion in how much of all simple polygons of Liaoning Province, therefore the simple polygon that area the maximum is corresponding is asked for its heart as anchor point as the location polygon.Otherwise, get the center of gravity mid point of two simple polygons as the Primary Location point.Do not fall into simple polygon inside such as preliminary anchor point, then at center of gravity line direction this anchor point of translation until it falls into simple polygon inside, and the anchor point of this position as final anchor point, shown in Fig. 6 A, 6B;
Step 3, otherwise 4 fractiles of reference area number percent data sequence, five numbers that obtain area statistics are summarized (minimum value, lower quartile, median, upper quartile, maximal values), wherein during p=0.25, are lower quartile, are designated as Q 1, during p=0.75, be upper quartile, be designated as Q 3, computing formula is
The definition interquartile-range IQR is H, namely
H=Q 3-Q 1 (2)
The upper and lower truncation points of definition area exceptional value is T 1And T 3, computing formula is:
T 1=Q 1-1.5H (3)
T 3=Q 3+1.5H
Then the distributed area of non-abnormal data is:
(T 1,T 3)=(Q 1-1.5H,Q 3+1.5H)
If the data in the data sequence all are abnormal datas greater than upper truncation points or less than lower truncation points, namely the abnormal data distributed area is:
(A Min, Q 1-1.5H) and (Q 3+ 1.5H, A Max)
Thus, can obtain the simple polygon set R of the Area-dominant abnormal data of upper truncation points (namely greater than), establishing set R element number is n.In this process, can draw the box figure (Box plot) of all area of a polygon (number percent) numerical value, as a reference.
Step 4 is determined the thematic map symbol anchor point according to the Data Distribution of area (number percent).As gather element number n=1 among the R, then get in the corresponding simple polygon and put as the thematic map symbol anchor point; Such as element number among the R greater than 1, get to put in the corresponding simple polygon of element among the R and make up the point set convex hull, take in Hong Kong as example (as shown in Figure 7), it is comprised of 53 large small islands, the unusual polygon number of Area-dominant is 8, and the point set convex hull CH that makes up according to these Polygonous nodes sees shown in Fig. 7 bend part; Be 0 such as element number among the R, show that then the area numeric distribution is more even, get that point makes up the point set convex hull in all simple polygons.Convex hull is asked for center of gravity, and it is inner to fall into certain simple polygon such as center of gravity, then with this centre of gravity place as the thematic map symbol anchor point; It is inner not fall into certain simple polygon such as center of gravity, then according to the distance between two points formula, selects interior as the thematic map symbol anchor point from the nearest simple polygon of convex hull center of gravity in set R.
At length, the concrete steps of this step comprise:
Step 501 to each zoning polygon, makes up the simple polygon S set, and m is element number, and judges the size of m value, when m=1, enters step 502; When m=2, enter step 503; As m〉2 the time, enter step 504;
Step 502 is asked point in the simple polygon, enters step 508;
Step 503, the person s1 that gets the Area-dominant is as the location polygon, and enters step 502, and as the person s1 that can not find the Area-dominant, gets the center of gravity mid point of two simple polygon S1, S2 as anchor point, guarantees that simultaneously this anchor point falls into its inside, enters step 507;
Step 504 asks five numbers of S set to summarize, and obtains Area-dominant simple polygon set R, judges the size of n, and n is element number, when n=1, enters next step 505, as n〉1 or during n=0, enter step 506;
Step 505 is made as the location polygon with simple polygon, enters step 502;
Step 506 is as n〉1 the time, ask the point set convex hull of polygon center of gravity among the R, when n=0, ask the point set convex hull of all polygon centers of gravity; And with the convex hull center of gravity as anchor point, guarantee that simultaneously it falls into inside, and enter next step 507;
Step 507 interiorly meets anchor point as map with the interior point of simple polygon, location are polygonal, and anchor point (the center of gravity mid point of convex hull center of gravity or two simple polygon S1, S2) is met anchor point as map.
Such as Fig. 8 and shown in Figure 9, be respectively configuration the first example, second example of statistical map symbol under a plurality of polygons of the same name of the present invention.This example has shown result (among the figure because Hong Kong, Macao, the Taiwan statistics disappearance of the effective and reasonable location of statistical map symbol, this Three regions is not expressed), this method efficiently solves positional uncertainty and the repetition expression problem that compound polygon and polygon of the same name run into when the statistical maps symbol dispose.
Below by a specific embodiment, further describe the storage means of subregion statistics thematic map symbol locating information.
When the statistical maps symbol was positioned, its positional information was often by calculating in real time.When very complicated (as more than 100 ' 000), its calculating is comparatively consuming time, therefore, the present invention proposes the scheme that the statistical maps symbol is stored such as the zoning polygon.
For the storage of statistical maps symbol location information, this embodiment provides interim storage and persistent storage dual mode.Interim storage mode is to be stored in the internal memory when move in system, directly calls in internal memory in the statistical map making with when visual, and locating information need to recomputate and dispose behind system closing; The persistent storage mode is that statistical maps symbol location information is stored in external file or the database, reads external file or database when needing, and loads locating information.
Interim storage mode and persistent storage mode all adopt based on the method that covers, and to each zoning unit, statistical maps symbol location information is stored as a form, and namely statistical map symbol location information table sees the following form shown in 1.Wherein, Code is the zoning coding, and Name is the zoning title, and according to circumstances the two can only get one; X 0, Y 0Defined the initial alignment point P of map symbol 0', be generally interior point or the center of gravity of zoning unit; X 1, Y 1Defined the automatically anchor point P behind configuration or the manual editing of map symbol 1', as then being stored as the Null(sky without definition) value.When the statistical maps symbol disposes, preferentially select P 1' position, such as P 1' then adopt P for Null 0' position.Show in the table 1 that the anchor point in " Liaoning Province " reselects, when the statistical map symbol location, will preferentially obtain considering.
Table 1
FID Code Name X 0 Y 0 X 1 Y 1
0 220000 Jilin Province 1297816.799 4812749.218 Null Null
1 210000 Liaoning Province 1020397.968 4530076.242 1089752.676 4533228.729
2 230000 The Heilongjiang Province 1367171.507 5220470.834 Null Null
As shown in figure 10, be that the present invention directly inputs the new coordinate of thematic map symbol anchor point interface synoptic diagram; Figure 11 A, 11B, 11C are that the present invention manually pulls anchor point to the reposition synoptic diagram.
The below further describes the edit methods of subregion statistics thematic map symbol locating information again by a specific embodiment.
In existing map visualization system, the locating information of subregion statistics thematic map symbol is sightless to the user, and the user can't operate on it.Present embodiment is exposed to the user with locating information, for the user provides flexibly anchor point edit capability.System at first carries out Primary Location P with Polygonous node 0', after the user selection anchor point editting function, namely directly input coordinate (referring to shown in Figure 10) or the mode that manually pulls (shown in Figure 11 A, 11B, 11C) are edited the statistical maps character position, and editor's result store is P 1', system will be configured map symbol with new position, check for the user.A new some position constraint is that all simple polygons are inner, as it is inner to fall into certain simple polygon, then is the available point position, otherwise resets to mobile or the front point of editor position.
Certainly; the present invention also can have other various embodiments; in the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (11)

1. a statistical maps symbol configuration-system is characterized in that, comprising:
The simple polygon set makes up module, is used for each zoning unit, makes up the simple polygon set;
Point is asked for module in the simple polygon, is used for asking for the interior point of simple polygon;
Module is asked in the Area-dominant set, is used for asking for five number summaries of simple polygon set, obtains the set of Area-dominant simple polygon;
Location polygon acquisition module is used for getting simple polygon corresponding to pel Area-dominant person as the location polygon, and point is asked for module and asked for this and locate polygonal interior point in this simple polygon;
The point set convex hull is asked for module, the point set convex hull of the polygon center of gravity of the simple polygon set that is dominant for quadraturing and the point set convex hull of all simple polygon centers of gravity that form this zoning unit;
Anchor point is asked for module, is used for center of gravity with the point set convex hull as anchor point, gets the center of gravity mid point of two simple polygons as the Primary Location point;
The map symbol anchor point is asked for module, is used for the interior point of simple polygon, the center of gravity of locating polygonal interior point, point set convex hull, Primary Location point as the map symbol anchor point.
2. statistical maps symbol configuration-system according to claim 1 is characterized in that,
Described simple polygon set is S, and m is the element number among the S, and described Area-dominant simple polygon set is R, and n is the element number among the R;
Further, point is asked for module when m=1 in the described simple polygon, asks for the interior point of simple polygon;
Further, described location polygon acquisition module is got simple polygon corresponding to pel Area-dominant person as the location polygon when m=2;
Further, the set of described Area-dominant is asked for module as m〉2 the time, the five number summaries of asking for S obtain R;
Further, described point set convex hull is asked for module as n〉1 the time, ask the point set convex hull of the polygon center of gravity among the R; When n=0, ask the point set convex hull of all simple polygon centers of gravity that form this zoning unit;
Further, described anchor point ask for module with the center of gravity of point set convex hull as anchor point, and guarantee that this anchor point falls into the inside of simple polygon, and the center of gravity mid point of getting two simple polygons as m=2 and when not having pel Area-dominant person guarantees simultaneously that as the Primary Location point this Primary Location point falls into the inside of simple polygon;
Further, described location polygon acquisition module obtains the location polygon when n=1.
3. statistical maps symbol configuration-system according to claim 1 and 2 is characterized in that, described simple polygon set makes up module by search all simple polygons that form this zoning unit in spatial data, forms the simple polygon S set.
4. statistical maps symbol configuration-system according to claim 1 and 2 is characterized in that, the number percent that each simple polygon area accounts for this zoning unit total area among the S is P from big to small 1, P 2..., P m, described location polygon acquisition module is worked as P 1, get simple polygon corresponding to figure elemental area the greater as the location polygon, otherwise described anchor point is asked for module and is got the center of gravity mid point of two simple polygons as the Primary Location point at>0.618 o'clock.
5. statistical maps symbol configuration-system according to claim 4, it is characterized in that, described anchor point is asked for module and is not fallen into simple polygon inside when preliminary anchor point, then at this Primary Location point of center of gravity line direction translation, until this Primary Location point falls into simple polygon inside, and the anchor point of this position as final anchor point.
6. according to claim 1,2 or 5 described statistical maps symbol configuration-systems, it is characterized in that, described anchor point is asked for module when the center of gravity of point set convex hull does not fall into the inside of simple polygon, according to the distance between two points formula, in Area-dominant simple polygon set R, select interior as the map symbol anchor point from the nearest simple polygon of convex hull center of gravity.
7. a statistical maps symbol collocation method is characterized in that, comprising:
Step 1 to each zoning unit, makes up the simple polygon S set, and m is element number, and judges the size of m value, when m=1, enters step 2; When m=2, enter step 3; As m〉2 the time, enter step 4;
Step 2 is asked point in the simple polygon, enters step 7;
Step 3, the person that gets the Area-dominant is as the location polygon, and enters step 2, and as the person that can not find the Area-dominant, gets the center of gravity mid point of two simple polygons as the Primary Location point, guarantees that simultaneously this Primary Location point falls into its inside, enters step 7;
Step 4 asks five numbers of S set to summarize, and obtains Area-dominant simple polygon set R, judges the size of n, and n is element number, when n=1, enters next step five, as n〉1 or during n=0, enter step 6;
Step 5 is made as the location polygon with simple polygon, enters step 2;
Step 6 is as n〉1 the time, ask the point set convex hull of polygon center of gravity among the R, when n=0, ask the point set convex hull of all simple polygon centers of gravity that form this zoning unit; And with the convex hull center of gravity as anchor point, guarantee that simultaneously this anchor point falls into inside, and enter next step seven;
Step 7, with the interior point of simple polygon, the polygonal interior point in location, this anchor point or Primary Location point as the map symbol anchor point.
8. statistical maps symbol collocation method according to claim 7 is characterized in that, in the described step 1, also comprises:
By in spatial data, searching all simple polygons that form this zoning unit, form the simple polygon S set.
9. according to claim 7 or 8 described statistical maps symbol collocation methods, it is characterized in that, in the described step 3, also comprise:
The number percent that each simple polygon area accounts for this zoning unit total area in the simple polygon S set is P from big to small 1, P 2..., P m, work as P 1, get simple polygon corresponding to figure elemental area the greater as the location polygon, otherwise described anchor point is asked for module and is got the center of gravity mid point of two simple polygons as the Primary Location point at>0.618 o'clock.
10. statistical maps symbol collocation method according to claim 9 is characterized in that, in the described step 3, also comprises:
When preliminary anchor point does not fall into simple polygon inside, then at this Primary Location point of center of gravity line direction translation, until this Primary Location point falls into simple polygon inside, and the anchor point of this position as final anchor point.
11. according to claim 7,8 or 10 described statistical maps symbol collocation methods, it is characterized in that, in the described step 6, further comprise:
When the center of gravity of point set convex hull does not fall into the inside of simple polygon, according to the distance between two points formula, in Area-dominant simple polygon set R, select interior as the map symbol anchor point from the nearest simple polygon of convex hull center of gravity.
CN201210167835.7A 2012-05-25 2012-05-25 Symbol configuration system of zonal statistical map and method thereof Expired - Fee Related CN102968926B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210167835.7A CN102968926B (en) 2012-05-25 2012-05-25 Symbol configuration system of zonal statistical map and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210167835.7A CN102968926B (en) 2012-05-25 2012-05-25 Symbol configuration system of zonal statistical map and method thereof

Publications (2)

Publication Number Publication Date
CN102968926A true CN102968926A (en) 2013-03-13
CN102968926B CN102968926B (en) 2014-08-27

Family

ID=47799046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210167835.7A Expired - Fee Related CN102968926B (en) 2012-05-25 2012-05-25 Symbol configuration system of zonal statistical map and method thereof

Country Status (1)

Country Link
CN (1) CN102968926B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533501A (en) * 2013-10-15 2014-01-22 厦门雅迅网络股份有限公司 Geofence generating method
CN104658018A (en) * 2013-11-18 2015-05-27 北京四维图新科技股份有限公司 Method of decomposing loop polygon and drawing device
CN106297536A (en) * 2015-05-11 2017-01-04 高德软件有限公司 The labeling position of the planar pel title in electronic chart determines method and device
CN108364311A (en) * 2018-01-29 2018-08-03 深圳市亿图视觉自动化技术有限公司 A kind of metal parts automatic positioning method and terminal device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183461A (en) * 2007-11-16 2008-05-21 武汉大学 Face-shaped element configuring method in computer graphics
CN101794534A (en) * 2010-04-13 2010-08-04 中国测绘科学研究院 Automatic typesetting and positioning method of statistical graphs in zonal statistical map
CN102314798A (en) * 2010-07-01 2012-01-11 北京四维图新科技股份有限公司 Method and device for automatically simplifying shape points of polygonal surface elements of electronic map

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183461A (en) * 2007-11-16 2008-05-21 武汉大学 Face-shaped element configuring method in computer graphics
CN101794534A (en) * 2010-04-13 2010-08-04 中国测绘科学研究院 Automatic typesetting and positioning method of statistical graphs in zonal statistical map
CN102314798A (en) * 2010-07-01 2012-01-11 北京四维图新科技股份有限公司 Method and device for automatically simplifying shape points of polygonal surface elements of electronic map

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李洪省等: "基于案例推理的统计地图表示方法智能选取中的应用", 《地球信息科学学报》, vol. 11, no. 6, 31 December 2009 (2009-12-31), pages 819 - 825 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533501A (en) * 2013-10-15 2014-01-22 厦门雅迅网络股份有限公司 Geofence generating method
CN103533501B (en) * 2013-10-15 2018-12-18 厦门雅迅网络股份有限公司 A kind of geography fence generation method
CN104658018A (en) * 2013-11-18 2015-05-27 北京四维图新科技股份有限公司 Method of decomposing loop polygon and drawing device
CN104658018B (en) * 2013-11-18 2018-01-09 北京四维图新科技股份有限公司 A kind of method and mapping arrangements for decomposing ring set polygon
CN106297536A (en) * 2015-05-11 2017-01-04 高德软件有限公司 The labeling position of the planar pel title in electronic chart determines method and device
CN106297536B (en) * 2015-05-11 2020-04-14 高德软件有限公司 Method and device for determining labeling position of planar graphic element name in electronic map
CN108364311A (en) * 2018-01-29 2018-08-03 深圳市亿图视觉自动化技术有限公司 A kind of metal parts automatic positioning method and terminal device
CN108364311B (en) * 2018-01-29 2020-08-25 深圳市亿图视觉自动化技术有限公司 Automatic positioning method for metal part and terminal equipment

Also Published As

Publication number Publication date
CN102968926B (en) 2014-08-27

Similar Documents

Publication Publication Date Title
CN105933294B (en) Network user's localization method, device and terminal
CN109992636A (en) Space-time code method, temporal index and querying method and device
CN102662974B (en) A network graph index method based on adjacent node trees
CN102968926B (en) Symbol configuration system of zonal statistical map and method thereof
CN104167021B (en) Space target indexing method based on terrestrial space three-dimensional partition
CN111125294B (en) Spatial relationship knowledge graph data model representation method and system
CN108595613A (en) GIS local maps edit methods and device
CN107423373A (en) A kind of City-level three-dimensional building model indexing means
CN112862302A (en) Petroleum data model modeling method and tool
CN103647661B (en) Topological view generating method and apparatus
CN108648017A (en) It is easy to user demand matching process, device, equipment and the storage medium of extension
CN103379201B (en) The terminal of the application of a kind of Dynamic Announce terminal interface and method
CN116934620A (en) Laser point cloud data noise reduction method
CN103793469A (en) Data inquiry statistics method and data inquiry statistics system
CN112184900B (en) Method, device and storage medium for determining elevation data
CN107943912A (en) A kind of response type Resource TOC data visualization management method, terminal and device
CN113282678B (en) Data blood relationship display method and device
CN105512312A (en) Accelerating method for two-dimensional map library
CN109299098A (en) The storage and its access method of a kind of table of multiple multilayer gauge outfits in the database
CN104992284A (en) Graph management system
CN113269833B (en) Electrical terminal positioning method, device, equipment and storage medium
CN105512173A (en) Data acquisition, investigation and statistic model realizing method
CN106294446A (en) A kind of geocoding implementation method and device
CN107911465A (en) A kind of resource granularity filter method of more cloud platforms
CN111339841B (en) Terrain identification method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140827

Termination date: 20170525

CF01 Termination of patent right due to non-payment of annual fee