CN104268912A - Dynamic trigger layer filling method based on GIS platform - Google Patents

Dynamic trigger layer filling method based on GIS platform Download PDF

Info

Publication number
CN104268912A
CN104268912A CN201410489125.5A CN201410489125A CN104268912A CN 104268912 A CN104268912 A CN 104268912A CN 201410489125 A CN201410489125 A CN 201410489125A CN 104268912 A CN104268912 A CN 104268912A
Authority
CN
China
Prior art keywords
gis platform
data
layer
picture
code
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
Application number
CN201410489125.5A
Other languages
Chinese (zh)
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.)
Shandong Luneng Software Technology Co Ltd
Original Assignee
Shandong Luneng Software 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 Shandong Luneng Software Technology Co Ltd filed Critical Shandong Luneng Software Technology Co Ltd
Priority to CN201410489125.5A priority Critical patent/CN104268912A/en
Publication of CN104268912A publication Critical patent/CN104268912A/en
Pending legal-status Critical Current

Links

Abstract

The invention belongs to the technical field of geographic information systems for B/S frameworks, and particularly relates to a dynamic trigger layer filling method based on a GIS platform. The method includes the following steps of compiling and deploying service codes at the rear end of the GIS platform, dynamically calling layer algorithms for different services at the rear end of the GIS platform according to received power grid or meteorological data, compiling and deploying the layer algorithms dynamically called for the services, compiling and deploying a graph outlet program at the rear end of the GIS platform, pushing data from the rear end of the GIS platform to the front end of the GIS platform, monitoring events at the front end of the GIS platform, and displaying data dynamically loaded to a displaying container at the front end of the GIS platform. The effective utilization rate of a data pushing channel is increased, code flexibility and code expandability are improved, no manual operation is needed, the problem that data at the rear end of the GIS platform can not be transmitted to the front end of the GIS platform in real time can be solved, and data displayed at the front end of the GIS platform can get rid of influences caused by repeated refresh.

Description

