CN107092663B - Water level early warning map drawing system and method based on GIS - Google Patents

Water level early warning map drawing system and method based on GIS Download PDF

Info

Publication number
CN107092663B
CN107092663B CN201710203402.5A CN201710203402A CN107092663B CN 107092663 B CN107092663 B CN 107092663B CN 201710203402 A CN201710203402 A CN 201710203402A CN 107092663 B CN107092663 B CN 107092663B
Authority
CN
China
Prior art keywords
water level
gis
early warning
map
water conservancy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710203402.5A
Other languages
Chinese (zh)
Other versions
CN107092663A (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.)
Inspur Digital Shandong Technology Co Ltd
Original Assignee
Shanda Luneng Information 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 Shanda Luneng Information Technology Co Ltd filed Critical Shanda Luneng Information Technology Co Ltd
Priority to CN201710203402.5A priority Critical patent/CN107092663B/en
Publication of CN107092663A publication Critical patent/CN107092663A/en
Application granted granted Critical
Publication of CN107092663B publication Critical patent/CN107092663B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B29/00Maps; Plans; Charts; Diagrams, e.g. route diagram
    • G09B29/003Maps
    • G09B29/006Representation of non-cartographic information on maps, e.g. population distribution, wind direction, radiation levels, air and sea routes
    • G09B29/007Representation of non-cartographic information on maps, e.g. population distribution, wind direction, radiation levels, air and sea routes using computer methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Ecology (AREA)
  • Mathematical Physics (AREA)
  • Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Instructional Devices (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a water level early warning map drawing system and method based on a GIS (geographic information system). the system part comprises a database, a water conservancy survey station and a water level early warning map drawing system, wherein the database is used for acquiring water conservancy survey stations at different geographic positions; the GIS module is used for extracting data in the database, generating a layer which can be superposed on a map platform through a Canvas technology of HTML5, and generating a GIS water level early warning map; the database and the GIS module are communicated through the background server, the water level information of the background water conservancy measuring station can be dynamically acquired, the early warning layer superposed on the map platform is drawn according to the early warning value, and the generated GIS water level early warning map has intuitiveness and readability.

Description

Water level early warning map drawing system and method based on GIS
Technical Field
The invention relates to a water level early warning map drawing system and method based on a GIS.
Background
In the existing water conservancy informatization, most of collected water conservancy data are distributed outdoors in different water conservancy measuring stations, only characters and numbers are used for explaining the water conservancy data in the measuring stations, visual feeling on the height of a water level cannot be formed, drawing or tabulation is still needed in the later stage, a large amount of time is wasted, and dynamic and continuous charts cannot be generated.
Disclosure of Invention
In order to solve the defects of the prior art, the invention provides a GIS-based water level early warning map drawing system which can realize real-time display of water levels in measuring stations at different geographic positions based on a map platform.
The technical scheme of the invention is as follows:
a water level early warning map drawing system based on a GIS comprises a database, a water conservancy survey station and a map drawing module, wherein the database is used for acquiring water conservancy survey stations at different geographic positions; the GIS module is used for extracting data in the database, generating an early warning layer which can be superposed on a map platform through a Canvas technology of HTML5, and generating a GIS water level early warning map; and the database is communicated with the GIS module through a background server.
The technical scheme has the advantages that water level information of the background water conservancy measuring station can be dynamically acquired, the early warning layer superposed on the map platform is drawn according to the early warning value, and the generated GIS water level early warning map has intuitiveness and readability.
Furthermore, a water conservancy station measuring table is established in the database, water conservancy station measuring information of different geographical positions is stored in the water conservancy station measuring table, and the water conservancy station measuring information comprises longitude, latitude, a station measuring number, a station measuring name and a warning line value.
Further, when an operation request is sent to a background server on a GIS water level early warning map, the background server extracts information corresponding to the request from a database, the extracted information forms a Json format character string and returns the Json format character string to the GIS water level early warning map, the Json format character string is analyzed by the GIS water level early warning map according to a set protocol, the extracted information is displayed, and the Json format character string has the beneficial effects of 1, convenience in transmission and fewer redundant characters; the conversion is convenient: because there are many json api's that provide methods for converting json strings to objects and vice strings; thirdly, easy to read: the good structure of the json code can intuitively know what the content is stored.
Further, the station has an online state and a non-online state; the online state and the non-online state are displayed on the GIS module in different display modes, and the GIS module has the advantages that the off-line station measurement can be omitted, so that the experience of a user is better, and the on-line or off-line station measurement is clear at a glance.
Further, the map platform can be switched between a satellite map and an electronic map.
The invention also provides a GIS water level early warning map drawing method based on the system, which is characterized in that:
acquiring water conservancy stations at different positions and water conservancy information of the stations;
associating the hydraulic survey stations at corresponding positions on a map platform;
and drawing a water level early warning dynamic layer of the water conservancy measuring station at the corresponding position of the map platform by adopting a Canvas technology of HTML5 to generate a GIS water level early warning map.
Furthermore, the position of the water conservancy station on a map platform is related according to the precision and the latitude of the water conservancy station, and the longitude difference and the latitude difference are both less than 0.25.
Further, the Canvas technology of HTML5 is adopted to draw a map platform specifically by firstly drawing a coordinate axis, and according to the water level data and the warning line value of the current water conservancy measuring station, drawing scales, warning lines and the water level at the current moment in the coordinate axis.
Further, the water level at the current moment is drawn according to the water level data of the current water conservancy measuring station and is subjected to circulating operation, a real-time water conservancy measuring station water level dynamic layer is obtained, and the water level dynamic layer has the advantages that water level information can be obtained in real time, and a dynamic GIS water level early warning map is formed.
Furthermore, the scales are changed according to different water level data at each moment, and the method has the advantages that the water level information with different scales can be displayed in the layer with the same size, and a reader can know the current water level information through different scales and the water level height.
Further, a Canvas technology of HTML5 is adopted to simulate the water level fluctuation with the water level at the current moment as the center, and a dynamic effect is generated;
compared with the prior art, the invention has the beneficial effects that:
the method comprises the steps of generating an early warning layer which can be superposed on a map platform by adopting HTML5 Canvas technology, generating a GIS water level early warning map, visually expressing water level information expressed by traditional characters and numbers in a map mode, placing a plurality of measuring stations in one map, displaying the plurality of online measuring stations at the same time, displaying the water level in real time, and visually finding out whether the current water level exceeds an early warning line or not by comparing the water level with an early warning value.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application.
Fig. 1 is a flow chart of a drawing method of a GIS-based water level early warning map according to the present invention.
Detailed Description
It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the disclosure. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments according to the present application. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, and it should be understood that when the terms "comprises" and/or "comprising" are used in this specification, they specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof, unless the context clearly indicates otherwise.
HTML5 is the latest revised version of HTML (Hyper Text Markup Language), the standard formulation is completed by W3C (world Wide Web alliance) in 2014 10 months, the goal is to replace the HTML4.01 and XHTML1.0 standards formulated in 1999, so that the network standard can meet the network requirement of the current generation when the Internet application is rapidly developed. When referring broadly to HTML5, it is actually referred to a set of technology combinations including HTML, CSS (cascading style sheets) and JavaScript, which is expected to reduce the demand of web browsers for RIA (Plug-in-Based Rich internet application, Rich internet applications requiring Plug-ins, such as Adobe Flash, Microsoft Silverlight, Oracle JavaFX, etc.), and provide more standard sets that effectively enhance internet applications.
Canvas is an important element newly added in HTML5, and is used for drawing images, and the placement of a Canvas element on a webpage is equivalent to the placement of a "Canvas" on the webpage, in which the image can be drawn. A Canvas of HTML5 uses a script (usually JavaScript) to draw an image on a web page, and on a conventional standard-resolution display device (referred to as a standard display device for short), each pixel involved in writing a drawing code by the front-end Canvas in conjunction with the JavaScript language corresponds to a minimum display unit of the display device one to one, and finally, the rendered and output image can obtain the clearest effect on the display device.
In a typical embodiment of the application, a GIS-based water level early warning mapping system is provided, which comprises a database, a water conservancy survey station and a water level early warning mapping database, wherein the database is used for acquiring water conservancy survey stations at different geographical positions; the GIS module is used for extracting data in the database, generating an early warning layer which can be superposed on a map platform through a Canvas technology of HTML5, and generating a GIS water level early warning map; and the database is communicated with the GIS module through a background server.
The technical scheme has the advantages that water level information of the background water conservancy measuring station can be dynamically acquired, the early warning layer superposed on the map platform is drawn according to the early warning value, and the generated GIS water level early warning map has intuitiveness and readability.
The map platform adopts open source heaven and earth maps and can switch between a satellite map and an electronic map.
Electronic maps, i.e., digital maps, are maps that are stored and referred to digitally using computer technology. The method for storing information in electronic map generally uses vector image storage, the map scale can be enlarged, reduced or rotated without affecting the display effect, the map scale can not be enlarged or reduced by using bitmap storage in early stage, and modern electronic map software generally uses geographic information system to store and transmit map data, and also has other information systems. 7/9/2014, the Tencent map 4.4 is an all-off-line electronic map product.
The satellite map is a satellite remote sensing image, also called a satellite image. So-called remote sensing, i.e. remote sensing. Satellite remote sensing, namely, the reflection of electromagnetic waves and the electromagnetic waves emitted by objects on the earth surface are detected in space through a satellite, so that the information of the objects is extracted, and the objects are identified at a long distance. The images obtained by converting and identifying the radio wave information are satellite images.
And establishing a water conservancy station measuring table in the database, wherein the water conservancy station measuring table stores water conservancy information of measuring stations at different geographic positions, and the water conservancy information of the measuring stations comprises longitude, latitude, a serial number of the measuring stations, a name of the measuring stations and a warning line value.
When an operation request is sent to a background server on a GIS water level early warning map, the background server extracts information corresponding to the request from a database, the extracted information forms a Json format character string and returns the Json format character string to the GIS water level early warning map, and the GIS water level early warning map analyzes the Json format character string according to a set protocol and displays the extracted information.
Entering a GIS page, sending a request to a background, retrieving all data meeting the conditions by the background according to the request of a foreground, organizing the data into character strings in a Json format, and returning the character strings to the foreground. And after receiving the data, the foreground analyzes the data in the Json format according to the agreed protocol and displays the corresponding data on the foreground.
The beneficial effects of adopting the Json format character string are that 1, the transmission is convenient, and redundant characters are reduced; the conversion is convenient: because there are many json api's that provide methods for converting json strings to objects and vice strings; thirdly, easy to read: the good structure of the json code can intuitively know what the content is stored.
The station has an online state and a non-online state; and the online state and the non-online state are displayed on the GIS module in different display modes. The presentation may be such that stations on-line are marked by green signal flashes, but stations off-line are marked by red signals.
When the user opens the corresponding GIS map, the on-line state of the station is reflected by the eye curtain, the on-line station is marked by green signal flicker, but the off-line station is marked by red signal. Is clear at a glance.
Another embodiment of the present application: a GIS water level early warning map drawing method based on the system is characterized in that:
acquiring water conservancy stations at different positions and water conservancy information of the stations;
associating the hydraulic survey stations at corresponding positions on a map platform;
and drawing a water level early warning dynamic layer of the water conservancy measuring station at the corresponding position of the map platform by adopting a Canvas technology of HTML5 to generate a GIS water level early warning map.
And associating the position of the water conservancy station on a map platform according to the precision and the latitude of the water conservancy station, wherein the longitude difference and the latitude difference are both less than 0.25.
The method comprises the steps of firstly drawing a coordinate axis, drawing scales, a warning line and the water level at the current moment in the coordinate axis according to the water level data and the warning line value of the current water conservancy measuring station, circularly operating the water level at the current moment drawn according to the water level data of the current water conservancy measuring station to obtain a real-time water level dynamic layer of the water conservancy measuring station, and changing the scales according to different water level data at each moment.
Further, a Canvas technology of HTML5 is used to simulate the water level fluctuation centered on the water level at the current time, and a dynamic effect is generated.
The technical scheme of the embodiment can be used for generating the early warning layer on the map platform in a superposition mode to form a GIS water level early warning map, so that the water level information image expressed by traditional characters and numbers can be expressed in a map mode, a plurality of measuring stations can be placed in one map, a plurality of online measuring stations are displayed at the same time, the water level is displayed in real time, and whether the current water level exceeds an early warning line or not can be visually seen by comparing the water level with an early warning value.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (5)

1. The utility model provides a based on GIS water level early warning mapping system which characterized in that: the system comprises a database, a plurality of water conservancy stations and a plurality of water conservancy stations, wherein the database is used for acquiring water conservancy stations at different geographical positions; the GIS module is used for extracting data in the database, generating a layer which can be superposed on a map platform through a Canvas technology of HTML5, and generating a GIS water level early warning map; the database is communicated with the GIS module through a background server;
the water conservancy stations are related at corresponding positions of a map platform, a water level dynamic layer of the water conservancy stations at the corresponding positions of the map platform is drawn by adopting a Canvas technology of HTML5 and is superposed on the map platform to generate a GIS water level early warning map, and the GIS water level early warning map displays water level information in a plurality of online stations at the same time in real time;
the water conservancy survey station has an online state and a non-online state; the online state and the non-online state are displayed on the GIS module in different display modes;
the method for drawing the map platform by adopting the Canvas technology of the HTML5 specifically comprises the following steps: drawing a coordinate axis, drawing scales, a warning line and the water level at the current moment in the coordinate axis according to the water level data and the warning line value of the current water conservancy measuring station, performing circulating operation on the water level at the current moment drawn according to the water level data of the current water conservancy measuring station to obtain a real-time water level dynamic layer of the water conservancy measuring station, wherein the scales are changed according to different water level data at each moment; simulating the water level fluctuation by using the Canvas technology of HTML5 and taking the water level at the current moment as the center to generate a dynamic effect;
when an operation request is sent to a background server on a GIS water level early warning map, the background server extracts information corresponding to the request from a database, the extracted information forms a Json format character string and returns the Json format character string to the GIS water level early warning map, and the GIS water level early warning map analyzes the Json format character string according to a set protocol and displays the extracted information.
2. The system of claim 1, wherein: and a water conservancy station measuring table is established in the database, water conservancy station measuring information of different geographical positions is stored in the water conservancy station measuring table, and the water conservancy station measuring information comprises longitude, latitude, a station measuring number, a station measuring name and a warning line value.
3. A mapping method based on GIS water level early warning, which adopts the mapping system based on GIS water level early warning as claimed in any one of claims 1-2, characterized in that:
acquiring water conservancy stations at different positions and water conservancy information of the stations;
associating the hydraulic survey stations at corresponding positions on a map platform;
drawing a water level dynamic layer of a water conservancy station at a corresponding position of a map platform by adopting a Canvas technology of HTML5 to generate a GIS water level early warning map;
the GIS water level early warning map displays the water level information in the online stations at the same time in real time;
the method comprises the steps of firstly drawing a coordinate axis, drawing scales, warning lines and the water level at the current moment in the coordinate axis according to the water level data and the warning line value of the current water conservancy measuring station, circularly operating the water level at the current moment drawn according to the water level data of the current water conservancy measuring station to obtain a real-time water level dynamic layer of the water conservancy measuring station, and changing the scales according to different water level data at each moment.
4. The method of claim 3, wherein: and associating the position of the water conservancy station on a map platform according to the precision and the latitude of the water conservancy station, wherein the longitude difference and the latitude difference are both less than 0.25.
5. The method of claim 3, wherein: the Canvas technology of HTML5 is used to simulate the water level fluctuation centered on the current time, and generate dynamic effects.
CN201710203402.5A 2017-03-30 2017-03-30 Water level early warning map drawing system and method based on GIS Active CN107092663B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710203402.5A CN107092663B (en) 2017-03-30 2017-03-30 Water level early warning map drawing system and method based on GIS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710203402.5A CN107092663B (en) 2017-03-30 2017-03-30 Water level early warning map drawing system and method based on GIS

Publications (2)

Publication Number Publication Date
CN107092663A CN107092663A (en) 2017-08-25
CN107092663B true CN107092663B (en) 2020-11-13

Family

ID=59649260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710203402.5A Active CN107092663B (en) 2017-03-30 2017-03-30 Water level early warning map drawing system and method based on GIS

Country Status (1)

Country Link
CN (1) CN107092663B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115167836A (en) * 2022-05-10 2022-10-11 无人智境(北京)技术有限公司 Port state drawing method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005571B (en) * 2014-04-23 2018-12-21 国家电网公司 The method and device for supporting Intelligent power-utilization information to visualize
CN104950351B (en) * 2014-09-04 2016-04-20 国网山东省电力公司应急管理中心 The horizontal methods of exhibiting of many meteorological elements compound based on meteorology and system
CN105741334B (en) * 2014-12-11 2019-06-18 阿里巴巴集团控股有限公司 Thermodynamic chart providing method and device
CN105843942B (en) * 2016-04-01 2019-03-29 浙江大学城市学院 A kind of Urban Flood control decision support method based on big data technology

Also Published As

Publication number Publication date
CN107092663A (en) 2017-08-25

Similar Documents

Publication Publication Date Title
US11107025B2 (en) System and method for producing and distributing information relevant to water events
JP6141393B2 (en) Method and apparatus for determining a target position
CN112560130B (en) H5 drawing display method based on CAD (computer aided design) drawing data of rail transit trackside equipment
CN104777464B (en) The method that many radar data HWIL simulations are realized using ADS B datas
CN103631578A (en) Data display method in power distribution network automated system
Boos et al. An augmented reality study for public participation in urban planning
CN110462337A (en) Map terrestrial reference is automatically generated using sensor readable tag
CN105335429A (en) Electric energy data display method and apparatus
CN106897400B (en) Visualization method and system for seismic information in social networking media
CN115794934A (en) Production facility monitoring data and digital twin model integration system and method
CN107092663B (en) Water level early warning map drawing system and method based on GIS
JP5273610B2 (en) Map server device
CN113345048A (en) Geographic information image editing method and device and computer equipment
CN110954869B (en) Animation display method, device and system for sand-dust meteorological disaster data
CN117390195A (en) Knowledge traceability connecting method, system, equipment and medium based on graph editor
CN103902633B (en) A kind of method and its device, system of generation POI hot-zone data
Perkins Mapping and Graphicacy 22
CN108133029B (en) Map element adjusting method, device and equipment and computer-readable storage medium
JP2014109539A (en) Guidance information providing device and guidance information providing method
CN109471629A (en) A kind of front end system and design method based on Internet of Things cloud platform
CN108399237A (en) Multimedia information display method and system, computer storage media and equipment
CN109542996B (en) Novel mobile map application service system based on GeoPDF technology
CN111598532A (en) Automatic generation method and system of disaster assessment report
WO2021101999A1 (en) Inspection project manager
CN113888295A (en) Travel reimbursement method, travel reimbursement device, storage medium and electronic equipment

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

Address after: Building 1-100, Dashan science and technology building, block 250B, Jinan City, Shandong Province

Patentee after: Inspur Digital (Shandong) Technology Co.,Ltd.

Country or region after: China

Address before: Building 1-100, Dashan science and technology building, block 250B, Jinan City, Shandong Province

Patentee before: Huate Digital Technology Co.,Ltd.

Country or region before: China

Address after: Building 1-100, Dashan science and technology building, block 250B, Jinan City, Shandong Province

Patentee after: Huate Digital Technology Co.,Ltd.

Country or region after: China

Address before: Building 1-100, Dashan science and technology building, block 250B, Jinan City, Shandong Province

Patentee before: SHANDA LUNENG INFORMATION TECHNOLOGY Co.,Ltd.

Country or region before: China