CN103399953B - A kind of method and system of Real time displaying mass data - Google Patents

A kind of method and system of Real time displaying mass data Download PDF

Info

Publication number
CN103399953B
CN103399953B CN201310364855.8A CN201310364855A CN103399953B CN 103399953 B CN103399953 B CN 103399953B CN 201310364855 A CN201310364855 A CN 201310364855A CN 103399953 B CN103399953 B CN 103399953B
Authority
CN
China
Prior art keywords
map
picture
service
thematic
server
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.)
Active
Application number
CN201310364855.8A
Other languages
Chinese (zh)
Other versions
CN103399953A (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.)
SUZHOU DIGITAL MAP INFORMATION TECHNOLOGY CO., LTD.
Original Assignee
Suzhou Digital Map Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Digital Map Network Technology Co Ltd filed Critical Suzhou Digital Map Network Technology Co Ltd
Priority to CN201310364855.8A priority Critical patent/CN103399953B/en
Publication of CN103399953A publication Critical patent/CN103399953A/en
Application granted granted Critical
Publication of CN103399953B publication Critical patent/CN103399953B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The method and system of a kind of Real time displaying mass data, the method comprises the following steps.Server creates base map service and thematic map service, the service of client call base map and thematic map service.The base map service creation base map picture of server, thematic map service creation thematic map picture.Client obtains to server and shows on base map picture and thematic map picture, and the base map picture that is added to by thematic map picture.This system includes client and server, client Connection Service device.Client is used for base map service and the thematic map service of invoking server, and is added on base map picture by the thematic map picture obtained from server, shows.Server is used for creating base map service and thematic map service, and with base map service creation base map picture, thematic map service creation thematic map picture.By the method and system of the Real time displaying mass data that the present invention provides, on the premise of not affecting the speed of service, it is possible in the substantial amounts of point of browser display, line and face data.

Description