Based on the Dynamic trigger layer fill method of GIS platform
(1) technical field
The invention belongs to the geographic information system technology field that B/S framework uses, particularly a kind of Dynamic trigger layer fill method based on GIS platform.
(2) background technology
In existing B/S development technique, mainly to ask based on response, so mainly contain GIS platform front end to initiate layer or function request, GIS platform rear end is sent to GIS platform front end after publishing picture.
In this technology, mainly rely on GIS platform front end periodic refreshing, layer required parameter and function required parameter are sent to service end; Carry out logical operation and process by service end to request, the information of publishing picture accordingly that obtains is published picture; Be sent to GIS platform front end after publishing picture to show.
The Method compare of this display data is difficult to the transmission of satisfied good data and Consumer's Experience.First, GIS platform front end periodic refreshing cannot know for sure the transformation period of Back end data, so cause the time waste of data channel, and the notice front end that GIS platform Back end data cannot be real-time after change; Secondly, cause because the delayed and continuous request in data refreshes the display data function that the data display of GIS platform front end can not be good.
(3) summary of the invention
The present invention is in order to make up the deficiencies in the prior art, provide a kind of Dynamic trigger layer fill method based on GIS platform, the problem that GIS platform Back end data can not be sent to GIS platform front end in real time can be solved, GIS platform front end data is shown and can break away from the impact constantly refreshing and cause.
The present invention is achieved through the following technical solutions:
Based on a Dynamic trigger layer fill method for GIS platform, it is characterized in that: comprise the following steps:
(1), the establishment of GIS platform back-end services code and deployment, real-time reception electrical network or weather data;
(2), according to the electrical network received or weather data, to GIS platform rear end difference service dynamic call layer algorithm;
(3), according to the logical process receiving data, figure layer data is called dynamically, the layer algorithm of establishment and deployment services dynamic call;
(4), the program of publishing picture of establishment and deployment GIS platform rear end;
(5), GIS platform rear end is to GIS platform front end propelling data;
(6), the GIS platform front end time monitors;
(7), GIS platform front end display container dynamic load data are shown.
Preferably, in step (4), first generate a png format picture, call the electrical network business datum that Picture Generation Method loads layer, and carry out graphic plotting according to the conversion between spatial data and screen coordinate, draw the persistent layer after terminating, data being retained to GIS platform.
Preferably, in step (5), png picture is pushed to GIS platform front end.
Preferably, in step (6), in the display container of GIS platform front end, write event listener, listen to GIS platform Back end data and push.
The invention has the beneficial effects as follows:
(1) the effective utilization ratio of data-pushing passage improves: initiatively push to GIS platform front end after GIS platform rear end receives electric network data, avoid the many invalid request of data of GIS platform front end timing, effectively can improve the request transfer efficiency of data channel;
(2) GIS platform Back end data is loaded as Dynamic Selection and goes out diagram data and publish picture, and the code of non-static loads, improve source code flexible and extendability, can continuous as requested areal map layer data is registered in service, avoid the code carried out in order to Function Extension to revise in a large number;
(3) displaying interface in GIS platform front end does not need manual operations, and the data pushed to GIS platform rear end by action listener, enter the layer filling interface that dynamically sets out automatically, and the latest data that GIS platform pushes is carried out dynamic in real time displaying.
(4) accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is further illustrated.
Accompanying drawing 1 is process flow diagram of the present invention;
Accompanying drawing 2 is the structured flowchart of GIS.
(5) embodiment
Accompanying drawing is a kind of specific embodiment of the present invention.A kind of Dynamic trigger layer fill method based on GIS platform of this embodiment, comprises the following steps:
(1), establishment with deployment GIS platform rear end service code, real-time reception electrical network or weather data;
(2), according to the electrical network received or weather data, to GIS platform rear end difference service dynamic call layer algorithm;
(3), according to the logical process receiving data figure layer data is called dynamically, the layer algorithm of establishment and deployment services dynamic call;
(4), the program of publishing picture of establishment and deployment GIS platform rear end: first generate a png format picture, call the electrical network business datum that Picture Generation Method loads layer, and carry out graphic plotting according to the conversion between spatial data and screen coordinate, draw the persistent layer after terminating, data being retained to GIS platform;
(5), GIS platform rear end to GIS platform front end propelling data, png picture is pushed to GIS platform front end;
(6), the GIS platform front end time monitor, write event listener in the display container of GIS platform front end, listen to GIS platform Back end data push;
(7), GIS platform front end display container dynamic load data are shown.
Based on a Dynamic trigger layer fill method for GIS platform, furthermore, comprise the following steps:
(1) GIS platform code, is write;
(2), GIS platform front end Container Code is write according to display data;
(3), monitor to the GIS platform front end container time of adding;
(4) GIS platform back-end server, is built;
(5), write GIS platform rear end reception data, services code, carry out logical process according to reception data, carry out dynamic call figure layer data;
(6), write GIS platform backstage and to publish picture program, according to the graphics package that language provides, instantiation png format picture, calls in Picture Generation Method and loads layer and electrical network business datum, mainly clearly determines the position of each display element in picture;
(7), graphic plotting is carried out according to the conversion between spatial data and screen coordinate;
(8) the png picture, in preservation internal memory is to GIS platform persistent layer;
(9), write propelling movement code, png picture is pushed to GIS platform front end container;
(10), GIS platform front end container shows according to functional requirement;
(11), compiling and deployment code.
Adopt a kind of Dynamic trigger layer fill method based on GIS platform of the present invention, comprise following two embodiments:
One, Dynamic trigger electrical network strong wind thematic map:
1, code is write;
2, write GIS platform front end Container Code: the layer container that strong wind and power network resources can be shown, be referred to as strong wind thematic map front end display container;
3, increase large wind data and transmit monitoring;
4, GIS platform background server is built;
5, write GIS platform backstage and receive strong wind data, services code, carry out strong wind according to reception data and carry out grid equipment figure layer data corresponding in dynamic call high wind areas with electric network data process;
6, write GIS platform rear end to publish picture program, according to the graphics package that language provides, instantiation png format picture, calls the grid equipment data of strong wind data layer and large wind effect in Picture Generation Method, mainly clearly determines the position of each grid equipment in picture;
7, graphic plotting is carried out according to the conversion between grid equipment spatial data and screen coordinate;
8, the png picture in preservation internal memory is to GIS platform persistent layer;
9, write propelling movement code, strong wind thematic map png picture is pushed to GIS platform front end container;
10, GIS platform front end container shows according to functional requirement;
11, code compilation and deployment.
Two, dynamically filling sleet layer is triggered in real time:
1, code is write;
2, GIS platform front end Container Code is write according to display data: the GIS platform front end container writing the grid equipment map data mining platform can showing sleet data layer and impact thereof, is called sleet thematic map;
3, the data decryptor of sleet data-pushing is increased to sleet thematic map display container;
4, GIS platform back-end server is built;
5, write GIS platform rear end and receive data, services code, process according to reception data, the sleet spatial data of reception is combined with grid equipment figure layer data, analyzes the power network resources equipment of impact, and dynamic call sleet figure layer data and power network resources data;
6, write GIS platform rear end to publish picture program, according to the graphics package that language provides, instantiation png format picture, calls in Picture Generation Method the grid equipment data loading sleet layer and impact thereof, mainly clearly determines the display location of grid equipment in picture;
7, graphic plotting is carried out according to the conversion between grid equipment spatial data and screen coordinate;
8, the png picture in preservation internal memory is to GIS platform persistent layer;
9, write propelling movement code, png picture is pushed to GIS platform front end container;
10, GIS platform front end container shows according to functional requirement;
11, code compilation and deployment.
Wherein,
GIS is the English abbreviation of Geographic Information System (Geographic Information System).GIS platform general set map edit, inquiry, location, amplify, reduce, network analysis, path analysis, equivalently analyzes, the functions such as DEM analysis.
Front end container: front-end user interface is made up of assembly.A container is a particular components that can comprise other assemblies, as shown in Figure 2.
GIS platform persistent layer: in system logic aspect, monograph is in one that realizes data persistence relatively independent field.

