CN103399953A - Method and system for online display of mass data - Google Patents

Method and system for online display of mass data Download PDF

Info

Publication number
CN103399953A
CN103399953A CN2013103648558A CN201310364855A CN103399953A CN 103399953 A CN103399953 A CN 103399953A CN 2013103648558 A CN2013103648558 A CN 2013103648558A CN 201310364855 A CN201310364855 A CN 201310364855A CN 103399953 A CN103399953 A CN 103399953A
Authority
CN
China
Prior art keywords
map
thematic
picture
server
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013103648558A
Other languages
Chinese (zh)
Other versions
CN103399953B (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

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a method and a system for online display of mass data. The method comprises the following steps that a server creates a base map service and a thematic map service; a client calls the base map service and the thematic map service; the base map service of the server generates a base map picture; the thematic map service generates a thematic map picture; and the client acquires the base map picture and the thematic map picture from the server, and superimposes the thematic map picture onto the base map picture for display. The system comprises the client and the server, wherein the client is connected with the server, and used for calling the base map service and the thematic map service of the server, and superimposing the thematic map picture acquired from the server onto the base map picture for display, and the server is used for creating the base map service and the thematic map service, and generating the base map picture based on the base map service, and the thematic map picture based on the thematic map service. According to the method and the system for the online display of the mass data, a large amount of point, line and surface data can be displayed on a browser on the premise that a running speed is not influenced.

Description

A kind of method and system of online demonstration mass data
Technical field
The invention belongs to area of geographic information, be specifically related to a kind of method and system of online demonstration mass data.
Background technology
The GIS(Geographic Information System, Geographic Information System) be a comprehensive branch of learning, combine geography, cartography, remote sensing and computer science, be for the computer system of input, storage, inquiry, analysis and demonstration geodata, be applied in widely different fields.And universal along with internet, applications, the WEBGIS that runs on internet environment becomes the focus of industry.
In traditional GIS, often have the demonstration that relates to a large amount of point, line, surface, when showing that data volume increases, the response time that can have a strong impact on system even can cause the collapse of system.This situation is by in the WEBGIS of browser access, performance particularly outstanding.To show the point-like data instance, in the IE browser, the point-like data of each demonstration, all to consume certain browser resource, when the point-like overabundance of data that shows (for example: 2000 left and right), have obvious system responses situation not in time, when serious, even can cause the browser collapse.
For the problems referred to above, at present common solution has, and the each data volume that shows of limiting browser, or adopt a some polymerization is about to the display mode that adjacent some position on locus aggregates into a point.But the equal Shortcomings of said method: restriction is each shows that the quantity of data will cause function can't reach the expection of system.For example: the position that needs to show on map 30,000 monitoring probes in the whole city, by the demonstration to all probe space distributions, allow system user understand key area and the monitoring blind area of monitoring, if can't be disposable on map, show the position of all probes, just can't realize the construction object of this function.And adopt the some polymerization methods to show the some position, can't show the particular location of each some position.
In prior art, application number has been 201210387370.6 disclosure of the invention a kind of method and system of picture stack, the method comprises: the application programming interfaces by map-based load the first picture as base map, each point on base map, corresponding geographic coordinates all, the corresponding geographic coordinate of the base map position of adding second picture to required placement with the form of mark.In said method, when mark quantity is more, still can causes page overload, and cause browser to respond slow problem.
In sum, need the method and system of a kind of online demonstration mass data of design, can, under the prerequisite that does not affect the browser normal running speed, show mass data.
Summary of the invention
The invention provides a kind of method of online demonstration mass data, comprise the following steps:
S1, server create base map service and thematic map service, the described base map service of client call and thematic map service;
The base map service creation base map picture of S2, described server, thematic map service creation thematic map picture;
S3, client are obtained described base map picture and thematic map picture to server, and described thematic map picture is added on the base map picture, show.
Preferably, in described step S1, client also sends default longitude and latitude scope to server, and it is identical with the longitude and latitude scope of calling thematic map service transmission to call the base map service.
Preferably, in described step S1, client creates map object by the API of Online Map, and base map object and thematic map object are set respectively in described map object, with the base map service of base map object reference server, with the thematic map service of thematic map object reference server.
Preferably, in described step S2, described thematic map picture, be the picture of the background transparent that generated according to the business datum of storing in server by the thematic map service of server.
Preferably, in described step S3, the base map object acquisition base map picture of client, after thematic map object acquisition thematic map picture, described client is imported base map object and thematic map object into map object, after map object stack thematic map picture and base map picture, exports.
Preferably, in described step S3, when the longitude and latitude that the stack picture that shows when client is corresponding changes, described client Automatically invoked base map service and new base map picture and the thematic map picture of thematic map service acquisition, and Overlapping display.
Preferably, described client is called a thematic map service at least, and obtains at least one thematic map picture from server, is superimposed upon on the base map picture and shows.
The present invention also provides a kind of system of online demonstration mass data, comprise client and server, described client connection server, described client, base map service and thematic map service for invoking server, and, on the base map picture that will be added to from the thematic map picture that server obtains, show.Described server, be used to creating base map service and thematic map service, and with base map service creation base map picture, thematic map service creation thematic map picture.
Method and system according to online demonstration mass data provided by the invention, client is by the invoking server respective service, by server, generated base map picture and thematic map picture and offered client, client is added to the thematic map picture of background transparent on the base map picture and shows.So, greatly reduce the resource consumption of browser, under the prerequisite that does not affect the browser response speed, can on webpage, show the data of magnanimity.
The accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the method flow diagram of the online demonstration mass data that provides of preferred embodiment of the present invention;
Fig. 2 is the system architecture schematic diagram of the online demonstration mass data that provides of preferred embodiment of the present invention.
Embodiment
Hereinafter with reference to accompanying drawing, also describe in conjunction with the embodiments the present invention in detail.It should be noted that, in the situation that do not conflict, embodiment and the feature in embodiment in the application can make up mutually.
Fig. 1 is the method flow diagram of the online demonstration mass data that provides of preferred embodiment of the present invention.As shown in Figure 1, the method for the online demonstration mass data that provides of preferred embodiment of the present invention comprises step S1~S3.
Step S1: server creates base map service and thematic map service, the described base map service of client call and thematic map service.
Particularly, client creates map object by the API of Online Map, and the source of described Online Map comprises Baidu's map, google map and Openlayers.Wherein, the map source that OpenLayers supports comprises Google Maps, Yahoo, Map and the Virtual Earth of Microsoft, and the present embodiment describes as an example of Openlayers example.The implementation procedure that client creates map object is for example:
var?map=null;
var?baseLayer,xfsLayer;
map=new?GIMap.Map(′map′,{
mapExtent:[120.06107915344501,30.616287482841734,121.42555724717593,32.17569101853422]});
Client arranges respectively base map object and thematic map object after creating map object in described map object, and with the base map service of base map object reference server, the thematic map service of use thematic map object reference server.
In this, when the base map service of client call service device and thematic map, to server, send default longitude and latitude scope, and it is identical with the longitude and latitude scope of calling thematic map service transmission to call the base map service.In the present embodiment, take from the base map service, transferring the Suzhou map, from the thematic map service, transferring Suzhou hose saddle distribution plan, describing as example.
Step S2: the base map service creation base map picture of described server, thematic map service creation thematic map picture.
Particularly, after the service of base map object reference base map, the implementation procedure of described base map service creation Suzhou map picture (being the base map picture) is for example shown in following code.
BaseLayer=new GIMap.ArcGISCache (" Suzhou map ", " http: // Map Services address/Layers20120118 ",
layername:′_alllayers′,
displayInLayerSwitcher:false,
tileOrigin:GIParameters.agsTileOrigin,
isBaseLayer:true,
type:′png′,
transitionEffect:′resize′});
The service of thematic map object reference thematic map, the implementation procedure of thematic map service creation hose saddle distribution picture (being the thematic map picture) is for example shown in following code.
XfsLayer=new GIMap.WMS (" hose saddle distribution plan ", " http: // thematic maps address of service/services/GPS110 ",
{layers:"XD",transparent:true,format:′image/png′});
In above-mentioned code, the picture that the transparent Parametric Representation returns is background transparent.
In the present embodiment, described thematic map picture, be the picture of the background transparent that generated according to the business datum of storing in server by the thematic map service of server.And client is the thematic map service of invoking server repeatedly, and obtains multiple thematic map pictures from server, is superimposed upon on the base map picture and shows.So, a plurality of thematic datas that can superpose simultaneously show, thereby increase the data saturation.
Step S3: client is obtained described base map picture and thematic map picture to server, and described thematic map picture is added on the base map picture, shows.
Particularly, the base map object acquisition base map picture of client, after thematic map object acquisition thematic map picture, described client is imported base map object and thematic map object into map object, after map object stack thematic map picture and base map picture, exports.
In addition, for map object increases trigger condition, when the longitude and latitude that the stack picture that shows when client is corresponding changes, described client Automatically invoked base map service and new base map picture and the thematic map picture of thematic map service acquisition, and Overlapping display.Implementation procedure is as follows.
map.addEventListener(Extent.EXTENT_CHANGE,extentChange_Handler);
function?extentChange_Handler(event){
var?extent=map.extent;
baseLayer.update(extent);
xfsLayer.update(extent);}
Wherein, the extent parameter represents current longitude and latitude scope, by this scope, calls respectively base map service and thematic map service, upgrades the picture that client shows.
Fig. 2 is the system architecture schematic diagram of the online demonstration mass data that provides of preferred embodiment of the present invention.As shown in Figure 2, the system of the online demonstration mass data that preferred embodiment of the present invention provides comprises client 1 and server 2, described client 1 connection server 2, described client 1, base map service and thematic map service for invoking server 2, and, on the base map picture that will be added to from the thematic map picture that server 2 obtains, show.Described server 2, be used to 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 and system of the online demonstration mass data that preferred embodiment provides according to the present invention, client is by the invoking server respective service, by server, generated base map picture and thematic map picture and offered client, client is added to the thematic map picture of background transparent on the base map picture and shows.So, in the situation that consume few resources, clearly show the actual position of different classes of data.When the stack picture of user's convergent-divergent or mobile display, but the picture of client automatic display of new can make browser respond within the shortest time, for the user shows a large amount of data.
To the above-mentioned explanation of the disclosed embodiments, make professional and technical personnel in the field can realize or use the present invention.Multiple modification to these embodiment will be apparent for those skilled in the art, and General Principle as defined herein can be in the situation that do not break away from the spirit or scope of the present invention, realization in other embodiments.Therefore, the present invention will can not be restricted to embodiment illustrated herein, but will meet the widest scope consistent with principle disclosed herein and features of novelty.To the above-mentioned explanation of the disclosed embodiments, make professional and technical personnel in the field can realize or use the present invention.Multiple modification to these embodiment will be apparent for those skilled in the art, and General Principle as defined herein can be in the situation that do not break away from the spirit or scope of the present invention, realization in other embodiments.Therefore, the present invention will can not be restricted to embodiment illustrated herein, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (8)

