Summary of the invention
Technical matters to be solved by this invention is, a kind of demographic information's spatial visualization system and method thereof is provided, and people information is carried out spatialization statistics and expression, has formed the visible environment of mutual population spatial cognition.
For achieving the above object, demographic information's provided by the invention spatial visualization system comprises:
One database is used to store ascribed characteristics of population data and population-based spatial data, obtains required ascribed characteristics of population data and population-based spatial data for each functional module;
One consensus data's administration module is used to obtain the basal conditions of ascribed characteristics of population data, and ascribed characteristics of population data are managed;
Population spatial data management module is used to obtain the population-based spatial data, and provides an electronic map data platform based on the population-based spatial data, so that the population-based spatial data is managed; And
Demography and spatial data binding modules are used for ascribed characteristics of population data and population spatial data are associated, and by the thematic statistical symbol of setting the consensus data are converted into visual map graph.
Above-mentioned demographic information's spatial visualization system is characterized in that, described consensus data's administration module comprises:
One data management module is used for by the mode of metric tree and node administration ascribed characteristics of population data being managed;
One data query module is used for by setting up logical expression data being screened inquiry;
One data statistics module; Be used to obtain the master data situation of ascribed characteristics of population data;
One statistics chart module; Be used to make statistical graph, with difference and the contact between the embodiment demographic data directly perceived.
Above-mentioned demographic information's spatial visualization system is characterized in that, described population spatial data management module comprises:
One map view module is used to provide a platform of browsing and inquire about electronic map data;
One map Zoom module is used for when browsing or inquire about electronic chart map being dwindled or amplifying;
One space query module is used to inquire about the title and the ascribed characteristics of population information thereof of mouse place map elements and show Query Result;
One placename-querying module is used for by input place name key word or how each place name is carried out the inquiry of map spatial location, and shows Query Result in map window.
Above-mentioned demographic information's spatial visualization system is characterized in that, described demography and spatial data binding modules comprise:
One thematic statistical symbol module, be used to provide some thematic statistical symbols to the demographic information carry out graphically, structuring expresses;
One population thematic charting module is used for the consensus data is converted into visual map graph.
Above-mentioned demographic information's spatial visualization system is characterized in that, described population thematic charting module further comprises:
One grading system module is used for demographic data is divided into different brackets according to certain rule, and shows with predetermined symbol on map;
One statistics drawing module is used to utilize thematic statistical cartography instrument to make various statistical graphs on map.
Above-mentioned demographic information's spatial visualization system is characterized in that, described database comprises:
One ascribed characteristics of population database is used to store demographic list data, and this list data is integrated has various years, different administrative grade, dissimilar ascribed characteristics of population data;
One population-based spatial database, the basic space data that are used to store population map comprise the geographical base map and the basic geographic map layer of different proportion chi, different-format, different levels.
Further, the present invention also provides the implementation method of a kind of above-mentioned demographic information's spatial visualization system, comprising:
Database is provided with step, is used to provide a database, and storage ascribed characteristics of population data and population-based spatial data obtain desired data for each functional module;
Consensus data's management process is used to provide consensus data's administration module, obtains the basal conditions of ascribed characteristics of population data, and ascribed characteristics of population data are managed;
Population spatial data management step is used to provide a population spatial data management module, obtains the population-based spatial data, and provides an electronic map data platform based on the population-based spatial data, so that the population-based spatial data is managed; And
Demography and spatial data integrating step are used to provide a demographic and spatial data binding modules, and ascribed characteristics of population data and population spatial data are associated, and by the thematic statistical symbol of setting the consensus data are converted into visual map graph.
Above-mentioned demographic information's spatial visualization method is characterized in that, described consensus data's management process comprises:
One data management step is used for by the mode of metric tree and node administration ascribed characteristics of population data being managed;
One data query step is used for by setting up logical expression data being screened inquiry;
One data statistics step; Be used to obtain the master data situation of ascribed characteristics of population data;
One statistics chart step; Be used to make statistical graph, with difference and the contact between the embodiment demographic data directly perceived.
Above-mentioned demographic information's spatial visualization method is characterized in that, described population spatial data management step comprises:
One map view is provided with step, is used to provide a platform of browsing and inquire about electronic map data;
One map convergent-divergent is provided with step, is used for when browsing or inquire about electronic chart map being dwindled or amplifying;
One space querying is provided with step, is used to inquire about the title and the ascribed characteristics of population information thereof of mouse place map elements and show Query Result;
One placename-querying is provided with step, is used for by input place name key word or how each place name is carried out the inquiry of map spatial location, and shows Query Result in map window.
Above-mentioned demographic information's spatial visualization method is characterized in that, described demography and spatial data integrating step comprise:
One thematic statistical symbol is provided with step, be used to provide some thematic statistical symbols with the demographic information is carried out graphically, structuring expresses;
One population thematic charting step is used for the consensus data is converted into visual map graph.
Compared with prior art, the present invention is mainly towards how to reflect demographic data space rule and set up unified system demographic data is carried out the spatial visualization expression, its consensus data and spatial data combine, on map graph, draw population patent statistical symbol according to quantification, structured features, the expression of visual pattern the regional disparity of population, distribution characteristics, effectively improve spatial cognition level, and formed the visible environment of mutual population spatial cognition China population problem.
Embodiment
Below in conjunction with accompanying drawing the present invention is done more detailed description, with further understanding the present invention's purpose, scheme and effect.
Demographic information's of the present invention spatial visualization system has been given prominence to management and the analysis to map space data and consensus data two aspects emphatically, and consensus data and spatial data be associated, on map graph, draw population special topic statistical symbol, realize that the spatial visualization of population distribution rule is expressed according to quantification, structured features.
Fig. 1 has described the structural framing of the spatial visualization system of population statistical information of the present invention, with reference to figure 1, this demographic information's spatial visualization system comprises: a database 10, be used to store ascribed characteristics of population data and population-based spatial data, obtain desired data for each functional module; One consensus data's administration module 20 is used to obtain the basal conditions of ascribed characteristics of population data, and ascribed characteristics of population data are managed; Population spatial data management module 30 is used to obtain the population-based spatial data, and provides an electronic map data platform based on the population-based spatial data, so that the population-based spatial data is managed; And consensus data and spatial data binding modules 40, be used for ascribed characteristics of population data and population spatial data are associated, by the thematic statistical symbol of setting the consensus data is converted into visual map graph.
Fig. 2 has further described the concrete enforcement framework of visualization system of the present invention, with reference to figure 2, in the system of the present invention, this system describes the enforcement framework of system in detail from functional module and two aspects of database: the upper-layer functionality module mainly drives by ADO data-driven, space querying interface and obtains data.Consensus data's administration module 20 further comprises data management module 201, data query module 202, data statistics module 203 and statistical graph module 204 in this system.
Wherein, data management module 201 is used for layering, Classification Management to ascribed characteristics of population data, mainly adopts the mode of metric tree and node administration, the corresponding consensus data's index of each node; Data query module 202 is used for consensus data's multiple query composition function, by setting up logical expression, comprising: greater than, less than, equal, comprise, with or, operational symbol such as non-, data are screened inquiry; Data statistics module 203: be used to obtain the master data situation of ascribed characteristics of population data, comprise: maximal value, minimum value, average, number, variance, summation, numerical value frequency figure; Statistical graph module 204 is used to make multiple diagrammatic form with difference and contact between the embodiment demographic data directly perceived, and wherein subtype comprises: cake chart, rectilinear, planar figure, staircase chart, two-dimensional histogram, three-dimensional histogram, strip-chart etc.
Population spatial data management module 30 mainly comprises map view module 301, map Zoom module 302, space query module 303 and placename-querying module 304; Wherein, map view module 301 is used for providing the platform browsing easily and inquire about electronic map data to the user, and the user can the designated ratio chi, map area, uses map roaming instrument moving map, carries out graphic presentation; Map Zoom module 302 is used for map is dwindled and amplifies, to obtain the area information of more detailed or breviary.Wherein the use of magnify tool has dual mode: a kind of is with mouse interesting areas in the map to be pulled out a rectangle, and map will be amplified to and only show the appointed area; Another kind is the zone that will amplify with click, and map progressively amplifies by fixed proportion.Space query module 303, the title and the ascribed characteristics of population information thereof that are used to inquire about mouse place map elements, and show Query Result; Placename-querying module 304 is used for carrying out the inquiry of map spatial location by input place name key word or a plurality of place name, and Query Result shows with high brightness in map window.
Consensus data and the spatial data module 40 that combines comprises thematic statistical symbol module 401 and population thematic charting module 402.Wherein: population thematic charting module 402, be used for the consensus data is converted into the process of visual map graph, this module also comprises two kinds of drawing patterns: classification drawing and statistical cartography.Wherein, classification drawing is that demographic data is divided into different brackets according to certain rule, and comes out with gradual change look or gradual change symbolic representation on map, can the color, symbol etc. of picture in picture layer are carried out the classification setting over the ground by " classification drafting instrument ".Statistical cartography is to utilize " thematic statistical cartography instrument ", makes various statistical graphs, for example histogram, bar graph, cake chart, circular chart, sector diagram, spherical figure, pyramid diagram, scatter diagram and chart of percentage comparison etc. on map.Generally represent size of data, be convenient to carry out the comparison of different regions with the size of symbol.Special topic statistical symbol module 401: be used for by thematic statistical symbol with the demographic information carry out graphically, the structuring expression.The statistical symbol storehouse comprises group surplus the 9 big classes 30 altogether, as shown in Figure 9: column statistical graph, pie statistical graph, ring-type statistical graph, pyramid figure, spherical figure etc.The user can the select chart fundamental type, and the chooser subtype has 3-D effect or gradual change chromatic effect etc. again.
Database 10 mainly comprises ascribed characteristics of population database 101 and population-based spatial database 102, and the upper-layer functionality module mainly drives the data that obtain ascribed characteristics of population database and population-based spatial database respectively by ADO data-driven, space querying interface.Wherein, ascribed characteristics of population database 101 is used to store a large amount of demographic list datas, and integrated have various years, different administrative grade, a dissimilar ascribed characteristics of population data; Population-based spatial database 102: the basic space data that are used to store population map, the geographical base map that comprises different proportion chi, different-format, different levels, and basic geographic map layer such as water system, traffic, as: China is provincial, base map is drawn by local level and administrative areas at the county level.
Further, the present invention also provides a kind of implementation method of using said system, with reference to figure 3, this method comprises: S10: database is provided with step, be used to provide a database, storage ascribed characteristics of population data and population-based spatial data obtain desired data for each functional module; S20: consensus data's management process, be used to provide consensus data's administration module, obtain the basal conditions of ascribed characteristics of population data, and ascribed characteristics of population data are managed; S30: population spatial data management step, be used to provide a population spatial data management module, obtain the population-based spatial data, and provide an electronic map data platform, so that the population-based spatial data is managed based on the population-based spatial data; And S40: demographic and spatial data integrating step, be used to provide a demographic and spatial data binding modules, ascribed characteristics of population data and population spatial data are associated, the consensus data are converted into visual map graph by the thematic statistical symbol of setting.
Above-mentioned consensus data's management process S20 comprises again:
Data management step S201 is used for by the mode of metric tree and node administration ascribed characteristics of population data being managed;
Data query step S202 is used for by setting up logical expression data being screened inquiry; ,
Data statistics step S203; Be used to obtain the master data situation of ascribed characteristics of population data;
Statistical graph step S204; Be used to make statistical graph, with difference and the contact between the embodiment demographic data directly perceived.
Above-mentioned population spatial data management step S30 comprises:
Map view is provided with step S301, is used to be provided with a map view module, so that a platform of browsing and inquire about electronic map data to be provided;
The map convergent-divergent is provided with step S302, is used to be provided with a map Zoom module, when browsing or inquire about electronic chart map is dwindled or amplifies;
Space querying is provided with step S303, is used to be provided with a space query module, with the title and the ascribed characteristics of population information thereof of inquiry mouse place map elements and show Query Result;
Placename-querying is provided with step S304, is used to be provided with a placename-querying module, carrying out the inquiry of map spatial location by input place name key word or a plurality of place name, and shows Query Result in map window.
Above-mentioned demography and spatial data integrating step S40 comprise:
The special topic statistical symbol is provided with step S401, be used to provide some thematic statistical symbols with the demographic information is carried out graphically, structuring expression;
Population thematic charting step S402 is used for the consensus data is converted into visual map graph.
Below in conjunction with Fig. 4~Figure 11, further describe the realization of system and method for the present invention:
(1) demographic data management
Demographic data has multi-level, multi-class characteristics, therefore for the consensus data, system adopts directory tree to carry out data organization, demographic data Yi Fen province, subdivision city, the three grades of tree-structure hierarchical in branch counties and cities show, every demographic indicator adopts hierarchy more than 3 grades or 3 grades, as population profile->amount, population and sex ratio->gender's ratio, as shown in Figure 4.The data content that the user sees will be more succinct, be easier to operation.
Select back end in directory tree, functions such as the user can show data, editor, management, ordering, statistics, query analysis can be extracted the characteristic such as summation, average, variance, frequency of statistics.The inquiry mode of system has: common inquiry is an inquiry mode efficiently, selects two conditions just can directly inquire about; Boolean query need come the construction expression formula by selecting index, logical operator, numerical value, inquires about.
(2) spatial data is handled
For spatial data, system imports the spatial data of ArcView SHP file by the map control interface, different SHP files is managed with different figure layers,, can edit and revise point, line, surface and color by symbol and the color storehouse and the editing machine thereof of spatial database.
The map file of output is packing format map * .mlb (spatial data files), * .mci (ranked data file) and * .mdb (database file), wherein * .mlb storage is the space characteristics of spatial data, * .mdb is an access database file form, the storage be the attributive character (place name, administrative code etc.) of spatial data, * .mci file storage be the ranked data information (as branch progression, classification codomain and thematic sign pattern, the symbol color etc. of demographic data) of All Layers thematic information.It is the needs design of expressing according to demographic data that this mode is stored, and is convenient to the management of map datum.
(3) population map management
1. map reading is browsed: amplify, dwindle, roaming or full screen display function; Free hand drawing or many figure show; The attribute annotation is as carrying out annotation and cancellation annotation to relevant place name; Map is is comprehensively accepted or rejected demonstration, as may command map displaying ratio chi, amplifies or dwindles map, shows in detail or simple display graphics content and annotation.
2. map edit management: system of the present invention provides the color editor and the modify feature of each figure layer point, line, surface data; Can edit and revise the symbol of graph data; Can carry out font to annotation, size, the edit-modify of color; Can realize the deletion of figure layer and increase; Can be to figure layer title, a map title, legend is edited and revise; Can realize symbol mark to spatial data.
3. the bidirectional inquiry of population spatial database and attribute database: the layer properties information inquiry, stride layer properties information inquiry, locus inquiry, logical expression inquiry.
(4) space querying
When layer properties for can inquire about the time, user by selecting is inquired about specifying map elements, function is as follows:
1. the user by rolling mouse to the position of wanting to inquire about, the map element at mouse place will be with the highlighted demonstration of yellow, and the title that the prompting bar shows this map element appears.
2. double-click query unit, system shows Query Result, comprises the ascribed characteristics of population data of title, administrative division code and this figure layer of this space cell.
(5) population special topic statistical map is made
Thematic charting is by with the demographic index of database, generates each regional statistical graph by the locus, the spatial diversity rule of reflecting regional population development.The drawing modular design of system of the present invention " thematic charting guide " is the interface as shown in figure 10, the interior drawing method that makes, offer user symbol storehouse, color libraries, map scale, legend and map title editing machine and be provided with, the user who separates the map making principle that is unable to use also can chart by simple steps.The special topic statistical map mainly comprises two kinds of patterns: hierarchical statistics figure and subregion thematic map.
1. make hierarchical statistics figure: on point/line/face figure layer, make the statistical map of pressing regional filling background color by classification drawing function.The user can be provided with the used field of figure layer title, classification, divides progression in the classification drafting instrument, hierarchical approaches, classification are used symbol (point symbol, line symbol, face symbol) type, color.The hierarchical type of system comprises nature classification, average classification, cluster classification, and the type of acquiescence is the nature classification, and classification finishes the back user and can adjust voluntarily hierarchical approaches.Fig. 5 shows a kind of synoptic diagram of classification drawing tools interfaces, can enter in the system symbol storehouse by classification drawing tools interfaces, carries out a large amount of point, line, surface symbolic editing and setting.Fig. 6 is planar and synoptic diagram interface, line symbol storehouse, and wherein, area symbol: comprise different planar filling modes, the user can select different border colors, frame line to draw thickness, Fill Color etc.; Line symbol: the user can be provided with the line style of linear ground object center line and frame line, the color of editor's lines, width or the like parameter; Point symbol: be the expression symbol of point-like map elements, comprise drawing symbol, environment symbol, geometrical symbol, traffic character, weather notation 5 class point symbols, Fig. 7 is interface, a point symbol storehouse synoptic diagram, and the user selects can be provided with symbol size, color, direction behind the symbol.Fig. 8 shows the interface synoptic diagram with color libraries, and the color of map elements is by the color bar setting of initial sum termination color gradual change in the classification drawing, and system provides 114 kinds of all kinds of transition color libraries selective.
2. statistical cartography
Being used for ascribed characteristics of population data shows on the scattergram layer with the form of statistical graph.Special topic statistics tools comprise that the statistical symbol of group is available surplus the 9 big classes 30: column statistical graph, pie statistical graph, ring-type statistical graph, pyramid figure, spherical figure etc.As shown in Figure 9, the user can the select chart fundamental type, and as histogram, bar graph, cake chart etc., the chooser subtype has 3-D effect or gradual change chromatic effect etc. again.
Used consensus data, the needs of type, the drawing that special topic statistical cartography instrument provides user wizard to be used to select and revise statistical graph are set symbol size, color, legend title etc., as shown in figure 10.
(6) population special topic statistical symbol
This module takes into full account the characteristics of demographic region statistics and mutual relation, and from both artistic and practical angle, designed abundant thematic charting statistical symbol system, as shown in figure 11, be divided into histogram, bar graph, density map, cake chart, sector diagram, pyramid diagram, trend map, chart of percentage comparison, wire statistical graph 9 big classes, 40 subclasses.Particular type is described as follows table:
Table 1 is thematic statistical symbol tabulation
This cover symbolism can give full expression to the space distribution of thematic maps.The map effect signal of different type statistics symbol makings is shown in Figure 12-16.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; under 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 various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.