Claims (6)

1., based on a Dynamic trigger layer fill method for GIS platform, it is characterized in that: comprise the following steps:
(1), establishment with deployment GIS platform rear end service code, real-time reception electrical network or weather data;
(2), according to the electrical network received or weather data, to GIS platform rear end difference service dynamic call layer algorithm;
(3), according to the logical process receiving data figure layer data is called dynamically, the layer algorithm of establishment and deployment services dynamic call;
(4), the program of publishing picture of establishment and deployment GIS platform rear end;
(5), GIS platform rear end is to GIS platform front end propelling data;
(6), the GIS platform front end time monitors;
(7), GIS platform front end display container dynamic load data are shown.
2. a kind of Dynamic trigger layer fill method based on GIS platform according to claim 1, it is characterized in that: in step (4), first a png format picture is generated, call the electrical network business datum that Picture Generation Method loads layer, and carry out graphic plotting according to the conversion between spatial data and screen coordinate, draw the persistent layer after terminating, data being retained to GIS platform.
3. a kind of Dynamic trigger layer fill method based on GIS platform according to claim 1, is characterized in that: in step (5), png picture is pushed to GIS platform front end.
4. a kind of Dynamic trigger layer fill method based on GIS platform according to claim 1, is characterized in that: in step (6), write event listener in the display container of GIS platform front end, listens to GIS platform Back end data and pushes.
5. a kind of Dynamic trigger layer fill method based on GIS platform according to claim 1, is characterized in that: the method, based on Dynamic trigger electrical network strong wind, comprises the following steps:
(1), code is write;
(2), write GIS platform front end Container Code: the layer container that strong wind and power network resources can be shown, be referred to as strong wind thematic map front end display container;
(3), increase large wind data and transmit monitoring;
(4) GIS platform background server, is built;
(5), write GIS platform backstage reception strong wind data, services code, carry out strong wind according to reception data and carry out grid equipment figure layer data corresponding in dynamic call high wind areas with electric network data process;
(6), write GIS platform rear end to publish picture program, according to the graphics package that language provides, instantiation png format picture, calls the grid equipment data of strong wind data layer and large wind effect in Picture Generation Method, mainly clearly determines the position of each grid equipment in picture;
(7), graphic plotting is carried out according to the conversion between grid equipment spatial data and screen coordinate;
(8) the png picture, in preservation internal memory is to GIS platform persistent layer;
(9), write propelling movement code, strong wind thematic map png picture is pushed to GIS platform front end container;
(10), GIS platform front end container shows according to functional requirement;
(11), code compilation and deployment.
6. a kind of Dynamic trigger layer fill method based on GIS platform according to claim 1, is characterized in that: the method dynamically fills sleet layer based on triggering in real time, comprises the following steps:
(1), code is write;
(2) GIS platform front end Container Code, according to display data is write: the GIS platform front end container writing the grid equipment map data mining platform can showing sleet data layer and impact thereof, is called sleet thematic map;
(3) data decryptor of sleet data-pushing, is increased to sleet thematic map display container;
(4) GIS platform back-end server, is built;
(5), write GIS platform rear end and receive data, services code, process according to reception data, the sleet spatial data of reception is combined with grid equipment figure layer data, analyzes the power network resources equipment of impact, and dynamic call sleet figure layer data and power network resources data;
(6), write GIS platform rear end to publish picture program, according to the graphics package that language provides, instantiation png format picture, calls in Picture Generation Method the grid equipment data loading sleet layer and impact thereof, mainly clearly determines the display location of grid equipment in picture;
(7), graphic plotting is carried out according to the conversion between grid equipment spatial data and screen coordinate;
(8) the png picture, in preservation internal memory is to GIS platform persistent layer;
(9), write propelling movement code, png picture is pushed to GIS platform front end container;
(10), GIS platform front end container shows according to functional requirement;
(11), code compilation and deployment.
CN201410489125.5A 2014-09-23 2014-09-23 Dynamic trigger layer filling method based on GIS platform Pending CN104268912A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410489125.5A CN104268912A (en) 2014-09-23 2014-09-23 Dynamic trigger layer filling method based on GIS platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410489125.5A CN104268912A (en) 2014-09-23 2014-09-23 Dynamic trigger layer filling method based on GIS platform