A kind of method and system of Real time displaying mass data
Technical field
The invention belongs to area of geographic information, be specifically related to a kind of method of Real time displaying mass data and be System.
Background technology
GIS(GIS-Geographic Information System, Geographic Information System) it is a comprehensive branch of learning, Combine geography, cartography, remote sensing and computer science, be for inputting, store, inquiring about, divide Analysis and the computer system of display geodata, be widely applied to different fields.And along with mutually Popularizing of working application, the WEBGIS running on internet environment becomes the focus of industry.
In traditional GIS, often relate to the display of a large amount of point, line, surface, work as video data When amount increases, the response time that can have a strong impact on system results even in the collapse of system.This situation exists By in the WEBGIS of browser access, performance especially prominent.To show point-like data instance, In IE browser, the point-like data of each display, certain browser resource will be consumed, work as display Point-like overabundance of data time (such as: about 2000), have obvious system response feelings not in time Condition, results even in browser collapse time serious.
For the problems referred to above, the most common solution has, the data volume that limiting browser shows every time, Or use some polymerization, the display mode of a point will be aggregated in some position adjacent on locus.But The equal Shortcomings of said method: the quantity limiting each video data will cause function to be unable to reach system Expection.Such as: need to show on map the position of 30,000 monitoring probes in the whole city, by all probes The display of spatial distribution, allows system user understand key area and the monitoring blind area of monitoring, if cannot one Secondary property shows the position of all probes on map, just cannot realize the construction object of this function.And use Point polymerization methods display point position, then cannot show the particular location of each some position.
In prior art, a kind of picture superposition of the disclosure of the invention of Application No. 201210387370.6 Method and system, the method includes: load the first picture conduct by application programming interfaces based on map Base map, each point on base map, an all corresponding geographical coordinate, by second picture with the form marked Add the geographical coordinate position corresponding to base map of required placement to.In the above-mentioned methods, when mark number When measuring more, still can cause page overload, and cause browser to respond slow problem.
In sum, need to design the method and system of a kind of Real time displaying mass data, it is possible at not shadow On the premise of ringing browser normal running speed, show mass data.
Summary of the invention
The present invention provides a kind of method of Real time displaying mass data, comprises the following steps:
S1, server create base map service and thematic map service, and base map service described in client call is with special Topic figure service;
S2, the base map service creation base map picture of described server, thematic map service creation thematic map picture;
S3, client obtain described base map picture and thematic map picture to server, and by described thematic map Picture is added on base map picture, shows.
Preferably, in described step S1, client also sends the longitude and latitude scope preset to server, And call base map service with call thematic map service send longitude and latitude scope identical.
Preferably, in described step S1, client creates map object by the API of Online Map, And in described map object, it is respectively provided with base map object and thematic map object, service with base map object reference The base map service of device, with the thematic map service of thematic map object reference server.
Preferably, in described step S2, described thematic map picture, is by the thematic map service of server Picture according to the background transparent that the business datum of storage in server generates.
Preferably, in described step S3, the base map object acquisition base map picture of client, thematic map pair As obtaining after thematic map picture, described client by base map object and the incoming map object of thematic map object, Export after map object superposition thematic map picture and base map picture.
Preferably, in described step S3, the longitude and latitude change that the superposition picture that shows when client is corresponding Time, described client calls base map service and the new base map picture of thematic map service acquisition and thematic map automatically Picture, and Overlapping display.
Preferably, described client at least calls a thematic map service, and obtains at least one from server Open thematic map picture, be superimposed upon on base map picture and show.
The present invention also provides for the system of a kind of Real time displaying mass data, including client and server, institute Stating client Connection Service device, described client, for base map service and the thematic map clothes of invoking server Business, and the thematic map picture obtained from server is added on base map picture, show.Described clothes Business device, is used for creating base map service and thematic map service, and with base map service creation base map picture, special topic Figure service creation thematic map picture.
According to the method and system of the Real time displaying mass data that the present invention provides, client is by calling clothes Business device respective service, is generated base map picture and thematic map picture by server and is supplied to client, client Hold and show on base map picture that the thematic map picture of background transparent is added to.So, greatly reduce The resource consumption of browser, on the premise of not affecting browser response speed, can show on webpage The data of magnanimity.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below, Accompanying drawing in description is only some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow diagram of the Real time displaying mass data that present pre-ferred embodiments provides;
Fig. 2 is the system structure schematic diagram of the Real time displaying mass data that present pre-ferred embodiments provides.
Detailed description of the invention
Below with reference to accompanying drawing and describe the present invention in detail in conjunction with the embodiments.It should be noted that In the case of not conflicting, the embodiment in the application and the feature in embodiment can be mutually combined.
Fig. 1 is the method flow diagram of the Real time displaying mass data that present pre-ferred embodiments provides.Such as Fig. 1 Shown in, the method for the Real time displaying mass data that present pre-ferred embodiments provides includes step S1~S3.
Step S1: server creates base map service and thematic map service, base map service described in client call With thematic map service.
Specifically, client creates map object by the API of Online Map, described Online Map Source includes Baidu's map, google map and Openlayers.Wherein, the ground that OpenLayers supports Figure source includes Google Maps, Yahoo, Map and Microsoft Virtual Earth, the present embodiment with Illustrate as a example by Openlayers.Client creates the process that realizes of map object such as:
var map=null;
var baseLayer,xfsLayer;
map=new GIMap.Map(′map′,{
mapExtent:[120.06107915344501,30.616287482841734, 121.42555724717593,32.17569101853422] });
After client creates map object, described map object is respectively provided with base map object and thematic map Object, and with the base map service of base map object reference server, special with thematic map object reference server Topic figure service.
In this, when the base map service of client call service device is with thematic map, sends to server and preset Longitude and latitude scope, and call base map service with call thematic map service send longitude and latitude scope identical. In the present embodiment, to transfer Suzhou map from base map service, to transfer Suzhou fire-fighting from thematic map service Illustrate as a example by bolt scattergram.
Step S2: the base map service creation base map picture of described server, thematic map service creation thematic map Picture.
Specifically, after the service of base map object reference base map, described base map service creation Suzhou map picture The process that realizes of (i.e. base map picture) is such as shown in code below.
BaseLayer=new GIMap.ArcGISCache (" Suzhou map ", " http: // Map Services address /Layers20120118",{
layername:′_alllayers′,
displayInLayerSwitcher:false,
tileOrigin:GIParameters.agsTileOrigin,
isBaseLayer:true,
type:′png′,
transitionEffect:′resize′ });
Thematic map object reference thematic map services, thematic map service creation fire hydrant distribution picture (i.e. special topic Figure picture) the process that realizes such as shown in code below.
XfsLayer=new GIMap.WMS (" fire hydrant scattergram ", " http: // thematic maps address of service /services/GPS110",
{layers:"XD",transparent:true,format:′image/png′} );
Above-mentioned realizing in code, transparent parameter represents that the picture of return is background transparent.
In the present embodiment, described thematic map picture, is according to server by the thematic map service of server The picture of the background transparent that the business datum of middle storage generates.Further, client can repeatedly invoking server Thematic map service, and obtain multiple thematic map pictures from server, be superimposed upon on base map picture and show Show.So, the multiple thematic data of superposition can show simultaneously, thus increase data container amount.
Step S3: client to server obtains described base map picture and thematic map picture, and by described specially Topic figure picture is added on base map picture, shows.
Specifically, the base map object acquisition base map picture of client, thematic map object acquisition thematic map figure After sheet, described client is by base map object and the incoming map object of thematic map object, and map object superposition is special Export after topic figure picture and base map picture.
Additionally, increase trigger condition for map object, the longitude and latitude that the superposition picture that shows when client is corresponding During degree change, described client automatically call base map service and the new base map picture of thematic map service acquisition and Thematic map picture, and Overlapping display.Realize process as follows.
map.addEventListener(Extent.EXTENT_CHANGE,extentChange_Handler);
function extentChange_Handler(event){
var extent=map.extent;
baseLayer.update(extent);
xfsLayer.update(extent); }
Wherein, extent parameter represents current longitude and latitude scope, calls base map service respectively by this scope And thematic map service, update the picture that client shows.
Fig. 2 is the system structure schematic diagram of the Real time displaying mass data that present pre-ferred embodiments provides. As in figure 2 it is shown, the system of the Real time displaying mass data of present pre-ferred embodiments offer includes client 1 And server 2, described client 1 Connection Service device 2, described client 1, for invoking server 2 Base map service and thematic map service, and base map figure that the thematic map picture obtained from server 2 is added to On sheet, show.Described server 2, is used for creating base map service and thematic map service, and with base map Service creation base map picture, thematic map service creation thematic map picture.
In sum, the method for Real time displaying mass data that provides according to present pre-ferred embodiments and be System, client is passed through invoking server respective service, server is generated base map picture and thematic map picture And it being supplied to client, the thematic map picture of background transparent is added on base map picture and shows by client Show.So, in the case of consuming few resources, the actual position of different classes of data is clearly displayed. When user's scaling or the superposition picture of mobile display, client can the picture of automatic display of new, can make clear Device of looking at responded within the shortest time, showed substantial amounts of data for user.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses The present invention.Multiple amendment to these embodiments will be aobvious and easy for those skilled in the art See, generic principles defined herein can without departing from the spirit or scope of the present invention, Realize in other embodiments.Therefore, the present invention is not intended to be limited to embodiment illustrated herein, and It is to fit to the widest scope consistent with principles disclosed herein and features of novelty.To disclosed The described above of embodiment, makes professional and technical personnel in the field be capable of or uses the present invention.To these The multiple amendment of embodiment will be apparent from for those skilled in the art, herein institute The General Principle of definition can without departing from the spirit or scope of the present invention, in other embodiments Middle realization.Therefore, the present invention is not intended to be limited to embodiment illustrated herein, and is to fit to and this Principle disclosed in literary composition and the consistent the widest scope of features of novelty.