1. an online method that shows mass data, is characterized in that, comprises the following steps:
S1, server create base map service and thematic map service, the described base map service of client call and thematic map service;
The base map service creation base map picture of S2, described server, thematic map service creation thematic map picture;
S3, client are obtained described base map picture and thematic map picture to server, and described thematic map picture is added on the base map picture, show.
2. method according to claim 1, is characterized in that, in described step S1, client also sends default longitude and latitude scope to server, and it is identical with the longitude and latitude scope of calling thematic map service transmission to call the base map service.
3. method according to claim 1, it is characterized in that, in described step S1, client creates map object by the API of Online Map, and base map object and thematic map object be set respectively in described map object, with the base map service of base map object reference server, with the thematic map service of thematic map object reference server.
4. method according to claim 1, is characterized in that, in described step S2, described thematic map picture, be the picture of the background transparent that generated according to the business datum of storing in server by the thematic map service of server.
5. method according to claim 1, it is characterized in that, in described step S3, the base map object acquisition base map picture of client, after thematic map object acquisition thematic map picture, described client is imported base map object and thematic map object into map object, after map object stack thematic map picture and base map picture, exports.
6. method according to claim 1, it is characterized in that, in described step S3, when the longitude and latitude that the stack picture that shows when client is corresponding changes, described client Automatically invoked base map service and new base map picture and the thematic map picture of thematic map service acquisition, and Overlapping display.
7. method according to claim 1, is characterized in that, described client is called a thematic map service at least, and obtain at least one thematic map picture from server, is superimposed upon on the base map picture and shows.
8. an online system that shows mass data, is characterized in that, comprises client and server, described client connection server,
Described client, for base map service and the thematic map service of invoking server, and, on the base map picture that will be added to from the thematic map picture that server obtains, show;
Described server, be used to creating base map service and thematic map service, and with base map service creation base map picture, thematic map service creation thematic map picture.
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 true CN103399953A (en) 2013-11-20
CN103399953B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106599919A (en) * 2016-12-13 2017-04-26 毛荣军 Fabrication method and display method of augmented reality diamond painting
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
方裕、陈斌、薛巍巍: "开放式地理信息系统应用开发平台的理论与实现", 《中国图像图形学报》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106599919A (en) * 2016-12-13 2017-04-26 毛荣军 Fabrication method and display method of augmented reality diamond painting
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

Also Published As

Publication number Publication date
CN103399953B (en) 2016-12-28

Similar Documents

Publication Publication Date Title
AU2019204746B2 (en) Managing map elements using aggregate feature identifiers
AU2017251816B2 (en) Rendering map images using modifications of non-raster map data
JP5914349B2 (en) Method and apparatus for cross-referencing and deduplicating objects in multiple map building blocks
EP2560142B1 (en) Generating and serving tiles in a digital mapping system
US9052199B2 (en) System and method for indicating user location and facing direction on a digital map
KR102677458B1 (en) Dynamic changes in visual properties of indicators on digital maps
CN105718498B (en) The method and apparatus of network map mix-loaded
US20200097564A1 (en) Selecting points of interest for display on a personalized digital map
TW201413564A (en) System and method for switching desktops
CN103399953A (en) Method and system for online display of mass data
US20230366700A1 (en) Overlay rendering using a hardware-accelerated framework for memory sharing and overlay based map adjusting
CN106527843A (en) Icon display method and terminal
Niu et al. The application and research of geoprocessing service in WebGIS spatial analysis
Gonchikara An android application for crime analysis in San Diego
Ying et al. Selective progressive transmission of vector data
Andreucci Implementing Geolocation

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
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.