CN110246414A - River map-indication method, device, storage medium and equipment - Google Patents
River map-indication method, device, storage medium and equipment Download PDFInfo
- Publication number
- CN110246414A CN110246414A CN201910467477.3A CN201910467477A CN110246414A CN 110246414 A CN110246414 A CN 110246414A CN 201910467477 A CN201910467477 A CN 201910467477A CN 110246414 A CN110246414 A CN 110246414A
- Authority
- CN
- China
- Prior art keywords
- river
- map
- indication method
- section
- water quality
- 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
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09B—EDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
- G09B29/00—Maps; Plans; Charts; Diagrams, e.g. route diagram
- G09B29/003—Maps
- G09B29/006—Representation of non-cartographic information on maps, e.g. population distribution, wind direction, radiation levels, air and sea routes
- G09B29/007—Representation 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)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Ecology (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Business, Economics & Management (AREA)
- Educational Administration (AREA)
- Educational Technology (AREA)
- General Physics & Mathematics (AREA)
- Instructional Devices (AREA)
Abstract
The present invention relates to Map Display Technology field, a kind of river map-indication method, device, storage medium and equipment are disclosed, the method comprising the steps of: S1: importing the coordinate in local river;S2: the position described point of the coordinate is corresponded on the electronic map;S3: the point retouched is subjected to line to form complete river.The present invention is by by the coordinate in local river described point and line on the electronic map, to realize the complete display in river on electronic map.
Description
Technical field
The present invention relates to Map Display Technology field, in particular to a kind of river map-indication method, device, storage medium
And equipment.
Background technique
The long management information system processed in river, it is desirable that the river map in display compass of competency, and according to section pollution condition with
Different color segments are shown, but either other maps such as Amap, Baidu map or Tencent's map, for state's housekeeping
The reasons such as plan, the river in water conservancy figure is all incomplete, therefore can not completely show river on the electronic map.
Summary of the invention
The present invention proposes a kind of river map-indication method, solves completely show river in the electronic map of the prior art
The problem of road.
A kind of river map-indication method of the invention, comprising steps of
S1: the coordinate in local river is imported;
S2: the position described point of the coordinate is corresponded on the electronic map;
S3: the point retouched is subjected to line to form complete river.
Wherein, the step S2 includes: the described point API for calling electronic map, and respective coordinates position is drawn on the electronic map
It is processed, and show.
Wherein, the step S3 includes: the setting-out API for calling electronic map, in step s 2 line between adjacent two o'clock,
And it shows.
Wherein, before the step S2 further include: create transparent figure layer on the electronic map, in the step S2 and S3,
Described point and line in the transparent figure layer.
Wherein, further include step S4 after the step S3: according to the water quality of different sections, different face being shown to different sections
Color.
Wherein, the step S4 includes:
S41: the water quality data for the water monitoring device being arranged on river is acquired in real time, while obtaining water monitoring device
Coordinate;
S42: judge the section where water monitoring device;
S43: the color of the corresponding setting of the water quality data is shown on the corresponding section of electronic map.
Wherein, in the step S43 further include: if water quality is not up to preassigned, the chromatic flicker of corresponding section is shown
Show, and acquire the section picture storage of corresponding water monitoring device shooting, increases in corresponding section and be used to open the section
The link of picture.
The present invention also provides a kind of river map displays, which is characterized in that including for executing any of the above-described
The unit of the method.
The present invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage has calculating
Machine program, the computer program include program instruction, and described program instruction when being executed by a processor holds the processor
Row method described in any of the above embodiments.
The present invention also provides a kind of river map displays, comprising: processor, network interface and memory, it is described
Processor, the network interface and the memory are connected with each other, wherein the network interface is used by the control of the processor
In messaging, the memory is for storing computer program, and the computer program includes program instruction, the processor
It is configured for calling described program instruction, executes method described in any of the above embodiments.
The present invention is by by the coordinate in local river described point and line on the electronic map, to realize electronic map
The complete display in upper river.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art
To obtain other drawings based on these drawings.
Fig. 1 is a kind of river map-indication method flow chart of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
A kind of river map-indication method of the present embodiment is as shown in Figure 1, comprising:
Step S1 imports the coordinate in local river, the i.e. latitude and longitude coordinates (also referred to as GPS coordinate) in river, wherein river
Coordinate by being obtained in the system of water conservancy bureau.
Step S2, the position described point of respective coordinates, electronic map can be Amap, Baidu map on the electronic map
Or Tencent's map etc., when described point, no matter Quan Hedao described point shows section and does not show the equal described point in section.
The point retouched is carried out line to form complete river by step S3.
The river map-indication method of the present embodiment is by by the coordinate in local river described point and company on the electronic map
Line, to realize the complete display in river on electronic map.
In the present embodiment, step S2 includes: the described point API for calling electronic map, on the electronic map respective coordinates position
Graphical pointv, and show.Such as: Amap, described point API are AMap.Polyline.
In the present embodiment, step S3 includes: the setting-out API for calling electronic map, is connected between adjacent two o'clock in step s 2
Line, and show.Such as: Amap, setting-out API is also AMap.Polyline.
In the present embodiment, before step S2 further include: create transparent figure layer on the electronic map, in step S2 and S3,
Described point and line in transparent figure layer, i.e., show entire river completely in transparent figure layer, by showing and closing transparent figure layer, comes
The flexibly display in control river, nor need to modify to former map code.Specifically, such as: use Amap
When, the setting-out API of Amap is directly utilized, then before described point and setting-out, can be created in the figure layer of Amap automatically
Transparent figure layer.
Further include step S4 after step S3: according to the water quality of different sections, different colours being shown to different sections, such as:
The preferable section of water quality is displayed in blue, and is secondly shown yellow, is displayed in red again, worst display purple, so as to more intuitively
The water quality from electronic map.Section is several paragraphs that river marks off, the corresponding one group of coordinate in each section.
Step S4 includes:
Step S41, acquires the water quality data for the water monitoring device being arranged on river in real time, while obtaining water quality monitoring
The coordinate of device, water monitoring device can return in real time water quality data by wireless transport module.
Step S42 judges the section where water monitoring device.Coordinate and section pair especially by water monitoring device
The one group of coordinate pair ratio answered, if the coordinate of water monitoring device judges water quality monitoring in the range of one group of coordinate covering
Device is located at the section.
Step S43 shows the color of the corresponding setting of the water quality data on the corresponding section of electronic map.
Since water monitoring device has variety classes, for monitoring different indexs, every section has multiple and different
The water monitoring device of type can also in advance supervise water quality in order to reduce calculation amount with timely display color in step S42
It surveys device and is tied to corresponding section, i.e. water monitoring device ID and section ID opening relationships mapping table, it directly should by inquiry
Relation mapping table is to determine the section where water monitoring device.
In step S43 while display color, increases water quality data link on corresponding section, open pop-up after click
The water quality data for showing the section, is checked convenient for staff, takes control measures in time before pollution.
Further, in step S43 further include: if water quality is not up to preassigned, the chromatic flicker of corresponding section is shown
Show, and acquire the section picture storage of corresponding water monitoring device shooting, increases in corresponding section and be used to open the section
The link of picture.Such as: the water quality for defining purple colour developing section is to be not up to preassigned, then the purple flashing of corresponding section
It has been shown that, to remind staff to pay attention to.Staff can click the section of purple flashing, the section picture be opened, to see
Observe the concrete condition of the section.
The Polyline of high moral API provides click and clicks event, and high moral information window form API is used after click
(AMap.InfoWindow) pop-up shows that content, content are the hand-written backstage html+ ajax data, can by by water quality data and
Section picture is added in the ajax data of backstage, and water quality data and section picture can be shown in pop-up.
The present invention also provides a kind of river map displays, including the list for executing any of the above-described the method
Member.
The present invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage has calculating
Machine program, the computer program include program instruction, and described program instruction when being executed by a processor holds the processor
Row method described in any of the above embodiments.
The present invention also provides a kind of river map displays, comprising: processor, network interface and memory, it is described
Processor, the network interface and the memory are connected with each other, wherein the network interface is used by the control of the processor
In messaging, the memory is for storing computer program, and the computer program includes program instruction, the processor
It is configured for calling described program instruction, executes method described in any of the above embodiments.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of river map-indication method, which is characterized in that comprising steps of
S1: the coordinate in local river is imported;
S2: the position described point of the coordinate is corresponded on the electronic map;
S3: the point retouched is subjected to line to form complete river.
2. river map-indication method as described in claim 1, which is characterized in that the step S2 includes: to call electronically
The described point API of figure, respective coordinates position graphical pointv on the electronic map, and show.
3. river map-indication method as described in claim 1, which is characterized in that the step S3 includes: to call electronically
The setting-out API of figure, line between adjacent two o'clock in step s 2, and show.
4. river map-indication method as described in claim 1, which is characterized in that before the step S2 further include: in electricity
Create transparent figure layer on sub- map, in the step S2 and S3, described point and line in the transparent figure layer.
5. river map-indication method as described in any one of claims 1 to 4, which is characterized in that after the step S3 also
Including step S4: according to the water quality of different sections, showing different colours to different sections.
6. river map-indication method as claimed in claim 5, which is characterized in that the step S4 includes:
S41: the water quality data for the water monitoring device being arranged on river is acquired in real time, while obtaining the seat of water monitoring device
Mark;
S42: judge the section where water monitoring device;
S43: the color of the corresponding setting of the water quality data is shown on the corresponding section of electronic map.
7. river map-indication method as claimed in claim 5, which is characterized in that in the step S43 further include: if water quality
Not up to preassigned shows the chromatic flicker of corresponding section, and acquires the section figure of corresponding water monitoring device shooting
Piece storage increases the link for being used to open the section picture in corresponding section.
8. a kind of river map display, which is characterized in that including for executing as described in any one of claim 1~7
Method unit.
9. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey
Sequence, the computer program include program instruction, and described program instruction executes the processor such as
Method according to any one of claims 1 to 7.
10. a kind of river map display characterized by comprising processor, network interface and memory, the processing
Device, the network interface and the memory are connected with each other, wherein the network interface is used to receive by the control of the processor
Message is sent out, the memory is for storing computer program, and the computer program includes program instruction, and the processor is matched
It sets for calling described program to instruct, executes such as method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910467477.3A CN110246414A (en) | 2019-05-31 | 2019-05-31 | River map-indication method, device, storage medium and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910467477.3A CN110246414A (en) | 2019-05-31 | 2019-05-31 | River map-indication method, device, storage medium and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110246414A true CN110246414A (en) | 2019-09-17 |
Family
ID=67885580
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910467477.3A Pending CN110246414A (en) | 2019-05-31 | 2019-05-31 | River map-indication method, device, storage medium and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110246414A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111210489A (en) * | 2019-12-31 | 2020-05-29 | 北京元心科技有限公司 | River reach drawing method, river reach display device and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000306082A (en) * | 1999-04-26 | 2000-11-02 | Toshiba Corp | Method and device for plotting intersection |
CN103500060A (en) * | 2013-09-18 | 2014-01-08 | 广东大晋对接信息科技有限公司 | Electronic map manufacturing method, electronic map manufacturing device, electronic map displaying method and electronic map displaying device |
CN103699654A (en) * | 2013-12-26 | 2014-04-02 | 武汉大学 | Cross-measuring-scale vector map water network same name target matching method |
CN104392100A (en) * | 2014-10-29 | 2015-03-04 | 南京南瑞集团公司 | Pollution source diffusion early-warning method based on water quality on-line monitoring system |
CN105701608A (en) * | 2016-01-11 | 2016-06-22 | 杭州电子科技大学 | Riverway supervision information management system |
CN107403034A (en) * | 2017-06-28 | 2017-11-28 | 西交利物浦大学 | Water pollution spreads early warning method for visualizing |
CN108009301A (en) * | 2017-12-29 | 2018-05-08 | 重庆南华中天信息技术有限公司 | Describe for CAD conduit line maps and show the method and apparatus in Baidu map |
CN109146773A (en) * | 2018-08-02 | 2019-01-04 | 广州市鑫广飞信息科技有限公司 | By river map maps to the method and device of Web map |
-
2019
- 2019-05-31 CN CN201910467477.3A patent/CN110246414A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000306082A (en) * | 1999-04-26 | 2000-11-02 | Toshiba Corp | Method and device for plotting intersection |
CN103500060A (en) * | 2013-09-18 | 2014-01-08 | 广东大晋对接信息科技有限公司 | Electronic map manufacturing method, electronic map manufacturing device, electronic map displaying method and electronic map displaying device |
CN103699654A (en) * | 2013-12-26 | 2014-04-02 | 武汉大学 | Cross-measuring-scale vector map water network same name target matching method |
CN104392100A (en) * | 2014-10-29 | 2015-03-04 | 南京南瑞集团公司 | Pollution source diffusion early-warning method based on water quality on-line monitoring system |
CN105701608A (en) * | 2016-01-11 | 2016-06-22 | 杭州电子科技大学 | Riverway supervision information management system |
CN107403034A (en) * | 2017-06-28 | 2017-11-28 | 西交利物浦大学 | Water pollution spreads early warning method for visualizing |
CN108009301A (en) * | 2017-12-29 | 2018-05-08 | 重庆南华中天信息技术有限公司 | Describe for CAD conduit line maps and show the method and apparatus in Baidu map |
CN109146773A (en) * | 2018-08-02 | 2019-01-04 | 广州市鑫广飞信息科技有限公司 | By river map maps to the method and device of Web map |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111210489A (en) * | 2019-12-31 | 2020-05-29 | 北京元心科技有限公司 | River reach drawing method, river reach display device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Tsui et al. | Forecasting of Hong Kong airport's passenger throughput | |
CN104731894A (en) | Thermodynamic diagram display method and device | |
WO2011072467A1 (en) | Method and system for monitoring of wetlands resource and ecological environment | |
CN107655578A (en) | A kind of temperature record methods of exhibiting, device and terminal | |
CN103177393B (en) | Traffic safety facility information acquisition based on mobile terminal and management method | |
CN109785637A (en) | The assay method and device of rule-breaking vehicle | |
KR20150050036A (en) | Ship energy efficiency management system and operating method thereof | |
CN109885637A (en) | Method and system for power failure based on map query | |
CN111666510A (en) | Statistical method and device for customer visit data | |
CN110246414A (en) | River map-indication method, device, storage medium and equipment | |
CN118135426B (en) | Port water area traffic condition identification method based on satellite image and SAM | |
CN104461431A (en) | Method and system for switching of superposed windows of joined screen | |
CN109857826A (en) | A kind of video camera visible range labeling system and its mask method | |
CN202976224U (en) | Automatic attendance check system for special mission | |
CN109656436A (en) | A kind of parking lot peer information displaying method based on GIS | |
WO2018062665A1 (en) | Hazardous and noxious substance environment sensitivity index map providing device | |
TW200923645A (en) | Patrol check operation interface and patrol check monitoring system using the interface | |
CN107748971A (en) | A kind of water resources management system based on cloud platform | |
CN107392827A (en) | School safety monitoring system | |
CN113127584A (en) | Map annotation method, device, electronic equipment and storage medium | |
Ya'acob et al. | Haze monitoring based on air pollution index (API) and geographic information system (GIS) | |
CN101567131A (en) | Electronic chart display and ship monitoring and positioning method | |
CN112527437A (en) | Method for generating user-defined element static layer | |
CN110381446A (en) | A kind of sampler's motion profile method for tracing | |
CN112988935A (en) | Parking space display method based on tile map and application thereof |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190917 |