Claims (5)

1. the method for a Real time displaying mass data, it is characterised in that comprise the following steps:
S1, server create base map service and thematic map service, base map service and special topic described in client call Figure service;
S2, the base map service creation base map picture of described server, thematic map service creation thematic map picture;
S3, client obtain described base map picture and thematic map picture to server, and by described thematic map figure Sheet is added on base map picture, shows;
In described step S1, client also sends the longitude and latitude scope preset to server, and calls base map The longitude and latitude scope serviced and call thematic map service transmission is identical;
In described step S1, client creates map object by the API of Online Map, and described Figure object is respectively provided with base map object and thematic map object, with the base map service of base map object reference server, Thematic map service with thematic map object reference server.
Method the most according to claim 1, it is characterised in that in described step S2, described special topic Figure picture, is that the background generated according to the business datum of storage in server by the thematic map service of server is saturating Bright picture.
Method the most according to claim 1, it is characterised in that in described step S3, client Base map object acquisition base map picture, after thematic map object acquisition thematic map picture, described client is by base map pair As and the incoming map object of thematic map object, after map object superposition thematic map picture and base map picture export.
Method the most according to claim 1, it is characterised in that in described step S3, work as client Display superposition picture corresponding longitude and latitude change time, described client calls base map service and thematic map automatically Base map picture that service acquisition is new and thematic map picture, and Overlapping display.
Method the most according to claim 1, it is characterised in that described client is at least called the most special Topic figure service, and obtain at least one thematic map picture from server, it is superimposed upon on base map picture and shows.
CN201310364855.8A 2013-08-20 2013-08-20 A kind of method and system of Real time displaying mass data Active CN103399953B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310364855.8A CN103399953B (en) 2013-08-20 2013-08-20 A kind of method and system of Real time displaying mass data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310364855.8A CN103399953B (en) 2013-08-20 2013-08-20 A kind of method and system of Real time displaying mass data

