CN110851123A - WebGIS power grid visualization framework construction method, system and device based on SpringMVC - Google Patents

WebGIS power grid visualization framework construction method, system and device based on SpringMVC Download PDF

Info

Publication number
CN110851123A
CN110851123A CN201911098973.2A CN201911098973A CN110851123A CN 110851123 A CN110851123 A CN 110851123A CN 201911098973 A CN201911098973 A CN 201911098973A CN 110851123 A CN110851123 A CN 110851123A
Authority
CN
China
Prior art keywords
map
library
creating
module
data file
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.)
Withdrawn
Application number
CN201911098973.2A
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.)
Nanjing SAC Automation Co Ltd
Original Assignee
Nanjing SAC Automation 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 Nanjing SAC Automation Co Ltd filed Critical Nanjing SAC Automation Co Ltd
Priority to CN201911098973.2A priority Critical patent/CN110851123A/en
Publication of CN110851123A publication Critical patent/CN110851123A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Economics (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Remote Sensing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method, a system and a device for constructing a WebGIS power grid visualization framework based on Spring MVC, which comprises the following steps: adding support of a SpringMVC library; creating a Myeclipse Web project, creating a java applet program, and importing a Geoserver library into the project; defining the mapping relation between the acquired map data file and a mapping engine URL; creating a UI interface in the init () function of the java applet and adding a Geoserver object to the UI panel; creating a Geoserver map renderer, calling a map loading method in a start () function to import a map data file and draw a map so as to serve the WMS; writing an HTML file to load an Applet, and defining a java Applet library and a Geoserver library which need to be loaded to a client under a < Applet > tag; the HTML content includes the application name, the library to be referenced, the entry function, the map in the library Url path. The method adopts the spring mvc framework to construct the visual system, has the advantages of simple configuration, convenient construction of development environment and low development and maintenance cost, and is favorable for popularization and application of visual reconstruction of the intelligent power grid.

Description

WebGIS power grid visualization framework construction method, system and device based on SpringMVC
Technical Field
The invention belongs to the technical field of intelligent power grid information visualization, and particularly relates to a method, a system and a device for constructing a WebGIS power grid visualization framework based on Spring MVC.
Background
With the development of the power industry in the big data background era, the data volume faced by the scheduling personnel is also larger and larger. In the face of complicated massive power equipment and constantly changing information data, the traditional power grid graphic system cannot meet the operating requirements of a smart power grid on high efficiency, stability and safety. Aiming at mass data in the smart power grid, a set of efficient and reliable big data visualization solution is urgently needed by scheduling personnel to obtain system key information in time, monitor the operation condition of the system and reduce the response time of troubleshooting accidents, so that the monitoring power grid is better managed.
WebGIS is a geographic information system expansion technology based on Web technology, is based on B/S architecture mode, is also a distributed system for information interaction between a server and a client by utilizing the Internet, and has the advantages of wide access range, low cost, convenience in operation and high balance of calculation load.
The earliest WebGIS construction method is usually based on structs architecture, which provides a universal framework of MVC mode for Web application, and Stuts1 has a core controller, but only provides an execution interface, namely execute, and needs to configure request parameters for packaging users, so that the dependency is stronger; then, a construction method based on the Structs2 architecture is developed, and the MVC framework is compatible with Struts1 and WebWork. Structs2 were developed for interceptors, i.e., AOP concepts (profile-oriented programming), which can be configured with multiple controllers, and are convenient to use, but are slow in execution rate relative to Struts1 because the interceptors have injected operations before they request them.
In conclusion, the visualization system constructed based on the existing framework has the defects of low efficiency, complex operation and higher development and maintenance cost.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provides a method, a system and a device for constructing a WebGIS power grid visualization framework based on Spring MVC.
In order to solve the problems in the prior art, the invention discloses a method for constructing a WebGIS power grid visualization framework based on Spring MVC, which is used for constructing a visualization server and comprises the following processes:
adding support of a SpringMVC library;
creating a Myeclipse Web project, creating a java applet program, and importing a Geoserver library into the project;
defining the mapping relation between the acquired map data file and a mapping engine URL;
creating a UI interface in the init () function of the java applet and adding a Geoserver object to the UI panel;
creating a Geoserver map renderer, calling a map loading method in a start () function to import a map data file and draw a map so as to serve the WMS;
writing an HTML file to load an Applet, and defining a javaapplet library and a Geoserver library which need to be loaded to a client under a < Applet > tag; the HTML content includes the application name, the library to be referenced, the entry function, the map in the library Url path.
Further, the method also comprises the following steps:
and restarting the Tomcat map server after the server construction is finished, and loading and executing the Applet program by reading the HTML file.
Further, the format of the map data is a shp format.
Further, the Geoserver object is initialized before defining the mapping relationship of the map data file and the mapping engine URL.
The invention also provides a construction method of the WebGIS power grid visualization framework based on Spring MVC, which is used for constructing the visualization client and comprises the following processes:
adding support of a SpringMVC library;
newly building a Myeclipse Web project, creating a map service Servlet program, and importing a UDIg library into a project Webroot directory;
defining the mapping relation between the acquired map data file and a mapping engine URL;
establishing a map renderer according to the map data file request message;
edit the < Servlet-name > and < Servlet-class > tags in the web xml file, and load and execute servlets.
Further, the method also comprises the following steps:
and positioning the storage path of the map data file after the map data file is acquired.
Further, the air conditioner is provided with a fan,
and dynamically copying the map data file to a corresponding cache directory after positioning the storage path of the map data file.
Further, the air conditioner is provided with a fan,
initializing a UDIg object in a dog () function in a Servlet before establishing a map renderer according to a map data file request message.
The invention also provides a construction system of the WebGIS power grid visualization framework based on Spring MVC, which is used for constructing a visualization server side and comprises the following steps:
the adding module is used for adding the support of the SpringMVC library;
the system comprises an engineering creating module, a database creating module and a database creating module, wherein the engineering creating module is used for creating a Myeclipse Web engineering, creating a java applet program and importing a Geoserver library into the engineering;
the mapping establishing module is used for defining the mapping relation between the acquired map data file and the mapping engine URL;
the system comprises a panel creating module, a processing module and a display module, wherein the panel creating module is used for creating a UI (user interface) in an init () function of a java applet and adding a Geoserver object to the UI panel;
the system comprises a renderer creation module, a map data file storage module and a map data file storage module, wherein the renderer creation module is used for creating a Geoserver map renderer, calling a map loading method in a start () function to import a map data file and draw a map so as to serve the WMS;
the program loading module is used for writing an HTML file to load an Applet and defining a java Applet library and a Geoserver library which need to be loaded to a client under an < Applet > tag; the HTML content includes the application name, the library to be referenced, the entry function, the map in the library Url path.
The invention also provides a construction system of the WebGIS power grid visualization framework based on Spring MVC, which is used for constructing the visualization client and comprises the following steps:
the adding module is used for adding the support of the SpringMVC library;
the system comprises a project creation module, a map service Servlet program and a database management module, wherein the project creation module is used for creating a MyEclipse Web project, creating a map service Servlet program and importing a UDIg library into a project Webroot directory;
the mapping establishing module is used for defining the obtained map data file storage path and the mapping relation between the map data file storage path and the map drawing engine URL;
the renderer establishing module is used for establishing a map renderer according to the map data file request message;
and the program loading module is used for editing the tags of the < Servlet-name > and the < Servlet-class > in the web.xml file and loading and executing the Servlet.
The invention also provides a WebGIS power grid visualization framework construction device based on Spring MVC, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the method when executing the computer program.
The invention has the following beneficial effects:
1. the method adopts the spring mvc framework to construct the visual system, has the advantages of simple configuration, convenient construction of development environment and low development and maintenance cost, and is favorable for popularization and application of visual reconstruction of the intelligent power grid.
2. The invention separates the access and the request due to the use of the MVC development mode, and has low coupling between programs and good expansibility.
3. According to the method, the business logic is decoupled from the interface through the separated model, the view and the role of the controller in the application program, the request time is short, and complicated recursive calling is avoided, so that the loading and displaying time of the picture of the intelligent power grid system with a large number of complicated lines can be greatly optimized.
Drawings
FIG. 1 is a schematic diagram of a visualization framework in the present invention;
FIG. 2 is a flowchart illustrating the Spring MVC processing according to the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
As shown in fig. 1 and 2, the invention provides a method for constructing a WebGIS power grid visualization framework based on Spring MVC, and relates to the construction of a visualization server and the construction of a visualization client. The construction method of the visual server side comprises the following processes:
s11, adding the support of the SpringMVC library.
S12, creating a Myeclipse Web project, creating a java applet program, and importing a Geoserver library into the project.
And S13, defining the mapping relation between the acquired map data file and the mapping engine URL.
S14, creating a UI interface in the init () function of the java applet and adding the Geoserver object to the UI panel.
S15, creating a Geoserver map renderer, and calling a map loading method in a start () function to import a map data file and draw a map so as to serve the WMS.
S16, writing an HTML file to load an Applet, and defining a java Applet library and a Geoserver library which need to be loaded to a client under an < Applet > tag; the HTML content includes the application name, the library to be referenced, the entry function, the map in the library Url path.
In one embodiment, further comprising: s17, after step S16, the Tomcat map server is restarted, and the Applet program is loaded and executed by reading the HTML file.
In one embodiment, the map data is in a shp format.
In one embodiment, the Geoserver object is initialized prior to defining the mapping relationship of the map data file to the mapping engine URL.
The method for realizing the Spring MVC controller comprises the following steps of using a Spring MVC framework on a server side:
declaring Spring-context in a configuration file < Spring MVC-configuration.xml > of Spring MVC; modifying the class name of the corresponding class as a Controller class under the < component-scan/> label; declaring a JavaBeans class as a processor by introducing @ Controller on the class; adding @ RequestMapping before the definition of the class, wherein the @ RequestMapping represents the mapping from the acquired URL to the functional processing method of the processor; implementing the processing method (function) mapped for each action in the controller class; the type of the return value is defined as model data and logical view (ModelAndView).
The controller is treated as a common Java class by means of "annotation", compared with the traditional two controller implementations: the method realizes the controller interface of Spring MVC and the HttpRequestHandler interface, not only decouples the controller and the Spring MVC interface, but also simplifies the configuration file and improves the development efficiency and maintainability. The writing location and interpretation of the associated annotations are shown in the table below.
Name (R) Notes Adding position
@ Controller Is marked as a controller Before definition of class
@ Autowired For injecting required external resources to specified properties or methods Before methods or before Properties
@ RequestBody Representing data types for converting requested JSON format data into controller method parameters Type of the root of the species Ginseng
@ ResponseBody Indicating to convert data type of controller method return value into data format of JSON to respond Before returning to the value
@ Validated Checking parameters of controller method Type of the ginseng
@ RequestMapping Mapping of requests to methods in a controller Before definition of classes or before methods
In the invention, the compiling of the model-View layer is completed based on a Spring MVC framework, and a View Resolver (View Resolver) firstly resolves the logical View name into a physical View name, namely a specific page address, then generates a View object, and finally renders the View and displays the processing result to a user through a page. For the target method of the controller, whether the return value is String, View, ModelMap or ModelAndView, SpringMVC internally packages them into a ModelAndView object and returns. The related implementation method of the Spring MVC view parser is as follows:
registering a view parser in a springmvc.xml configuration file by editing a < class > tag; realizing a viewResolver () interface, and establishing and initializing an InternalResourceViewResolver class; calling InternalResourceViewResolver class methods setPrefix () and setSuffix () respectively to add corresponding views and models; returns an InternalResourceViewResolver class object.
As shown in fig. 2, the processing flow of the Spring MVC controller is as follows:
a user may generate a request (request) when clicking on a link or submitting a form in a client browser. When a request leaves the browser, it carries the information requested by the user. The user sends a request to view to the front-end controller (central controller), which invokes the processor mapper upon receiving the request.
And the processor mapper finds the corresponding processor according to the URL of the request, generates a processor object and a processor interceptor HandlerInterreceptor (if the processor object is generated), and returns the processor object and the HandlerInterreceptor to the front-end controller.
And the front-end controller calls the processor through the processor adapter, and returns ModelAndView after execution is finished. Wherein the view type of the result is defined by the RequestMapping annotation on the handler's class or method, simplifying the complex mechanism of selecting based on the type of return.
The processor mapper sends the result returned by the processor execution to the front-end controller, and the front-end controller transmits Model AndView to the view parser and returns a specific view after the view parser parses the Model AndView.
The front-end controller renders the view, and then sends the rendered view to the user.
Based on the same inventive concept, the construction method of the visual client comprises the following processes:
s21, adding the support of the SpringMVC library.
S22, creating a Myeclipse Web project, creating a map service Servlet program, and importing a UDIg library into a project Webroot directory.
And S23, defining the mapping relation between the acquired map data file and the mapping engine URL.
And S24, establishing a map renderer according to the map data file request message.
And S25, editing < Servlet-name > and < Servlet-class > tags in the web.xml file, and loading and executing the Servlet.
In one embodiment, step S23 further includes: and positioning the storage path of the map data file after the map data file is acquired.
In one embodiment, step S24 further includes: and dynamically copying the map data file to a corresponding cache directory after positioning the storage path of the map data file.
In one embodiment, step S24 further includes: initializing a UDIg object in a dog () function in a Servlet before establishing a map renderer according to a map data file request message.
Based on the same inventive concept, the invention also provides a construction system of the WebGIS power grid visualization framework based on Spring MVC, which is used for constructing a visualization server side and a visualization client side, wherein the construction system of the visualization server side comprises the following steps: the system comprises an adding module, an engineering creating module, a mapping establishing module, a panel creating module, a renderer creating module and a program loading module.
The adding module is used for adding the support of the SpringMVC library; the project creation module is used for creating a Myeclipse Web project, creating a java applet program and importing a Geoserver library into the project; the mapping establishing module is used for defining the mapping relation between the acquired map data file and the map drawing engine URL; the panel creating module is used for creating a UI interface in an init () function of the java applet and adding a Geoserver object to the UI panel; the renderer creation module is used for creating a Geoserver map renderer, calling a map loading method in a start () function to import a map data file and draw a map so as to serve the WMS; the program loading module is used for writing an HTML file to load an Applet and defining a java Applet library and a Geoserver library which need to be loaded to a client under an < Applet > tag; the HTML content includes the application name, the library to be referenced, the entry function, the map in the library Url path.
In one embodiment, the construction system at the visualization server side further comprises a restart module, configured to restart the Tomcat map server after the construction is completed, and load and execute the Applet program by reading the HTML file.
In one embodiment, the mapping establishing module further includes an initialization submodule configured to initialize the Geoserver object before defining the mapping relationship between the map data file and the mapping engine URL.
The construction system of the visualization client comprises: the system comprises an adding module, an engineering establishing module, a mapping establishing module, a renderer establishing module and a program loading module.
The adding module is used for adding the support of the SpringMVC library; the project creation module is used for creating a MyEclipse Web project, creating a map service Servlet program and importing a UDIg library into a project Webroot directory; the mapping establishing module is used for defining the storage path of the acquired map data file and the mapping relation between the storage path and the map drawing engine URL; the renderer establishing module is used for establishing a map renderer according to the map data file request message; and the program loading module is used for editing the tags of the < Servlet-name > and the < Servlet-class > in the web.xml file and loading and executing the Servlet.
In one embodiment, the mapping establishing module further includes a path defining sub-module, configured to locate a storage path of the map data file after the map data file is obtained.
In one embodiment, the renderer building module further comprises a cache sub-module for dynamically copying the map data file to the corresponding cache directory after locating the storage path of the map data file.
In one embodiment, the renderer creation module further includes an initialization sub-module, configured to perform initialization processing on the uDig object in the dog () function in the Servlet before creating the map renderer according to the map data file request message.
After the construction is finished, the client side conducts Web browsing through a browser, and dynamic display and interaction of map data information are achieved in a webpage through OpenLayer; and selecting a uDig as a spatial data viewer/editor, wherein the uDig is open source desktop GIS software based on Java and Eclipse platforms, and can be used for viewing and editing map files in shp format. In data storage, spatial data information is stored through a PostGIS (spatial database), after the PostGIS exists, a special GIS data engine is not needed to operate and process the spatial data, and an application program can easily control the spatial data only through an SQL language.
Based on the same inventive concept, the device for constructing the WebGIS power grid visualization framework based on Spring MVC comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the method when executing the computer program.
The application method of the visual framework comprises the following steps:
taking a certain province map as an example, firstly, coordinate points of all substations and lines are converted into spatial data information by using a servlet of a Web server.
And setting a storage format by a user, and storing the spatial data information into the postGIS spatial database in real time in a KML data file format.
The user opens the client and sends a request for viewing the map.
After receiving the request, the client browser analyzes corresponding KML file information by using an openlayer frame, loads spatial information into a map layer, and returns a request for rendering the view.
After monitoring a request for rendering a view, the application server loads spatial information data analyzed from the KML file by using GeoServer, calculates coordinates to generate a region to be rendered, and then performs map tile rendering, including operations such as highlighting and zooming.
After rendering is completed, the GeoServer provides the view for the client browser to request access in the form of WMS service.
And the user accesses and views the map through the client.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (10)

1. The method for constructing the WebGIS power grid visualization framework based on Spring MVC is characterized by comprising the following steps of: the method is used for constructing the visualization server side and comprises the following processes:
adding support of a SpringMVC library;
creating a Myeclipse Web project, creating a java applet program, and importing a Geoserver library into the project;
defining the mapping relation between the acquired map data file and a mapping engine URL;
creating a UI interface in the init () function of the java applet and adding a Geoserver object to the UI panel;
creating a Geoserver map renderer, calling a map loading method in a start () function to import a map data file and draw a map so as to serve the WMS;
writing an HTML file to load an Applet, and defining a javaapplet library and a Geoserver library which need to be loaded to a client under a < Applet > tag; the HTML content includes the application name, the library to be referenced, the entry function, the map in the library Url path.
2. The method for constructing the WebGIS power grid visualization framework based on Spring MVC as claimed in claim 1, wherein the method comprises the following steps: the method also comprises the following steps:
and restarting the Tomcat map server after the server construction is finished, and loading and executing the Applet program by reading the HTML file.
3. The method for constructing the WebGIS power grid visualization framework based on Spring MVC as claimed in claim 1, wherein the method comprises the following steps: the Geoserver object is initialized before defining the mapping relationship of the map data file and the mapping engine URL.
4. The method for constructing the WebGIS power grid visualization framework based on Spring MVC is characterized by comprising the following steps of: the method is used for constructing the visualization client, and comprises the following processes:
adding support of a SpringMVC library;
newly building a Myeclipse Web project, creating a map service Servlet program, and importing a UDIg library into a project Webroot directory;
defining the mapping relation between the acquired map data file and a mapping engine URL;
establishing a map renderer according to the map data file request message;
edit the < Servlet-name > and < Servlet-class > tags in the web xml file, and load and execute servlets.
5. The method for constructing the WebGIS power grid visualization framework based on Spring MVC as claimed in claim 4, wherein the method comprises the following steps: the method also comprises the following steps:
and positioning the storage path of the map data file after the map data file is acquired.
6. The method for constructing the WebGIS power grid visualization framework based on Spring MVC as claimed in claim 5, wherein the method comprises the following steps:
and dynamically copying the map data file to a corresponding cache directory after positioning the storage path of the map data file.
7. The method for constructing the WebGIS power grid visualization framework based on Spring MVC as claimed in claim 4, wherein the method comprises the following steps:
initializing a UDIg object in a dog () function in a Servlet before establishing a map renderer according to a map data file request message.
8. The WebGIS power grid visualization framework construction system based on Spring MVC is characterized by being used for constructing a visualization server side and comprising the following steps:
the adding module is used for adding the support of the SpringMVC library;
the system comprises an engineering creating module, a database creating module and a database creating module, wherein the engineering creating module is used for creating a Myeclipse Web engineering, creating a java applet program and importing a Geoserver library into the engineering;
the mapping establishing module is used for defining the mapping relation between the acquired map data file and the mapping engine URL;
the system comprises a panel creating module, a processing module and a display module, wherein the panel creating module is used for creating a UI (user interface) in an init () function of a java applet and adding a Geoserver object to the UI panel;
the system comprises a renderer creation module, a map data file storage module and a map data file storage module, wherein the renderer creation module is used for creating a Geoserver map renderer, calling a map loading method in a start () function to import a map data file and draw a map so as to serve the WMS;
the program loading module is used for writing an HTML file to load an Applet and defining a java Applet library and a Geoserver library which need to be loaded to a client under an < Applet > tag; the HTML content includes the application name, the library to be referenced, the entry function, the map in the library Url path.
9. The construction system of the WebGIS power grid visualization framework based on Spring MVC is characterized by being used for constructing a visualization client and comprising the following steps:
the adding module is used for adding the support of the SpringMVC library;
the system comprises a project creation module, a map service Servlet program and a database management module, wherein the project creation module is used for creating a MyEclipse Web project, creating a map service Servlet program and importing a UDIg library into a project Webroot directory;
the mapping establishing module is used for defining the obtained map data file storage path and the mapping relation between the map data file storage path and the map drawing engine URL;
the renderer establishing module is used for establishing a map renderer according to the map data file request message;
and the program loading module is used for editing the tags of the < Servlet-name > and the < Servlet-class > in the web.xml file and loading and executing the Servlet.
10. Device for constructing a WebGIS grid visualization framework based on Spring MVC, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method according to any one of claims 1 or 4 when executing the computer program.
CN201911098973.2A 2019-11-12 2019-11-12 WebGIS power grid visualization framework construction method, system and device based on SpringMVC Withdrawn CN110851123A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911098973.2A CN110851123A (en) 2019-11-12 2019-11-12 WebGIS power grid visualization framework construction method, system and device based on SpringMVC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911098973.2A CN110851123A (en) 2019-11-12 2019-11-12 WebGIS power grid visualization framework construction method, system and device based on SpringMVC

Publications (1)

Publication Number Publication Date
CN110851123A true CN110851123A (en) 2020-02-28

Family

ID=69601792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911098973.2A Withdrawn CN110851123A (en) 2019-11-12 2019-11-12 WebGIS power grid visualization framework construction method, system and device based on SpringMVC

Country Status (1)

Country Link
CN (1) CN110851123A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112182456A (en) * 2020-10-09 2021-01-05 厦门海晟融创信息技术有限公司 Method and device for adapting various map clients based on JavaScript
CN112835668A (en) * 2021-02-05 2021-05-25 北京恒泰实达科技股份有限公司 Meteorological data reading and product display visualization system and method
CN112861059A (en) * 2021-03-17 2021-05-28 平安消费金融有限公司 Visual component generation method and device, computer equipment and readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112182456A (en) * 2020-10-09 2021-01-05 厦门海晟融创信息技术有限公司 Method and device for adapting various map clients based on JavaScript
CN112835668A (en) * 2021-02-05 2021-05-25 北京恒泰实达科技股份有限公司 Meteorological data reading and product display visualization system and method
CN112835668B (en) * 2021-02-05 2024-02-20 北京恒泰实达科技股份有限公司 Meteorological data reading and product display visualization system and method
CN112861059A (en) * 2021-03-17 2021-05-28 平安消费金融有限公司 Visual component generation method and device, computer equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN102375731B (en) Coding-free integrated application platform system
CN115617327A (en) Low code page building system, method and computer readable storage medium
CN102902558B (en) Project script file upgrades system and method, script file merges method and apparatus
US8095570B2 (en) Decorated model architecture for efficient model-driven application development
CN111241454A (en) Method, system and device for generating webpage code
CN110851123A (en) WebGIS power grid visualization framework construction method, system and device based on SpringMVC
CN1713196A (en) Product ordering system based on automatic design grid
US10133766B2 (en) Accessing and editing virtually-indexed message flows using structured query langauge (SQL)
US11366704B2 (en) Configurable analytics for microservices performance analysis
CN114995801A (en) Visual application development method and system based on Internet of things platform
CN113962597A (en) Data analysis method and device, electronic equipment and storage medium
CN111797340B (en) Service packaging system for user-defined extraction flow
CN111046062B (en) Applet data acquisition method, intelligent terminal and storage medium
CN116909553A (en) Page online development and local compiling operation system
CN110717134A (en) Product description issuing method and device, storage medium and electronic equipment
CN111324332A (en) Big data task processing method and system, electronic device and storage medium
CN115033634A (en) Data acquisition method, data acquisition device, electronic equipment and medium
CN114489861A (en) Target component conversion method and device, electronic equipment and readable storage medium
CN114692055A (en) Form processing method and device, storage medium and electronic equipment
CN114063868A (en) AI (Artificial intelligence) dragging modeling system and method, computer equipment and application
CN112148450A (en) Data processing method, device, equipment and storage medium
CN112632436A (en) Webpage display method and device, electronic equipment and storage medium
CN116304218B (en) Implementation method and system for integrating multi-domain platform based on graph database
CN114327425A (en) View generation method and device, electronic equipment and storage medium
CN116301746A (en) GIS resource management system, development method and GIS information display method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200228