CN104991918A - WEBGIS based online big data display method - Google Patents
WEBGIS based online big data display method Download PDFInfo
- Publication number
- CN104991918A CN104991918A CN201510354550.8A CN201510354550A CN104991918A CN 104991918 A CN104991918 A CN 104991918A CN 201510354550 A CN201510354550 A CN 201510354550A CN 104991918 A CN104991918 A CN 104991918A
- Authority
- CN
- China
- Prior art keywords
- data
- map
- point
- real time
- polymerization
- 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
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
Abstract
The invention discloses a WEBGIS based online big data display method which comprises the steps of: loading point site data through a map application program interface (API); ordering the received point site data by the map API according to the longitude; triggering a ZoomChanged or MoveEnd event by a map event, and judging whether Zoom changes or current visual field changes due to drag; querying data in the current visual field, and performing corresponding point site aggregation according to whether Zoom changes or current visual field changes due to drag; and rendering and loading the aggregated point site data by the map API, and displaying the data in a map. According to the method, massive data is displayed in the Web map through an aggregation optimization algorithm, so that icons are not overlapped and the map performance can be guaranteed.
Description
Technical field
The present invention relates to network geographic information system, specifically, relate to the method for the large data of a kind of Real time displaying based on WEBGIS.
Background technology
Geographic Information System (GIS, Geographic Information System) be a comprehensive branch of learning, of science with cartography and remote sensing and computer science in combination, be applied in different fields widely, it is the computer system for inputting, storing, inquire about, analyze and show geodata, along with popularizing of internet, applications, the WEBGIS running on internet environment becomes the focus of industry.
In public security industry, camera bayonet socket access amount is larger, as Shanghai City, public security self-built systems probably have 38000 camera point positions, society's face camera is probably 100000 some positions, when showing data volume and increasing, the corresponding time that can have a strong impact on system even can cause browser to collapse, and how how to be shown on map by so many flag datas simultaneously, neither overlap and conveniently can obtain the extraneous informations such as video, become we will faced by problem.
For the problems referred to above, the restricted each display number of solution common at present, or adopt the point of polymerization in a small amount of point or icon representation map, make map denotation more clear bright and clear, but said method Shortcomings: the expection that each quantity showing data of restriction will cause business function cannot reach system, such as: display camera head monitor position, 38000, the whole city, by restriction display number, user cannot be allowed to recognize total data, just cannot realize the construction object of this function.And existing aggregating algorithm, existing defects, cannot use in our project.
At present, existing some aggregating algorithm has following several:
A. based on the some aggregating algorithm of grid
Shortcoming: sometimes obviously very close point, but be only forced separately in different congruent points because of the separatrix of network, in addition, what the position of congruent point adopted is this net center of a lattice, but not the barycenter of this grid, polymerization point out more accurately may not reflect the information of original point like this.
B. based on the some aggregating algorithm of distance
Shortcoming: need to calculate distance between points, calculate relative complex.
C. based on the aggregating algorithm of grid and distance
Shortcoming: speed is fast not as the complete speed based on grid.
D. based on the aggregating algorithm of the minimum restriction of Distance geometry
Shortcoming: arithmetic speed is relatively slow, because the some aggregating algorithm based on distance own has been just relatively slow, add the later stage and carry out a polymerization decomposition according to the threshold value that minimum number limits, speed is slower.
E. other can be used for online point map polymerization algorithm
Shortcoming: general some polymerization (cluster) algorithm is all suitable for (as K averaging method etc.) to the polymerization of Online Map point, operational efficiency is not high, it is difficult to realize easy degree.
Therefore, how designing one is presented on Web map by optimizing polymerization algorithm realization mass data, icon is neither overlapped, and the method for the large data of the Real time displaying based on WEBGIS that map performance can be protected again just becomes current problem demanding prompt solution.
Summary of the invention
Technical matters to be solved by this invention is to provide the method for the large data of a kind of Real time displaying based on WEBGIS, originally easily causes icon to overlap by optimizing polymerization algorithm to solve, the problem that the map performance of acquisition is not good.
For solving the problems of the technologies described above, the invention provides the method for the large data of a kind of Real time displaying based on WEBGIS, it comprises the steps:
By the routine interface load(ing) point bit data based on map application;
Map API arranges after the some bit data received according to longitude;
Map event triggers ZoomChanged or MoveEnd event, and judgement is that Zoom changes or pulls and causes present viewing field to change;
Data in inquiry present viewing field, and change according to Zoom or pull and cause the visual field to change putting accordingly position polymerization;
Map API plays up and loads the some bit data after polymerization, and is shown on map.
Preferably, after the data in inquiry present viewing field, carry out data filtering process according to Data classification, filter out the data not needing to show.
Further, when being judged as that map Zoom changes, being polymerized according to distance threshold values further, if current Zoom is greater than threshold values, being polymerized, and polymerization site is recorded, then will truly be added to nearest and meet in the congruent point of threshold values condition.
Further, when be judged as pulling cause the visual field to change time, carry out being polymerized to the newly-increased point pulling generation and produce new congruent point, according to its distance to each congruent point of newly-increased calculation of points, when getting nearest congruent point and meet the threshold values condition of setting, this point is increased in congruent point.
Preferably, according to the data in dichotomy inquiry present viewing field.
Preferably, map API loads the some bit data after polymerization by asynchronous system.
Compared with prior art, the method of the large data of a kind of Real time displaying based on WEBGIS of the present invention, mass data can be made to be presented on map, can meet the requirement that icon does not overlap, map performance is got back lifting, and display after polymerization is relatively accurate, more flexible to the control of display, pulling in process at map only has newly-increased some position to participate in polymerization, and map is pulled smoother, map performance obtains guarantee.
Accompanying drawing explanation
Fig. 1 is the Principle of Process block diagram of the method for the large data of a kind of Real time displaying based on WEBGIS of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail, but not as a limitation of the invention.
One disclosed in this invention, based on the method for the large data of Real time displaying of WEBGIS (network geographic information system), comprises the steps:
Step one, by the routine interface load(ing) point bit data based on map application; Wherein, this routine interface needs with the program based on map application suitable, the corresponding geographic coordinate in each some position, and some position projection pattern is consistent with the projection pattern of client map.
Step 2, a bit data is carried out scheduling according to longitude size by after the some bit data received by map API; Map API is a kind of API by JavaScript (or other language), map being embedded into webpage, this API provides a large amount of utility in order to process map, and add content by various service to map, thus the map application creating complete function on website can be made.Through above-mentioned steps one, two, make dissimilar data, adopt same layer, carry out classification display.
Step 3, map event triggers ZoomChanged or MoveEnd event, and judgement is that Zoom changes or pulls and causes present viewing field to change; Herein, MoveEnd refers to pull when causing map mobile end and triggers this event, and ZoomChanged refers to trigger this event when changing map zoom levels.
Step 4, the data in inquiry present viewing field, and change according to Zoom or pull and cause the visual field to change putting accordingly position polymerization;
Specifically, when being judged as that map Zoom changes, be polymerized according to distance threshold values further, if current Zoom is greater than threshold values, be polymerized, and polymerization site is recorded, then by being truly added to nearest and meeting in the congruent point of threshold values condition, if be not polymerized, then directly enter next step, namely load congruent point position by browser.When be judged as pulling cause the visual field to change time, carry out being polymerized to the newly-increased point pulling generation and produce new congruent point, according to its distance to each congruent point of newly-increased calculation of points, namely to carrying out Distance Judgment, when getting nearest congruent point and meet the threshold values condition of setting, this point is increased in congruent point, pulls in process at map and only have newly-increased some position to participate in polymerization, map is pulled smoother.The present invention, by arranging Distance geometry Zoom threshold value, facilitates operation system to do as required and shows, and adopts the aggregating algorithm optimized, and is distributed in the position centered by congruent point, conforms with user operation habits by the point be polymerized.
Further, after the data in inquiry present viewing field, carry out data filtering process according to Data classification, filter out the data not needing to show.Can adopt dichotomy to the inquiry of data in present viewing field, first tentation data, by ascending sort, for set-point x, compares from the centre position of sequence, if present position values equals x, then searches successfully; If x is less than present position values, then search in the first half section of ordered series of numbers; If x is greater than present position values, continue to search in the second half section of ordered series of numbers, until find.The present invention first filtered data before inquiry, only display of visually range data, and reduce browser single calculation amount, map performance gets a promotion.
Step 5, map API plays up and loads the some bit data after polymerization, and is shown on map.
Particularly, in the present invention, map API loads the some bit data after polymerization by asynchronous system.Adopt asynchronous system load(ing) point position, can greatly promote map performance, when particularly IE version is lower, employing asynchronous method can solve the problem loading mass data and cause IE to collapse.
Compared with prior art, the method for the large data of a kind of Real time displaying based on WEBGIS disclosed in this invention, makes dissimilar data, adopt same layer, carry out classification display, solve layer too much, the problem of map hydraulic performance decline, and polymerization after display relatively accurate, more flexible to the control of display, mass data can be made to be presented on map, can business demand to be met, icon does not overlap, and map performance is got back lifting.
Above-mentioned explanation illustrate and describes some preferred embodiments of the present invention, but as previously mentioned, be to be understood that the present invention is not limited to the form disclosed by this paper, should not regard the eliminating to other embodiments as, and can be used for other combinations various, amendment and environment, and can in invention contemplated scope described herein, changed by the technology of above-mentioned instruction or association area or knowledge.And the change that those skilled in the art carry out and change do not depart from the spirit and scope of the present invention, then all should in the protection domain of claims of the present invention.
Claims (6)
1., based on a method for the large data of Real time displaying of WEBGIS, it is characterized in that comprising the steps:
By the routine interface load(ing) point bit data based on map application;
Map API arranges after the some bit data received according to longitude;
Map event triggers ZoomChanged or MoveEnd event, and judgement is that Zoom changes or pulls and causes present viewing field to change;
Data in inquiry present viewing field, and change according to Zoom or pull and cause the visual field to change putting accordingly position polymerization;
Map API plays up and loads the some bit data after polymerization, and is shown on map.
2. the method for the large data of Real time displaying as claimed in claim 1, is characterized in that, after the data in inquiry present viewing field, carries out data filtering process according to Data classification, filters out the data not needing to show.
3. the method for the large data of Real time displaying as claimed in claim 1, it is characterized in that, when being judged as that map Zoom changes, be polymerized according to distance threshold values further, if current Zoom is greater than threshold values, be polymerized, and polymerization site is recorded, then will truly be added to nearest and meet in the congruent point of threshold values condition.
4. the method for the large data of Real time displaying as claimed in claim 1, it is characterized in that, when be judged as pulling cause the visual field to change time, carry out being polymerized to the newly-increased point pulling generation and produce new congruent point, according to its distance to each congruent point of newly-increased calculation of points, when getting nearest congruent point and meet the threshold values condition of setting, this point is increased in congruent point.
5. the method for the large data of Real time displaying as claimed in claim 1, is characterized in that, according to the data in dichotomy inquiry present viewing field.
6. the method for the large data of Real time displaying as claimed in claim 1, is characterized in that, map API loads the some bit data after polymerization by asynchronous system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510354550.8A CN104991918A (en) | 2015-06-24 | 2015-06-24 | WEBGIS based online big data display method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510354550.8A CN104991918A (en) | 2015-06-24 | 2015-06-24 | WEBGIS based online big data display method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104991918A true CN104991918A (en) | 2015-10-21 |
Family
ID=54303734
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510354550.8A Pending CN104991918A (en) | 2015-06-24 | 2015-06-24 | WEBGIS based online big data display method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104991918A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106155683A (en) * | 2016-06-29 | 2016-11-23 | 北京京东尚科信息技术有限公司 | Electronic chart point position polymerization and service terminal device |
CN106453822A (en) * | 2016-08-31 | 2017-02-22 | 成都数联铭品科技有限公司 | Map information display method based on asynchronous loading |
CN106534478A (en) * | 2016-08-31 | 2017-03-22 | 成都数联铭品科技有限公司 | Map information display system based on asynchronous loading |
CN109213836A (en) * | 2018-08-10 | 2019-01-15 | 厦门市美亚柏科信息股份有限公司 | point data aggregation method and system |
CN110019622A (en) * | 2017-12-14 | 2019-07-16 | 浙江宇视科技有限公司 | A kind of real time mass map point polymerization and device |
CN112863318A (en) * | 2021-02-04 | 2021-05-28 | 北京高因科技有限公司 | Dragging and connecting method in paper map, electronic equipment and storage medium |
-
2015
- 2015-06-24 CN CN201510354550.8A patent/CN104991918A/en active Pending
Non-Patent Citations (3)
Title |
---|
任洒苗: "基于云计算的WebGIS关键技术研究", 《中国优秀硕士学位论文全文数据库》 * |
戴凤娇等: "基于百度地图的标记点聚合算法研究", 《中国科技信息》 * |
许辉等: "基于Web墨卡托投影地理信息系统设计与实现", 《数据库与信息管理》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106155683A (en) * | 2016-06-29 | 2016-11-23 | 北京京东尚科信息技术有限公司 | Electronic chart point position polymerization and service terminal device |
CN106453822A (en) * | 2016-08-31 | 2017-02-22 | 成都数联铭品科技有限公司 | Map information display method based on asynchronous loading |
CN106534478A (en) * | 2016-08-31 | 2017-03-22 | 成都数联铭品科技有限公司 | Map information display system based on asynchronous loading |
CN106453822B (en) * | 2016-08-31 | 2021-04-13 | 成都数联铭品科技有限公司 | Map information display method based on asynchronous loading |
CN110019622A (en) * | 2017-12-14 | 2019-07-16 | 浙江宇视科技有限公司 | A kind of real time mass map point polymerization and device |
CN109213836A (en) * | 2018-08-10 | 2019-01-15 | 厦门市美亚柏科信息股份有限公司 | point data aggregation method and system |
CN109213836B (en) * | 2018-08-10 | 2021-04-02 | 厦门市美亚柏科信息股份有限公司 | Point location data aggregation method and system |
CN112863318A (en) * | 2021-02-04 | 2021-05-28 | 北京高因科技有限公司 | Dragging and connecting method in paper map, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104991918A (en) | WEBGIS based online big data display method | |
US10444940B2 (en) | Interactive geospatial map | |
US10297052B2 (en) | Systems and methods for displaying and viewing data models | |
US9424545B1 (en) | Geospatial construction task management system and method | |
US20210232634A1 (en) | Quantified euler analysis | |
US10977272B2 (en) | System and method for generating data visualization | |
US10684610B2 (en) | Method and system for use in connection with an industrial control system | |
US20140033173A1 (en) | Generating Layouts for Graphs of Data Flow Applications | |
JP7463315B2 (en) | Facility management method, facility management device, facility management program, and recording medium | |
CN107423998B (en) | Visual sales data management method and system based on SaaS platform | |
WO2016141685A1 (en) | Telecommunications engineering drawing generation method and drawing design client | |
KR102643425B1 (en) | A method, an apparatus an electronic device, a storage device, a roadside instrument, a cloud control platform and a program product for detecting vehicle's lane changing | |
CN105808244A (en) | Dynamic data visualized analysis tool based on workflows | |
DE202013012486U1 (en) | User interface for orienting a camera view towards surfaces within a 3-D map and facilities that incorporate the user interface | |
CN105045815A (en) | Data collecting method and apparatus | |
CN103365886A (en) | Method for querying space events in internet of vehicles and optimizing querier | |
WO2016099460A1 (en) | Display a subset of objects on a user interface | |
CN105867951A (en) | Data processing method and device as well as screen designer | |
US10402727B2 (en) | Methods for evaluating and simulating data | |
CN111340404A (en) | Method and device for constructing index system and computer storage medium | |
EP3051468A1 (en) | A graphical user interface for temporal representation of structured information in an object model | |
US9116603B2 (en) | Managing interactions with data having membership in multiple groupings | |
CN115794980A (en) | Data display method, equipment, device and medium | |
CN107123075A (en) | Road structure thing data interactive method and device | |
US11250058B2 (en) | Providing an easily navigable visual representation of a graph |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151021 |
|
RJ01 | Rejection of invention patent application after publication |