Publications (2)

Publication Number Publication Date
CN103399953A CN103399953A (en) 2013-11-20
CN103399953B true CN103399953B (en) 2016-12-28

Family

ID=49563581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310364855.8A Active CN103399953B (en) 2013-08-20 2013-08-20 A kind of method and system of Real time displaying mass data

Country Status (1)

Country Link
CN (1) CN103399953B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106599919B (en) * 2016-12-13 2020-04-28 毛荣军 Manufacturing and displaying method of augmented reality diamond picture
CN112464111A (en) * 2019-09-09 2021-03-09 北京国双科技有限公司 Map layer loading method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1556481A (en) * 2003-12-30 2004-12-22 上海交通大学 Map browsing apparatus realizing method faced large scale space informations
CN101593209A (en) * 2008-12-30 2009-12-02 中国科学院地理科学与资源研究所 A kind of alternating type online statistical map generation and distributing device and method
CN102402532A (en) * 2010-09-13 2012-04-04 方正国际软件有限公司 Thematic map configuration generation method and system
CN102968805A (en) * 2012-10-14 2013-03-13 安科智慧城市技术(中国)有限公司 Picture superposition method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1556481A (en) * 2003-12-30 2004-12-22 上海交通大学 Map browsing apparatus realizing method faced large scale space informations
CN101593209A (en) * 2008-12-30 2009-12-02 中国科学院地理科学与资源研究所 A kind of alternating type online statistical map generation and distributing device and method
CN102402532A (en) * 2010-09-13 2012-04-04 方正国际软件有限公司 Thematic map configuration generation method and system
CN102968805A (en) * 2012-10-14 2013-03-13 安科智慧城市技术(中国)有限公司 Picture superposition method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
开放式地理信息系统应用开发平台的理论与实现;方裕、陈斌、薛巍巍;《中国图像图形学报》;19981025(第10期);全文 *

Also Published As

Publication number Publication date
CN103399953A (en) 2013-11-20

Similar Documents

Publication Publication Date Title
AU2019204746B2 (en) Managing map elements using aggregate feature identifiers
US10467558B2 (en) Real time map rendering with data clustering and expansion and overlay
US20150062114A1 (en) Displaying textual information related to geolocated images
JP7032277B2 (en) Systems and methods for disambiguating item selection
US20150020008A1 (en) Enabling quick display transitions between indoor and outdoor map data
US20190156538A1 (en) Dynamically Varying Visual Properties of Indicators on a Digital Map
CN103399953B (en) A kind of method and system of Real time displaying mass data
KR20210062629A (en) Select points of interest to display on personalized digital maps
Ntoumi et al. Un-E-Nav: A Progressive Web Campus Navigator
Zhao et al. The research of information publishing platform in Web GIS based on Applet/Servlet mode
CN105320692B (en) A kind of method, apparatus and system that mass data is presented
Ying et al. Selective progressive transmission of vector data
Zhang et al. Research on Land Utilization Information Publishing Based on Google Maps
Huang et al. The design and implementation of agricultural production price transmission system based on ArcGIS silverlight API
Fengli et al. Query and trigger of moving objects in WebGIS environment

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
CP03 Change of name, title or address

Address after: 215123 building 12, Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Jiangsu.

Patentee after: SUZHOU DIGITAL MAP INFORMATION TECHNOLOGY CO., LTD.

Address before: 215125 A7 305, bio nano Park, No. 218, Xing Hu Street, Suzhou Industrial Park, Jiangsu

Patentee before: Suzhou Digital Map Network Technology Co., Ltd.

CP03 Change of name, title or address