Publications (1)

Publication Number Publication Date
CN104268912A true CN104268912A (en) 2015-01-07

Family

ID=52160431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410489125.5A Pending CN104268912A (en) 2014-09-23 2014-09-23 Dynamic trigger layer filling method based on GIS platform

Country Status (1)

Country Link
CN (1) CN104268912A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976424A (en) * 2010-10-18 2011-02-16 江西省电力科学研究院 Method for generating power system polluted region distribution map by utilizing intelligent rule base engine
US20110231453A1 (en) * 2006-05-16 2011-09-22 Waterstone Environmental Hydrology & Engineering, Inc. State saver/restorer for a geospatial decision management system
CN103093484A (en) * 2013-01-05 2013-05-08 武汉中地数码科技有限公司 Integrated batch drawing method of remote-sensing image and vector data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110231453A1 (en) * 2006-05-16 2011-09-22 Waterstone Environmental Hydrology & Engineering, Inc. State saver/restorer for a geospatial decision management system
CN101976424A (en) * 2010-10-18 2011-02-16 江西省电力科学研究院 Method for generating power system polluted region distribution map by utilizing intelligent rule base engine
CN103093484A (en) * 2013-01-05 2013-05-08 武汉中地数码科技有限公司 Integrated batch drawing method of remote-sensing image and vector data

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
A New Algorithm for Automatic Extraction of GIS Layers;AI-Zoubi;《2010 7th International Multi-Conference on Systems, Signals and Devices》;20100627;第1-4页 *
AI-ZOUBI: "A New Algorithm for Automatic Extraction of GIS Layers", 《2010 7TH INTERNATIONAL MULTI-CONFERENCE ON SYSTEMS, SIGNALS AND DEVICES》 *
刘文 等: "基于LBS的气象预警Android平台设计", 《湖北农业科学》 *
基于LBS的气象预警Android平台设计;刘文 等;《湖北农业科学》;20131231;第52卷(第24期);第6161-6165页 *

Similar Documents

Publication Publication Date Title
US9942105B2 (en) Animated globe showing real-time web user performance measurements
CN103401997B (en) Data transmission method and system of vehicle-mounted terminal and intelligent mobile phone under USB (universal serial bus) connection
CN101873005A (en) Method for realizing balanced acquisition of electric energy
CN103853621A (en) Inter-process interactive method and relevant terminal equipment
CN106686021B (en) Service calling method and gateway
Chen et al. Intelligent vehicle monitoring system based on GPS, GSM and GIS
CN104599315A (en) Three-dimensional scene construction method and system
CN102722980A (en) Method for full-digital real-time multiple signal fusion
CN111177292A (en) WebGIS collaborative plotting method and system for emergency incident
CN112367531A (en) Video stream display method, processing method and related equipment
CN107070737A (en) A kind of singal reporting code data real-time monitoring system and method
CN105184836A (en) Multifunctional electrical wiring diagram display method based on QT graphics frame
CN104268201A (en) GIS (Geographic Information System) platform based spatial massive multivariate data unified index method
CN103246434A (en) ArcGIS (geographic information system) Engine and Open GL (graphics library) based multi-satellite resource visualization system
CN107844555B (en) Patrol freezing point determination method based on police geographic information system
CN104268912A (en) Dynamic trigger layer filling method based on GIS platform
CN104616099A (en) Power grid tide data comparison and analysis graphic display method
CN111967804B (en) Active power distribution scheduling system based on mobile charging equipment
CN116009985A (en) Interface calling method, device, computer equipment and storage medium
CN114422572A (en) Cloud mobile phone control method and device, electronic equipment and storage medium
CN107273082A (en) Display methods, device, terminal and the storage medium of image
CN104281660A (en) GIS (geographic information system)-platform based charting method for power-grid GIS color spot maps
CN104866668B (en) A kind of hydroelectric project transportation system emulation mode based on switching at runtime
CN104281659A (en) GIS (geographic information system)-platform based dynamic loading method for real-time weather of graticule data
CN112748902A (en) Visual target range planning method in logic target range combined test

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Tian Bing

Inventor after: Chang Yingxian

Inventor after: Qu Xiaobai

Inventor after: Wang Yujia

Inventor after: Deng Hua

Inventor after: Yuan Bao

Inventor before: Tian Bing

Inventor before: Chang Yingxian

Inventor before: Qu Xiaobai

Inventor before: Wang Yujia

Inventor before: Deng Hua

Inventor before: Yuan Bao

RJ01 Rejection of invention patent application after publication

Application publication date: 20150107

RJ01 Rejection of invention patent application after publication