CN109635049A - A kind of slice map pattern method of combination and system based on filter - Google Patents
A kind of slice map pattern method of combination and system based on filter Download PDFInfo
- Publication number
- CN109635049A CN109635049A CN201811288754.6A CN201811288754A CN109635049A CN 109635049 A CN109635049 A CN 109635049A CN 201811288754 A CN201811288754 A CN 201811288754A CN 109635049 A CN109635049 A CN 109635049A
- Authority
- CN
- China
- Prior art keywords
- map
- slice
- filter
- data
- user
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/001—Texturing; Colouring; Generation of texture or colour
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Instructional Devices (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a kind of slice map pattern method of combination and system based on filter, user loads basic map data by service management unit login system, setting slice level, Server engine carries out data slicer according to slice rule, and the data buffer storage after slice is in MongoDB;Then user uses the display color and pattern of each element on configuration of described dispensing unit map;After the completion, WebGis calculates the visual range of current map, and the data into server engine requests visual range, and after Server receives request of data, the color matching rule of the slice of data of specified range and user are returned to WebGis;After WebGis obtains data, filter is set, and carries out color filling according to configuration rule;The map of filling colouring is sliced and is rendered in WebGis;Graph parameter is detached and is encapsulated encapsulation unit over the ground, and colouring map display unit shows the map user oriented after colouring.
Description
Technical field
The invention belongs to Map Services to change technical field, specifically, being related to a kind of slice map sample based on filter
Formula method of combination and system.
Background technique
With the development of information technology, the displaying of ordinary two dimensional business datum cannot preferably adapt to user demand,
Two-dimentional business datum and geo-spatial data are combined displaying, have become the development of this current big data era
Trend.
Carrier of the map as geography information, is widely used in life and service management.
It is aerial when business datum can be reverted to some true by map, with the variation of user demand, over the ground
The pattern requirement of figure is also higher and higher, such as ship business, more using blue map;Environmentally friendly business, then using green map
Pattern is more.
Traditional map is mainly based upon Map Services realization, to change map color, usually by issuing map again
Service solves, in this way can there are the following problems:
1. Map Services cannot change color, it is necessary to be sliced and issue again again after modifying color once issuing again
Service.
2. map slice too time-consuming, for example the map datum in China is sliced, 20 days are approximately spent, sometimes even
Reach as long as January.
3. the map picture cut expends memory space, data volume is likely to be breached TB grades.
4. more than publication, causes data redundancy, resource consumption is too many.
5. couple business personnel is more demanding, it usually needs professional cartographer could complete.
Summary of the invention
For deficiency above-mentioned in the prior art, the present invention provides a kind of slice map pattern method of combination based on filter
And system, it is only necessary to carry out a map slice, data-reusing reduces data redundancy, server resource consumption is reduced, by cutting
The mode of piece and filter realizes more color configurations of map, can arbitrarily adjust the color of map, meets user's overwhelming majority need
It asks and can quick, perfect adaption demand variation, it is only necessary to issue a Map Services, reduce the repetitive operation of user, take out
From parameters such as color and patterns, the way to manage of modularization is realized.
In order to achieve the above object, the solution that the present invention uses is: a kind of slice map pattern volume based on filter
Discharge method includes the following steps:
S1: logging in system by user loads basic map data, and slice level is arranged;
S2:Server engine carries out data slicer according to the slice rule invocation service of user configuration;
S3: the data buffer storage of slice will be completed into distributed document storing data library;
S4: the display color and pattern of each element on configuration map;
S5:WebGis calculates the visual range of current map, and the data into server engine requests visual range;
After S6:Server engine receives request of data, the color matching rule of the slice of data of specified range and user are returned
Back to WebGis;
After S7:WebGis gets returned data, by color matrix and transformation matrix of coordinates, filter is set, and according to
The configuration rule of user carries out color filling to filter;
S8: the map for having been filled with colouring slice is rendered in WebGis;
S9: detaching parameter, and the parameter of to map is detached and encapsulated, and realizes modularization.
Further, this method further includes showing step, and the map styles after the completion of rendering are showed user.
Further, the map datum includes land, mountains and rivers, river, road.
Further, the distributed document storing data library is MongoDB.
Further, the visual range of the current map calculates in the following way: the visual range of current map
=screen pixels distance × display resolution.
Further, the parameter of the map includes map elements and component attributes.
Using the system based on filter slice map pattern method of combination, including user interaction unit realize user management,
It configures graphical representation and colouring map is shown;Server engine realizes map datum slice, color matching rule and slice of data tune
With;Distributed document storing data library stores the map color matching data of slice of data and encapsulation;WebGis obtains current map
Visual range and filter be set color filling and render according to the color matching rule of user;Encapsulation unit, to map
Parameter detached and encapsulated.
Further, system further includes filter style storage unit, stores the encapsulation filter of a variety of common map styles.
Further, the user interaction unit includes that service management unit, configuration unit and colouring map show list
Member, the service management unit realize that user account logs in management;Configuration unit provides graphic interface and carries out ground for user
Each element display color and style configuration on figure;Colouring map display unit shows the map user oriented after colouring.
Further, the distributed document storing data library is MongoDB.
The beneficial effects of the present invention are:
(1) only need to carry out a map slice, data-reusing reduces data redundancy, reduces server resource consumption, leads to
The more color configurations for being sliced and realizing map with the mode of filter are crossed, the color of map can be arbitrarily adjusted, meet user portion big absolutely
Point demand simultaneously can quick, perfect adaption demand variation, it is only necessary to issue a Map Services, reduce the repetitive operation of user
Property, all map colors use the same Map Services, after Map Services publication, still can the pattern of to map adjusted
It is whole, the parameters such as color and pattern are detached, realize the way to manage of modularization.
(2) spatial data is subjected to classification processing, such as mountains and rivers, river, land, data management are simple.
(3) patterned configuration interface is provided, any business personnel can easily and quickly complete by interface any
The configuration of map styles.
(4) diversified effect is supported to present, built-in a variety of common map styles are simultaneously encapsulated as filter, and user can be direct
It selects, can also carry out pattern fine tuning in the template of selection, it is more flexible, conveniently.
(5) map of polychrome can bring better visual experience also can be very when integrating with other systems to user
It is unified to form vision for good carry out style fusion.
Detailed description of the invention
Fig. 1 is map styles method of combination flow chart of the invention;
Fig. 2 is map styles arranging system block diagram of the present invention.
Specific embodiment
Below in conjunction with attached drawing, the invention will be further described:
As shown in Figure 1, a kind of slice map pattern method of combination based on filter, includes the following steps:
S1: logging in system by user loads basic map data, and slice level is arranged;
S2:Server engine carries out data slicer according to the slice rule invocation service of user configuration;
S3: the data buffer storage of slice will be completed into distributed document storing data library;
S4: the display color and pattern of each element on configuration map;
S5:WebGis calculates the visual range of current map, and the data into server engine requests visual range;
After S6:Server engine receives request of data, the color matching rule of the slice of data of specified range and user are returned
Back to WebGis;
After S7:WebGis gets returned data, by color matrix and transformation matrix of coordinates, filter is set, and according to
The configuration rule of user carries out color filling to filter;
S8: the map for having been filled with colouring slice is rendered in WebGis;
S9: detaching parameter, and the parameter of to map is detached and encapsulated, and realizes modularization.
Further, this method further includes showing step, and the map styles after the completion of rendering are showed user.
Further, the map datum includes land, mountains and rivers, river, road.
Further, the distributed document storing data library is MongoDB.
Further, the visual range of the current map calculates in the following way: the visual range of current map
=screen pixels distance × display resolution.
Further, the parameter of the map includes map elements and component attributes.
As shown in Fig. 2, using the system based on filter slice map pattern method of combination, including user interaction unit is realized
User management, configuration graphical representation and colouring map are shown;Server engine, realize map datum slice, color matching rule and
Slice of data calls;Distributed document storing data library stores the map color matching data of slice of data and encapsulation;WebGis is obtained
It takes the visual range of current map and filter is set and carry out color filling according to the color matching rule of user and render;Encapsulation is single
The parameter of member, to map is detached and is encapsulated.
Further, system further includes filter style storage unit, stores the encapsulation filter of a variety of common map styles.
Further, the user interaction unit includes that service management unit, configuration unit and colouring map show list
Member, the service management unit realize that user account logs in management;Configuration unit provides graphic interface and carries out ground for user
Each element display color and style configuration on figure;Colouring map display unit shows the map user oriented after colouring.
Further, the distributed document storing data library is MongoDB.
When carrying out Map Services change using map styles method of combination of the invention, user first passes through user management list
Member uses account number cipher login system, loads the basic map data of land, mountains and rivers, river, road etc. after login system, and set
Slice level is set, Server engine carries out data slicer according to the slice rule invocation service of user configuration, the data after slice
It is buffered in distributed document storing data library MongoDB, then user is configured using the graphic interface that configuration unit provides
The display color and pattern of each element on map, for example, configuration river be it is light blue, configuration mountains and rivers are bottle green etc.;It configures
Cheng Hou, WebGis call method calculate the visual range of current map, and the data into server engine requests visual range,
After Server receives request of data, the color matching rule of the slice of data of specified range and user are returned into WebGis;
After WebGis gets returned data, by color matrix and transformation matrix of coordinates, filter is set, and advise according to the configuration of user
Then carry out color filling: the river for including in the data in visual range is filled with it is light blue, by the data in visual range
In include mountains and rivers be filled with bottle green;The map of filling colouring is sliced and is rendered in WebGis;If the visual model of map
Variation is enclosed, then the part not being rendered in the map of the visual range after variation is rendered;Then encapsulation unit to map
Parameter is detached and is encapsulated, and colouring map display unit shows the map user oriented after colouring.
In practical applications, user can be used configuration unit repeat to map on each element display color and pattern into
Row configuration, is packaged into different components after the completion of rendering, after map publishing, is carried out using the component to map pattern of encapsulation
Adjustment, the variation of adaption demand, the filter style memory cell of system contain the encapsulation of a variety of common map styles, use
Family can select these styles, and reduce color matching render time, simplify color matching Rendering operations.
A specific embodiment of the invention above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention
Protect range.
Claims (10)
1. a kind of slice map pattern method of combination based on filter, characterized by the following steps:
S1: logging in system by user loads basic map data, and slice level is arranged;
S2:Server engine carries out data slicer according to the slice rule invocation service of user configuration;
S3: the data buffer storage of slice will be completed into distributed document storing data library;
S4: the display color and pattern of each element on configuration map;
S5:WebGis calculates the visual range of current map, and the data into server engine requests visual range;
After S6:Server engine receives request of data, the color matching rule of the slice of data of specified range and user are returned to
WebGis;
After S7:WebGis gets returned data, by color matrix and transformation matrix of coordinates, filter is set, and according to user
Configuration rule to filter carry out color filling;
S8: the map for having been filled with colouring slice is rendered in WebGis;
S9: detaching parameter, and the parameter of to map is detached and encapsulated, and realizes modularization.
2. the slice map pattern method of combination according to claim 1 based on filter, it is characterised in that: this method is also wrapped
Displaying step is included, the map styles after the completion of rendering are showed into user.
3. the slice map pattern method of combination according to claim 1 based on filter, it is characterised in that: the map
Data include land, mountains and rivers, river, road.
4. the slice map pattern method of combination according to claim 1 based on filter, it is characterised in that: the distribution
Formula file storage database is MongoDB.
5. according to the slice map pattern method of combination according to claim 1 based on filter, it is characterised in that: described
The visual range of current map calculates in the following way: the visual range of current map=screen pixels distance × display is differentiated
Rate.
6. the slice map pattern method of combination according to claim 1 based on filter, it is characterised in that: the map
Parameter include map elements and component attributes.
7. using the system of the slice map pattern method of combination based on filter as described in any one of claim 1-6,
It is characterized by comprising user interaction unit, realize that user management, configuration graphical representation and colouring map are shown;server
Engine realizes that map datum slice, color matching rule and slice of data call;Distributed document storing data library stores number of slices
According to and encapsulation map color matching data;WebGis obtains the visual range of current map and filter is arranged according to the color matching of user
Rule carries out color filling and is rendered;The parameter of encapsulation unit, to map is detached and is encapsulated.
8. the slice map pattern arranging system according to claim 7 based on filter, it is characterised in that: system further includes
Filter style storage unit stores the encapsulation filter of a variety of common map styles.
9. the slice map pattern arranging system according to claim 7 based on filter, it is characterised in that: the user
Interactive unit includes service management unit, configuration unit and colouring map display unit, and the service management unit, which is realized, to be used
Family account logs in management;Configuration unit provides graphic interface and matches for each element display color on user's progress map and pattern
It sets;Colouring map display unit shows the map user oriented after colouring.
10. the slice map pattern arranging system according to claim 7 based on filter, it is characterised in that: point
Cloth file storage database is MongoDB.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811288754.6A CN109635049A (en) | 2018-10-31 | 2018-10-31 | A kind of slice map pattern method of combination and system based on filter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811288754.6A CN109635049A (en) | 2018-10-31 | 2018-10-31 | A kind of slice map pattern method of combination and system based on filter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109635049A true CN109635049A (en) | 2019-04-16 |
Family
ID=66066927
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811288754.6A Pending CN109635049A (en) | 2018-10-31 | 2018-10-31 | A kind of slice map pattern method of combination and system based on filter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109635049A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101593209A (en) * | 2008-12-30 | 2009-12-02 | 中国科学院地理科学与资源研究所 | A kind of alternating type online statistical map generation and distributing device and method |
CN102419705A (en) * | 2011-09-30 | 2012-04-18 | 广州杰赛科技股份有限公司 | Method and device for generating and managing Web geographic information system (GIS) client control |
US20120141026A1 (en) * | 2010-12-03 | 2012-06-07 | Electronics & Telecommunications Research Institute | Method and system for providing tile map service using image fusion |
CN103034999A (en) * | 2012-12-05 | 2013-04-10 | 上海创图网络科技发展有限公司 | Pyramid slicing method based on dynamic effect model (DEM) data |
CN103559726A (en) * | 2013-11-21 | 2014-02-05 | 广东威创视讯科技股份有限公司 | Map color blending method and shader |
CN105022732A (en) * | 2014-04-16 | 2015-11-04 | 北京极海纵横信息技术有限公司 | Online map configuration and generation tile buffering method and system |
-
2018
- 2018-10-31 CN CN201811288754.6A patent/CN109635049A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101593209A (en) * | 2008-12-30 | 2009-12-02 | 中国科学院地理科学与资源研究所 | A kind of alternating type online statistical map generation and distributing device and method |
US20120141026A1 (en) * | 2010-12-03 | 2012-06-07 | Electronics & Telecommunications Research Institute | Method and system for providing tile map service using image fusion |
CN102419705A (en) * | 2011-09-30 | 2012-04-18 | 广州杰赛科技股份有限公司 | Method and device for generating and managing Web geographic information system (GIS) client control |
CN103034999A (en) * | 2012-12-05 | 2013-04-10 | 上海创图网络科技发展有限公司 | Pyramid slicing method based on dynamic effect model (DEM) data |
CN103559726A (en) * | 2013-11-21 | 2014-02-05 | 广东威创视讯科技股份有限公司 | Map color blending method and shader |
CN105022732A (en) * | 2014-04-16 | 2015-11-04 | 北京极海纵横信息技术有限公司 | Online map configuration and generation tile buffering method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105069118B (en) | A kind of application scenarios management method and system based on GIS configurations | |
US9933928B2 (en) | Selecting the type of visual marks in data visualizations based on user-selected visual properties of the marks | |
CN109410698A (en) | Data large-size screen monitors method for visualizing and system | |
CN112559667B (en) | Map editor, map engine, map editing system, map editing method, and storage medium | |
CN110502594A (en) | A kind of Remote sensing photomap tile real time fusion and online updating method | |
CN106855798A (en) | A kind of method to set up of interface element property value, device and smart machine | |
CN104536771A (en) | Method and system for showing icon sequencing according to icon colors | |
US9087143B2 (en) | Overlaying transparency images including pixels corresponding to different heirarchical levels over a geographic map | |
CN107145349A (en) | Method for switching theme, device, computer installation and computer-readable recording medium | |
CN105608403B (en) | A kind of method and system based on Quick Response Code positioning | |
CN112231387B (en) | Railway data visual interaction system and method, electronic equipment and storage medium | |
CN108153572A (en) | GIS display methods, device and system | |
CN106611056B (en) | Method and device for cutting three-dimensional simulation map | |
CN110738718A (en) | Three-dimensional visualization method for kinds of homeland data | |
CN107566474A (en) | The multi-source heterogeneous data of the three-dimensional earth based on mobile platform are downloaded and integrated approach | |
CN106855800A (en) | A kind of display methods of interface element background picture, device and smart machine | |
EP1669929A2 (en) | Systems and methods for presenting descriptions of conditions with respect to a surface | |
CN105931284B (en) | Fusion method and device of three-dimensional texture TIN data and large scene data | |
CN109857826A (en) | A kind of video camera visible range labeling system and its mask method | |
CN114092575A (en) | Digital earth real-time coloring method and device | |
CN109635049A (en) | A kind of slice map pattern method of combination and system based on filter | |
CN105808184A (en) | Method and device for displaying Android 2D (Two-dimensional) application image, and headset equipment | |
CN109165362A (en) | Equity penetrates the mask method and device of enterprise attributes in figure | |
Tennekes et al. | Package ‘tmap’ | |
CN109240686A (en) | A kind of NewBI instrument board and its exchange method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190416 |