CN109684012A - Water conservancy element display control method and device - Google Patents

Water conservancy element display control method and device Download PDF

Info

Publication number
CN109684012A
CN109684012A CN201811581696.6A CN201811581696A CN109684012A CN 109684012 A CN109684012 A CN 109684012A CN 201811581696 A CN201811581696 A CN 201811581696A CN 109684012 A CN109684012 A CN 109684012A
Authority
CN
China
Prior art keywords
water conservancy
map
display
target
vectorlayer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811581696.6A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201811581696.6A priority Critical patent/CN109684012A/en
Publication of CN109684012A publication Critical patent/CN109684012A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

This application discloses a kind of water conservancy element display control method and devices, this method comprises: determining the target display level of the display interface of user's current setting;The water conservancy element rank for being included according to different display levels determines at least one target water conservancy element rank that the target display level is included;According to water conservancy element rank corresponding to different water conservancy elements, determination belongs to the other multiple target water conservancy elements of at least one target water conservancy Element-Level;VectorLayer is presented on the map base map that display interface shows, which includes the vector data of multiple target water conservancy element.The scheme of the application can be more reasonable control water conservancy element data display, so that being conducive to user more quickly positions the vector data of required water conservancy element from commander interface.

Description

Water conservancy element display control method and device
Technical field
The present invention relates to interface display control technology fields, more specifically to a kind of water conservancy element display control side Method and device.
Background technique
The data of the water conservancies elements such as river and flood control engineering in the available different geographical of flood-control and drought relief monitoring system, And the vector data of the water conservancy element in different geographical is shown in commander interface, it is anti-so as to the flood control for analysis various regions Damage caused by a drought condition provides data and supports, is conducive to prevent water conservancy disaster ahead of time.
It is usually that the vector data of water conservancy element is superimposed upon map bottom in the commander interface of flood-control and drought relief monitoring system On figure, in this way, in conjunction with the water conservancy element presented on map base map vector data be recognized that river possessed by various regions and The flood control works element etc. of the disposed building in lake etc. and various regions.
However, the vector data of the water conservancy element due to commander's interface display out is more, and in many cases, supervisor It may not be all to be concerned about all water conservancy elements, in this way, supervisor just needs to search required water conservancy element one by one Vector data, thus the data for the water conservancy element being unfavorable for needed for quickly positioning.
Summary of the invention
The object of the present invention is to provide a kind of water conservancy element display control method and devices, with more reasonable control water conservancy The display of element, to be conducive to the vector data that user more quickly positions required water conservancy element from commander interface.
To achieve the above object, the present invention provides the following technical scheme that
On the one hand, this application provides a kind of water conservancy element display control methods, comprising:
Determine the target display level of the display interface of user's current setting;
The water conservancy element rank for being included according to different display levels determines that the target display level is included at least One target water conservancy element rank;
According to water conservancy element rank corresponding to different water conservancy elements, determines and belong at least one described target water conservancy element Multiple target water conservancy elements of rank;
VectorLayer is presented on the map base map that display interface shows, the VectorLayer includes the multiple target water The vector data of sharp element.
Preferably, on the map base map showed in display interface before presentation VectorLayer, further includes:
According to the included base features of different display levels, at least one mesh that the target display level is included is determined Base number of a tender pel element;
VectorLayer is presented on the map base map showed in display interface, comprising:
Show the map base map comprising at least one target base map element in display interface, and in the map base map The VectorLayer of the vector data comprising the multiple target water conservancy element is presented.
Preferably, it is described display interface show the map base map comprising at least one target base map element it Before, further includes:
According to base map display scale corresponding to different display levels, target corresponding to the target display level is determined Base map display scale;
According to vector display scale corresponding to different display levels, target corresponding to the target display level is determined Vector display scale;
It is described to show the map base map comprising at least one target base map element in display interface, and in the map The VectorLayer of the vector data comprising the multiple target water conservancy element is presented on base map, comprising:
According to the target base map display scale, show in display interface comprising at least one target base map element Map base map, and according to the target vector display scale, presenting on the map base map includes the multiple target water conservancy The VectorLayer of the vector quantities of element.
Preferably, on the map base map showed in display interface after presentation VectorLayer, further includes:
Obtain the transparency that user is VectorLayer setting;
It is the transparency of VectorLayer setting according to user, adjusts the transparency of the VectorLayer.
Preferably, on the map base map showed in display interface after presentation VectorLayer, further includes:
Obtain the transparency that user is map base map setting;
It is the transparency of map base map setting according to user, adjusts the transparency of the map base map.
Preferably, further includes:
Show that transparency adjusts control in the top layer of the display interface, it includes transparency in control that the transparency, which is adjusted, Adjusting block and controlled plant option for transparency controlled plant to be arranged;
It is described to obtain the transparency that user is VectorLayer setting, comprising:
When detecting that VectorLayer is arranged in the controlled plant option by user, it is described transparent by adjusting to obtain user Spend the transparency that adjusting block is VectorLayer setting;
It is described to obtain the transparency that user is map base map setting, comprising:
When detecting that the controlled plant option is set map base map by user, it is described by adjusting to obtain user Lightness adjusting block is the transparency of map base map setting.
Preferably, further includes:
Show that water conservancy element category selects control in the top layer of display interface, the water conservancy element category selection control is used for Show alternative multiple water conservancy element categories;
Obtain at least one target water conservancy element category that user selects from the water conservancy element category control;
For each target water conservancy element category, determination belongs to the target water from the multiple target water conservancy element respectively At least one target water conservancy element of sharp element category, and obtaining includes at least one corresponding mesh of target water conservancy element category The VectorLayer for marking water conservancy element, obtains the VectorLayer of the target water conservancy element category;
It is respectively right to show at least one described target water conservancy element category respectively on the map base map that display interface shows The VectorLayer answered.
Preferably, on the map base map that display interface shows before presentation VectorLayer, further includes:
According to the corresponding color of landform element of preset different height, map base map is generated.
Preferably, on the map base map showed in display interface after presentation VectorLayer, further includes:
When the display interface detects that display scale adjusts operation, determine that the display scale adjusts operation and touched Send out the target display scale adjusted;
The display ratio of the map base map and VectorLayer in the display interface is adjusted according to the target display scale Example.
Another aspect, present invention also provides a kind of water conservancy element display control units, comprising:
Display level determination unit, the target display level of the display interface for determining user's current setting;
Element level deciding unit, the water conservancy element rank for being included according to different display levels, determines the mesh At least one target water conservancy element rank that mark display level is included;
Match of elemental composition unit, for determining described in belonging to extremely according to water conservancy element rank corresponding to different water conservancy elements Few other multiple target water conservancy elements of a target water conservancy Element-Level;
Map display unit, for VectorLayer, the VectorLayer to be presented on the map base map that display interface shows Vector data including the multiple target water conservancy element.
By above scheme it is found that the display level of display interface can be set in user in the embodiment of the present application, due to not The water conservancy element rank for being included with display level is different, and the water conservancy element also not phase that different water conservancy element ranks are included Together, therefore, user can choose the vector data for needing to be presented to the element of the water conservancy in VectorLayer by setting display level, So that the vector data for the water conservancy element that user wishes to only is shown in the VectorLayer showed on map base map, To be conducive to the vector data that user quickly positions required water conservancy element, and then effectively intuitively show the arrow of water conservancy element Measure data.
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 for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of a kind of flow diagram of water conservancy element display control method provided by the embodiments of the present application;
Fig. 2 shows a kind of schematic diagrames that the transparency of the application adjusts control;
Fig. 3 shows a kind of schematic diagram of water conservancy element category selection control in the embodiment of the present application;
Fig. 4 shows each toolbar and its position view that display interface top layer shows;
Fig. 5 a shows the option schematic diagram for the multiple queries frame that query option includes;
Figure 5b shows that water conservancy elements in legend and the correspondence diagram being specifically identified;
Fig. 6 shows a kind of a kind of composed structure signal of water conservancy element display control unit provided by the embodiments of the present application Figure.
Specification and claims and term " first " in above-mentioned attached drawing, " second ", " third " " the 4th " etc. (if In the presence of) it is part for distinguishing similar, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so that embodiments herein described herein can be in addition to illustrating herein Sequence in addition is implemented.
Specific embodiment
The water conservancy element display control method of the embodiment of the present application may be implemented the classification to water conservancy element and not show, thus It can be needed to show the vector data for being in different grades of water conservancy element according to user, and then be conducive to user and quickly position institute The water conservancy element needed.
The water conservancy element display control method of the embodiment of the present application can be applied to the vector data for having to water conservancy element And the computer equipment that map base map image is analyzed and processed, e.g., personal computer or server etc., to calculate Map datum needed for showing flood-control and drought relief in machine equipment.
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, those of ordinary skill in the art are obtained every other under that premise of not paying creative labor Embodiment shall fall within the protection scope of the present invention.
As shown in Figure 1, Fig. 1 shows a kind of water conservancy element display control method provided by the embodiments of the present application, this method It can be applied to above-mentioned computer equipment, the method for the present embodiment may include:
S101 determines the target display level of the display interface of user's current setting.
In the embodiment of the present application, the display level of display interface can be set in user, by the way that different display levels is arranged Not, it can control the quantity of water conservancy element in the subsequent VectorLayer showed.For the ease of distinguishing, the embodiment of the present application will be used The display level of family current setting is known as target display level.
It is understood that the display level of user setting display interface otherwise can there are many, e.g., can show Display level adjusting option is arranged in interface, and perhaps rank regulation button is arranged with passing through adjusting option or rank regulation button Display level.
Optionally, in order to improve the convenience that user adjusts display level, and in view of user checks in display interface The use habit of map, computer equipment can detecte the map base map that display interface is presented in user in the embodiment of the present application Amplification and reduction operation determine the target display level that user is currently adjusted and according to the operation that zooms in or out of user Not.
S102, the water conservancy element rank for being included according to different display levels determine that the target display level is included At least one target water conservancy element rank.
Wherein, water conservancy element rank refers to the rank marked off to water conservancy element, wherein different water conservancy element ranks can To include multiple water conservancy elements.
Wherein, water conservancy element is to need to be related to the object of Analysis of check-up during flood control, and e.g., which can be with Space Elements and flood control works element are generally investigated including water conservancy.
Wherein, generaI investigation element in water conservancy space includes the object of paddling of self-assembling formation, e.g., river, lake, irrigated area etc.;May be used also To include being monitored to the water quality of self-assembling formation paddled in object or in the water conservancy object that objects perimeter of paddling is built, Such as, the observation objects such as hydrometric station and gaging station, the water body in reservoir engineering, the dam in reservoir engineering, water gate engineering, pumping plant work Journey, dyke/embankment project etc..
Wherein, flood control works element may include river-crossing works, smelting river engineering, protective embankments in lakeside areas, dangerous section danger point, flood storage and detention basin and moisture in the soil Feelings monitoring station etc..
Wherein, it for any one water conservancy element, since different geographical may include multiple this kind of water conservancy elements, and is somebody's turn to do The difference of the scales of multiple water conservancy elements, usage and the anti-dangerous ability of flood control, draws different water conservancy elements Assign to different water conservancy element ranks.Such as, by taking water conservancy element is river as an example, wherein converged relationship according to river, it can will not Different water conservancy element ranks is divided into river.It, can be by different lakes according to the difference of area of lake for lake It is divided into different water conservancy element ranks.
The element significance level or scale characterized in view of different water conservancy element ranks would also vary from, because This, user's rank of the water conservancy element of required concern under different scenes would also vary from.And in order to more reasonable aobvious Show water conservancy element, the application can also be provided with the water conservancy element rank that different display levels may be shown.
Such as, when display level is level-one, the water conservancy element for belonging to first level can be shown;And display level is second level When, it can show the water conservancy element of first level and the water conservancy element of second level.
Correspondingly, the water conservancy element rank for being included according to each display level being configured in advance, can determine One or more water conservancy element rank that the target display level is included.
S103, according to water conservancy element rank corresponding to different water conservancy elements, determination belongs at least one target water conservancy The other multiple target water conservancy elements of Element-Level.
Since each water conservancy element to be incorporated into different water conservancy element ranks in advance, according to water conservancy element and water The sharp other corresponding relationship of Element-Level can determine and belong to the other water conservancy element of each target water conservancy Element-Level.Wherein, for the ease of It distinguishes, the other water conservancy element of target water conservancy Element-Level will be belonged to and be known as target water conservancy element.
Wherein it is possible to be directed to each target water conservancy element rank respectively, determination belongs to the other institute of target water conservancy Element-Level There is target water conservancy element.
For example, river 1, lake 2, water gate engineering 1 belong to the water conservancy element of first level;River 2 and lake 1 And water gate engineering 3 belongs to the water conservancy element of second level;And river 3, lake 3 and water gate engineering 2 belong to the third level Other water conservancy element, if it is determined that the target water conservancy level element gone out includes first level water conservancy element and second level water conservancy member Element can then determine each water conservancy element for belonging to first level and second level respectively, so that it is determined that the target water conservancy member gone out Element includes: river 1, lake 2, water gate engineering 2, river 2, lake 2 and water gate engineering 3.
The vector data including multiple target water conservancy element is presented in S104 on the map base map that display interface shows VectorLayer.
Wherein, map base map is wanted based on the reflection map landform and geo-spatial data generated using remote sensing image data The map content asked.
Wherein, which can be to be presented map base map and VectorLayer, for obtaining able to resisting flood and drought correlation The commander interface of data.
It is understood that needing in order to the geographical location of each target water conservancy element of determination in map base map On the basis of show the vector data of each target water conservancy element, determine each target water conservancy element institute to gather map base map Geographical coordinate and relative position etc..
Wherein, the vector data of target water conservancy element may include title and geographical coordinate of target water conservancy element etc. Deng other data relevant to target water conservancy element can also be set as needed.
It is understood that in practical applications, the vector data of different classes of water conservancy element can be presented in In the same VectorLayer.Optionally, in order to the water conservancy element different classes of convenient for user query, the application can also be incited somebody to action The vector data of different classes of target water conservancy element is shown in different VectorLayers.It such as, can be with for river and lake Different VectorLayers is constructed respectively, wherein each target water for belonging to river can be only shown in the VectorLayer in river The vector data of sharp element, and the vector number for belonging to each target water conservancy element in lake is only shown in the VectorLayer in lake According to.
Optionally, it is contemplated that under different display levels, user may be for the element in display interface on map base map Degree of concern would also vary from, and therefore, in the embodiment of the present application, can also preset and present needed for different display levels Base map element.Wherein, base map element is the element for needing to show in map base map, and e.g., base map element may include state Boundary, provincial boundaries, province's label, circle, city, city's label, circle, county and county's label etc..
On the basis of above, the target display level institute can be determined according to the included base features of different display levels At least one the target base map element for including.Correspondingly, can show in display interface comprising at least one target base map member The map base map of element, and the VectorLayer of the vector data comprising multiple target water conservancy element is presented in the map base map.
Further, the corresponding image resolution of different display levels can also be set.The image resolution can be tool There are the image of different spatial resolutions, e.g., 250 meters of resolution images, 30 meters of image resolutions etc..Correspondingly, can also be according to The corresponding target image resolution ratio of the target display level, controls resolution image corresponding to the map base map shown.
By above scheme it is found that the display level of display interface can be set in user in the embodiment of the present application, due to not The water conservancy element rank for being included with display level is different, and the water conservancy element also not phase that different water conservancy element ranks are included Together, therefore, user can choose the vector data for needing to be presented to the element of the water conservancy in VectorLayer by setting display level, So that the vector data for the water conservancy element that user wishes to only is shown in the VectorLayer showed on map base map, Required water conservancy element and its vector data are quickly positioned to be conducive to user, and then effectively intuitively shows water conservancy element.
It is understood that in the embodiment of the present application, in practical applications, being shown in order to more reasonable control The corresponding display scale of different display levels can be set in interface layout, e.g., the corresponding base map of different display levels can be set Display scale, and the vector display scale of the corresponding VectorLayer of different display levels.
Correspondingly, may be used also before display interface shows map base map corresponding with the display level and VectorLayer To include: to determine target bottom corresponding to the target display level according to base map display scale corresponding to different display levels Figure display scale;And according to vector display scale corresponding to different display levels, determine corresponding to the target display level Target vector display scale.
Correspondingly, can show in display interface comprising at least one target bottom according to the target base map display scale The map base map of pel element, and according to the target vector display scale, presenting on the map base map includes the multiple target The VectorLayer of the vector quantities of water conservancy element.
Wherein, for the ease of distinguishing, in the embodiment of the present application, the display scale of map base map is known as base map and shows ratio Example, and the display scale of VectorLayer is known as vector display scale.
Wherein, the display scale that the application is previously mentioned can be understood as scale bar, i.e., the length of a line segment and ground in figure The ratio between the physical length of the corresponding line segment in face.
In order to facilitate understanding for the grade classification, display level and display scale of water conservancy element in the embodiment of the present application Between relationship, below in the application divide water conservancy element and building display level and water conservancy element rank and display ratio It is illustrated for a kind of implementation of relationship between example.
It is said so that the water conservancy element of the application includes: 9 kinds of water conservancy generaI investigation Space Elements and 6 kinds of flood control works elements as an example It is bright.Wherein, 9 kinds of water conservancies generaI investigation Space Elements may include: river, lake, irrigated area, hydrometric station/gaging station, in reservoir engineering Dam, water gate engineering, pump station engineering, dyke/embankment project in water body, reservoir engineering.6 kinds of flood control works elements can wrap It includes: river-crossing works, smelting river engineering, protective embankments in lakeside areas, dangerous section danger point, flood storage and detention basin and soil moisture content monitoring station.
In the embodiment of the present application, can in conjunction with flood control works Ku Biaoli project scale or rank of project (or engineering-level, engineering rule Mould) water conservancy element is classified.It, can also be further according to place stream order meanwhile for part hydraulic engineering element Classification.
The classification situation of each water conservancy element is introduced respectively below:
(1) river
For river, the relationship that can be converged with river is classified each river, with water conservancy belonging to each river of determination Element rank.
Correspondingly, when needing to show water conservancy element according to water conservancy element category, it can be according to stream order to not at the same level The vector data in other river carries out the storage of component layer and mentions so as to the subsequent VectorLayer that can call directly the stream order High figure layer shows efficiency.
(2) facility-hydrometric station/gaging station is observed
Hydrometric station/hydrometric station can be classified according to the stream order in river where hydrometric station/gaging station.Correspondingly, It, can be by gaging station/hydrometric station vector data of different stage when needing to show corresponding element according to water conservancy element category It is stored according to rank component layer.
(3) lake
The grade in different lakes can be divided according to the size in lake.Such as, by the water surface face in the lake in such as the following table 1 Product is classified lake, so that the classification component layer of lake data stores:
Table 1
(4) reservoir engineering (water body)
It can be classified according to water body of the total reservoir storage to reservoir engineering.At the same time it can also combine order of stream pair The water body of reservoir engineering is classified.Correspondingly, equally the reservoir work of different stage can be stored according to different stage, component layer The corresponding VectorLayer of the water body of journey.
Such as, the total reservoir storage according to the form below 2 is classified data, right using table 3 then in conjunction with place order of stream The water body of reservoir engineering is further classified:
Table 2
Project scale Total reservoir storage (108 cubic metres)
(1) type greatly ≥10
(2) type greatly 10~1.0
It is medium-sized 1.0~0.10
Small (1) type 0.10~0.01
Small (2) type 0.01~0.001
Table 3
(5) reservoir engineering (dam)
It is classified according to dam of the water body in reservoir engineering to reservoir engineering, and to the arrow of the dam in reservoir engineering Data are measured to store according to the different VectorLayer of rank point.
(6) water gate engineering
Such as, water gate engineering can be classified with engineering order, then in conjunction with the order of stream where the water gate engineering of place The final grade for determining water gate engineering.Correspondingly, can be according to the grade of water gate engineering, to the vector data of different water gate engineerings Divide different VectorLayer storages.
Such as, table 4 may refer to water gate engineering classification according to engineering order, determines that water gate engineering is final in combination with table 5 Rank:
Table 4
Table 5
(7) pump station engineering
It can be classified according to engineering order and in conjunction with order of stream, and realize the vector number by grade to pump station engineering According to component layer storage.
Such as, incorporation engineering grade classification can be found in table 6, can be shown in Table 7 in conjunction with the further classification of order of stream:
Table 6
Table 7
(8) dyke/embankment project
Data can be classified according to dam degree, such as referring to table 8, meanwhile, then in conjunction with river where the engineering Grade is classified, such as referring to table 9.Correspondingly, can be stored to dyke/embankment project vector data by rank component layer.
Table 8
Table 9
(9) irrigated area
It can be classified according to total irrigated area in irrigated area, such as referring to table 10.Meanwhile according to irrigated area rank to different irrigated areas Vector data is stored by rank resolute figure layer.
Table 10
Irrigated area rank Project scale Total irrigated area (ten thousand mu)
1 It is large-scale ≥100
2 It is large-scale 50~100
3 It is large-scale 30~50
4 It is medium-sized 10~30
5 It is medium-sized 5~10
6 It is medium-sized 1~5
7 It is small-sized < 1
(10) river-crossing works
River-crossing works are classified according to river-crossing works purposes, such as referring to table 11, and realize the vector data to river-crossing works It is stored by rank component layer.
Table 11
River-crossing works rank River-crossing works purposes
1 Traffic
2 Oil, fate are defeated
3 It is other
(11) river engineering
Classification storage is carried out to river engineering according to river engineering total length, such as referring to table 12.Correspondingly, can be according to controlling The rank of river engineering stores the vector data component layer of river engineering.
Table 12
River engineering rank River engineering total length (rice)
1 ≥10000
2 5000~10000
3 3000~5000
4 1000~3000
5 500~1000
6 < 500
(12) protective embankments in lakeside areas
Protective embankments in lakeside areas is classified according to the size of population involved by protective embankments in lakeside areas, such as referring to table 13, and carries out classification component layer storage.
Table 13
Protective embankments in lakeside areas rank The protective embankments in lakeside areas size of population (104 people)
1 ≥5.0
2 1.0~5.0
3 0.5~1.0
4 0.1~0.5
5 < 0.1
(13) dangerous section danger point
The dangerous situation rank nearly put according to dangerous section is classified such as referring to table 14, meanwhile, to the classification component layer storage of its vector data.
Table 14
Dangerous section nearly puts rank Dangerous situation rank
1 Level-one
2 Second level
3 Three-level
4 It is other
(14) flood storage and detention basin
Flood storage and detention basin is classified according to register type, such as referring to table 15.Correspondingly, according to the rank of flood storage and detention basin to difference The vector data of flood storage and detention basin carries out the storage of component layer.
Table 15
Flood storage and detention basin rank Register type
1 National register
2 It is other
(15) soil moisture content monitoring station
Soil moisture content monitoring station is classified according to administrative level, such as referring to table 16.Correspondingly, according to the rank of soil moisture content monitoring station, Vector data classification resolute figure layer storage to different soil moisture content monitoring stations.
Table 16
Soil moisture content monitoring station rank Administrative level
1 Save pipe
2 City's pipe
3 County's pipe
It is the explanation to a kind of implementation of different water conservancy element classification modes above.
In conjunction with the classification above to water conservancy element, to pair of display level and different water conservancy element ranks and display scale It should be related to and be introduced.
Such as, referring to such as the following table 17, it illustrates the map base maps of presentation needed for display levels different in the embodiment of the present application Corresponding relationship between element (i.e. geo-spatial data element), resolution image and display scale:
Table 17
Different display levels have just corresponded to the display level of different map base maps, i.e. map in table 17 in table 17 as above Rank.And display scale would also vary from scale bar corresponding to different display levels in other words.Meanwhile different map levels Under, the base maps element such as required national boundaries, provincial boundaries, circle, city showed would also vary from the map base map, and map base map pair The resolution ratio for the image answered also can difference.
Such as, map level be 2 grades when, display scale 1:18489334.72, at this time the remote sensing image of map base map be 250 meters of resolution images, and the base map element for needing to show on map base map may include: national boundaries, provincial boundaries, save annotation.
Correspondingly, may refer to such as the following table 18, it illustrates display levels different in the embodiment of the present application and different brackets Water conservancy element, between display scale corresponding relationship table:
Table 18
Wherein, the water conservancy thematic data in table 18 as above is it can be understood that be the vector data of water conservancy element.Such as, display level When Wei not be 2 grades, the display scale of VectorLayer be 1:18489334.72, and needs to present on map base map and belong to the first order With the vector data of second level water conservancy element.
It is understood that since the vector data of water conservancy element is added on map base map, vector data The part Chong Die with map base map will have information covering, so that the partial content on map base map can not clearly be in It is existing.In order to weaken the case where information is mutually blocked, in the embodiment of the present application, VectorLayer is presented on map base map Later, user can also be adjusted the transparency of VectorLayer.
It correspondingly, computer equipment obtains the transparency that user is VectorLayer setting, and is polar plot according to user The transparency of layer setting, adjusts the transparency of the VectorLayer.Such as, it is 5 percent that user, which adjusts the transparency of VectorLayer, Ten, then it is 50 percent that the transparency of the VectorLayer, which can be arranged, in computer equipment.
It is understood that the transparency of VectorLayer is higher, the occlusion effect of VectorLayer to map base map is weaker, this Sample, user can reduce blocking for VectorLayer to map base map by adjustment vector figure layer, to reduce due to VectorLayer In vector data it is Chong Die with map base map, and make in the sightless situation of part map base map, so that user is looking into While seeing the vector data on VectorLayer, the related data that can also consult a map on base map.
Further, in order to reduce interference of the data on map base map to vector data on VectorLayer, the application is real It applies in example, user can also adjust the transparency of map base map.Correspondingly, the available user of computer equipment is map base map The transparency of setting, and be the transparency that the map base map is arranged according to user, adjust the transparency of map base map.
It is understood that can be provided in the embodiment of the present application for user adjust transparency mode can there are many, Such as, corresponding transparency selection option can be set.
Optionally, it can also show that transparency adjusts control in the top layer of display interface in the application, it is to be understood that The display transparency adjusts control and can be after the display level according to user setting shows corresponding show layers, It is transparent that the upper layer at the commander interface comprising map base map and VectorLayer that can also be showed at any time shows this Degree adjusts control.
It wherein, include transparency adjusting block and the tune for transparency controlled plant to be arranged in the transparency condition control Save object options.Correspondingly, obtaining user when detecting that VectorLayer is arranged in the controlled plant option by user and passing through adjusting The transparency adjusting block is the transparency of VectorLayer setting.And works as and detect that the controlled plant option is set map by user When base map, user is obtained by adjusting the transparency that the transparency adjusting block is the setting of map base map.
Such as, referring to fig. 2, it illustrates a kind of schematic diagrames that the transparency of the application adjusts control.As seen from Figure 2, It includes base map and vector tick boxes 201 that the transparency, which is adjusted on control, can be set by choosing the corresponding tick boxes of the base map Setting transparency controlled plant is map base map, and the tick boxes by choosing object vector can be set transparency controlled plant and be VectorLayer.
Meanwhile adjusting in the transparency can also include transparency adjustment bar 202, the transparency adjustment bar 202 on control On be provided with adjusting block (or for adjusting knob, as shown in circle in Fig. 2) 203.User can change by dragging the adjusting block The current VectorLayer of transparency to be regulated or the transparency of map base map.
It is understood that in practical applications, presenting commander interface in display interface and carrying VectorLayer In the case where map base map, other a variety of controls for realizing different function can also be shown on the top layer of display interface.
Optionally, it is contemplated that user may need to present the polar plot of the water conservancy element of certain classifications on map base map Layer, and it is not intended to the water conservancy element of display all categories.Such as, after user setting display level, user be may want to Display belongs to the corresponding water conservancy element rank of the display level, and the vector data of the water conservancy element of specified classification;Either, exist Before the not set display level of user, certain classifications are only showed in the corresponding VectorLayer of display level that default is presented Water conservancy element vector data.In that case, the selection of water conservancy element category can be shown in the display interface top layer Control.Water conservancy element category selection control is for showing alternative multiple water conservancy element categories.
Correspondingly, computer equipment obtains at least one target water conservancy that user selects from water conservancy element category control Element category.Meanwhile for each target water conservancy element category, which can be respectively from multiple target water conservancy elements Middle determination belongs at least one target water conservancy element of the target water conservancy element category, and obtains out comprising the target water conservancy element The VectorLayer of at least one corresponding target water conservancy element of classification, obtains the VectorLayer of the target water conservancy element category.
Such as, from the VectorLayer of the water conservancy element of the different element categories of storage, the target water conservancy element category is obtained At least one lower corresponding VectorLayer of target water conservancy element.Alternatively, utilizing at least one target water conservancy under target water conservancy element The vector data of element constructs corresponding VectorLayer.
On the basis of above, computer equipment can show at least one on the map base map that display interface shows respectively The corresponding VectorLayer of target water conservancy element category.
Such as, after user setting display level, which is shown according to the display level of user setting The map base map answered, and after the corresponding VectorLayer of the display level is presented on map base map, if user has selected mesh Water conservancy element category is marked, then is only presented on the map base map and belongs to target water conservancy element category and water corresponding with display level The corresponding VectorLayer of sharp element, the VectorLayer of the water conservancy element of target water conservancy element category is not belonging to without showing.
For example, may refer to Fig. 3, it illustrates the water conservancy element categories that display interface top layer in the embodiment of the present application shows Select a kind of schematic diagram of control.
As seen from Figure 3, when the drop-down item for clicking water conservancy element category selection control, as identified upwards in Fig. 3 After symbol 301, the corresponding tick boxes 302 of multiple water conservancy element categories for user's selection can be shown, in this way, with The VectorLayer for the water conservancy element which classification is presented on map base map is wished at family, then can choose the water conservancy member of respective classes The tick boxes of element.
It is understood that in order to check the scale bar in current commander interface convenient for user, on display interface top Layer can also show proportional ruler mark.Correspondingly, the meaning for the ease of checking each component identification in commander interface, at this The commander interface top layer of application embodiment can also show legend, and various water conservancy elements can be shown in legend in vector Mark in figure layer.
Such as, referring to fig. 4, it illustrates each toolbars and its position view that display interface top layer shows.
As seen from Figure 4, the information of proportional ruler 401 is shown simultaneously in the left bottom of display interface top layer, aobvious Show that the lower right corner of interface top layer shows legend 402, the mark for indicating different water conservancy elements is showed in the legend.Legend The middle mark for indicating each water conservancy element can be specifically detailed in shown in Fig. 5 b.
It is understood that searching for water conservancy element and the specific geographic band of position etc., commander circle for the ease of user The top layer in face, which can also show, the tools such as frame retrieval and search box.As shown in figure 4, also being shown in the display interface top layer The toolbar 404 of frame retrieval 403 and common tool.
Wherein, the element Class Options of water conservancy element category are selected comprising being previously used in the toolbar 404.The toolbar It can also include query option in 404, the choosing of multiple queries frame can be showed by clicking the query option, as shown in Figure 5 a, such as When user needs to iris out required region by round box in commanding interface, then it can choose round inquiry.
Meanwhile also showing transparency in the upper left side of display interface top layer and adjusting control 405, meanwhile, in display interface The upper right side of top layer can also have and can adjust control 406 to the zoom that image zooms in or out.
It is understood that different display level institutes can be preset in addition to above-mentioned in the embodiment of the present application It, can also be by user as needed on display circle except the vector display scale of corresponding base map display scale and VectorLayer Face arbitrarily adjusts display scale.Such as, user adjusts display circle by the modes of operation such as zooming in or out in the display interface The display scale of base map and VectorLayer in face.Display can not be limited by adjusting display scale in display interface by user The corresponding relationship of rank and display scale is not needed to display scale divided rank yet.
Correspondingly, computer equipment works as computer equipment after display interface presents map base map and VectorLayer When the display interface detects that display scale adjusts operation, determine that the display scale adjusts operation and triggers the target adjusted Display scale;And the display ratio of the map base map and VectorLayer in the display interface is adjusted according to the target display scale Example.
Wherein, display scale adjusting operation can be user and be operated in display interface by mouse or touch sliding etc. Display scale is adjusted, amplitude is different depending on the user's operation, and triggering the target display scale adjusted would also vary from.
It is understood that vector is presented on the map base map that display interface shows in the application above embodiments Map base map can also be generated, to make according to the corresponding color of landform element of preset different height before figure layer It obtains from map base map is clearer and identifies Plain, hills and glacier etc..
Such as, according to continent topography actual conditions, the elevation of landform can be divided into multistage, is distinguished with different colours different Elevation and landform in section area.Specifically, following general hierarchical sets color color sequences: Plain is green, low mountains and hills yellow, Mountainous region and plateau sepia, lilac indicate accumulated snow, glacier.
For example, with reference to table 19, the topographic map map scheme of colour according to set by landform altitude that it illustrates the application.
Table 19
A kind of water conservancy element display control method of corresponding the application, present invention also provides a kind of displays of water conservancy element to control Device processed.
Such as, referring to Fig. 6, it illustrates a kind of a kind of composed structures of water conservancy element display control unit of the embodiment of the present application The device of schematic diagram, the present embodiment may include:
Display level determination unit 601, the target display level of the display interface for determining user's current setting;
Element level deciding unit 602, the water conservancy element rank for being included according to different display levels, determine described in At least one target water conservancy element rank that target display level is included;
Match of elemental composition unit 603, for determining described in belonging to according to water conservancy element rank corresponding to different water conservancy elements The other multiple target water conservancy elements of at least one target water conservancy Element-Level;
Map display unit 604, for VectorLayer, the polar plot to be presented on the map base map that display interface shows Layer includes the vector data of the multiple target water conservancy element.
In one possible implementation, which can also include:
Map elements determination unit, for being presented on the map base map that display interface shows in the map display unit Before VectorLayer, according to the included base features of different display levels, determine that the target display level is included at least One target base map element;
The map display unit, specifically, for showing in display interface comprising at least one described target base map member The map base map of element, and the polar plot of the vector data comprising the multiple target water conservancy element is presented in the map base map Layer.
Optionally, the device further include:
Base map ratio-dependent unit, for the map display unit display interface show comprising it is described at least one Before the map base map of target base map element, according to base map display scale corresponding to different display levels, the target is determined Target base map display scale corresponding to display level;
Vector scale determination unit, for determining the mesh according to vector display scale corresponding to different display levels Mark target vector display scale corresponding to display level;
The map display unit, comprising:
Subelement is presented in map, for showing comprising described in extremely in display interface according to the target base map display scale The map base map of a few target base map element, and according to the target vector display scale, it is presented on the map base map The VectorLayer of vector quantities comprising the multiple target water conservancy element.
In another possible implementation, the device further include:
The transparent acquiring unit of vector, for being presented on the map base map that display interface shows in the map display unit After VectorLayer, the transparency that user is VectorLayer setting is obtained;
The transparent adjusting unit of vector adjusts the vector for being the transparency of VectorLayer setting according to user The transparency of figure layer.
Optionally, which can also include:
The transparent acquiring unit of base map, for being presented on the map base map that display interface shows in the map display unit After VectorLayer, the transparency that user is map base map setting is obtained;
The transparent adjusting unit of base map adjusts the map for being the transparency of map base map setting according to user The transparency of base map.
Optionally, the device further include:
First control shows unit, shows that transparency adjusts control for the top layer in the display interface, described transparent It includes transparency adjusting block and the controlled plant option for transparency controlled plant to be arranged in control that degree, which is adjusted,;
The transparent acquiring unit of vector, comprising:
The transparent acquisition subelement of vector, for when detect user by the controlled plant option be arranged VectorLayer when, User is obtained by adjusting the transparency that the transparency adjusting block is VectorLayer setting;
The transparent acquiring unit of base map, comprising:
The transparent acquisition subelement of base map detects that the controlled plant option is set map base map by user for working as When, user is obtained by adjusting the transparency that the transparency adjusting block is map base map setting.
Optionally, in the embodiment of one device of the application any of the above, further includes:
Second control shows unit, shows that water conservancy element category selects control, the water for the top layer in display interface Sharp element category selection control is for showing alternative multiple water conservancy element categories;
Element category acquiring unit, for obtaining at least one that user selects from the water conservancy element category control Target water conservancy element category;
Classification figure layer acquiring unit, for being directed to each target water conservancy element category, respectively from the multiple target water conservancy At least one the target water conservancy element for belonging to the target water conservancy element category is determined in element, and is obtained comprising the target water conservancy member The VectorLayer of at least one corresponding target water conservancy element of plain classification, obtains the VectorLayer of the target water conservancy element category;
Control unit is presented in classification, for showing at least one described mesh respectively on the map base map that display interface shows Mark the corresponding VectorLayer of water conservancy element category.
Optionally, which can also include: map color setting unit, be used in map display unit in display interface Before VectorLayer is presented on the map base map showed, according to the corresponding color of landform element of preset different height, Generate map base map.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of water conservancy element display control method characterized by comprising
Determine the target display level of the display interface of user's current setting;
The water conservancy element rank for being included according to different display levels determines the target display level included at least one Target water conservancy element rank;
According to water conservancy element rank corresponding to different water conservancy elements, determines and belong at least one described target water conservancy element rank Multiple target water conservancy elements;
VectorLayer is presented on the map base map that display interface shows, the VectorLayer includes the multiple target water conservancy member The vector data of element.
2. water conservancy element display control method according to claim 1, which is characterized in that show described in display interface Map base map on present VectorLayer before, further includes:
According to the included base features of different display levels, at least one target bottom that the target display level is included is determined Pel element;
VectorLayer is presented on the map base map showed in display interface, comprising:
Show the map base map comprising at least one target base map element in display interface, and is on the map base map The now VectorLayer of the vector data comprising the multiple target water conservancy element.
3. water conservancy element display control method according to claim 2, which is characterized in that show described in display interface Before map base map comprising at least one target base map element, further includes:
According to base map display scale corresponding to different display levels, target base map corresponding to the target display level is determined Display scale;
According to vector display scale corresponding to different display levels, target vector corresponding to the target display level is determined Display scale;
It is described to show the map base map comprising at least one target base map element in display interface, and in the map base map The upper VectorLayer that the vector data comprising the multiple target water conservancy element is presented, comprising:
According to the target base map display scale, show the map comprising at least one target base map element in display interface Base map, and according to the target vector display scale, presenting on the map base map includes the multiple target water conservancy element Vector quantities VectorLayer.
4. water conservancy element display control method according to claim 1, which is characterized in that show described in display interface Map base map on present VectorLayer after, further includes:
Obtain the transparency that user is VectorLayer setting;
It is the transparency of VectorLayer setting according to user, adjusts the transparency of the VectorLayer.
5. water conservancy element display control method according to claim 4, which is characterized in that show described in display interface Map base map on present VectorLayer after, further includes:
Obtain the transparency that user is map base map setting;
It is the transparency of map base map setting according to user, adjusts the transparency of the map base map.
6. water conservancy element display control method according to claim 5, which is characterized in that further include:
Show that transparency adjusts control in the top layer of the display interface, the transparency is adjusted in control and adjusted comprising transparency Block and controlled plant option for transparency controlled plant to be arranged;
It is described to obtain the transparency that user is VectorLayer setting, comprising:
When detecting that VectorLayer is arranged in the controlled plant option by user, user is obtained by adjusting the transparency tune Locking nub is the transparency of VectorLayer setting;
It is described to obtain the transparency that user is map base map setting, comprising:
When detecting that the controlled plant option is set map base map by user, user is obtained by adjusting the transparency Adjusting block is the transparency of map base map setting.
7. water conservancy element display control method according to claim 1, which is characterized in that further include:
Show that water conservancy element category selects control in the top layer of display interface, the water conservancy element category selection control is for showing Alternative multiple water conservancy element categories;
Obtain at least one target water conservancy element category that user selects from the water conservancy element category control;
For each target water conservancy element category, is determined from the multiple target water conservancy element belong to the target water conservancy member respectively At least one target water conservancy element of plain classification, and obtaining includes at least one corresponding target water of the target water conservancy element category The VectorLayer of sharp element obtains the VectorLayer of the target water conservancy element category;
It is corresponding to show at least one described target water conservancy element category respectively on the map base map that display interface shows VectorLayer.
8. water conservancy element display control method according to claim 1, which is characterized in that in the map that display interface shows On base map before presentation VectorLayer, further includes:
According to the corresponding color of landform element of preset different height, map base map is generated.
9. water conservancy element display control method according to claim 1, which is characterized in that show described in display interface Map base map on present VectorLayer after, further includes:
When the display interface detects that display scale adjusts operation, determine that the display scale adjusts operation and triggers tune The target display scale saved;
The display scale of the map base map and VectorLayer in the display interface is adjusted according to the target display scale.
10. a kind of water conservancy element display control unit characterized by comprising
Display level determination unit, the target display level of the display interface for determining user's current setting;
Element level deciding unit, the water conservancy element rank for being included according to different display levels determine that the target is aobvious Show at least one target water conservancy element rank that rank is included;
Match of elemental composition unit, for determining and belonging to described at least one according to water conservancy element rank corresponding to different water conservancy elements A other multiple target water conservancy elements of target water conservancy Element-Level;
Map display unit, for VectorLayer to be presented on the map base map that display interface shows, the VectorLayer includes The vector data of the multiple target water conservancy element.
CN201811581696.6A 2018-12-24 2018-12-24 Water conservancy element display control method and device Pending CN109684012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811581696.6A CN109684012A (en) 2018-12-24 2018-12-24 Water conservancy element display control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811581696.6A CN109684012A (en) 2018-12-24 2018-12-24 Water conservancy element display control method and device

Publications (1)

Publication Number Publication Date
CN109684012A true CN109684012A (en) 2019-04-26

Family

ID=66189097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811581696.6A Pending CN109684012A (en) 2018-12-24 2018-12-24 Water conservancy element display control method and device

Country Status (1)

Country Link
CN (1) CN109684012A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609517A (en) * 2012-02-09 2012-07-25 武汉大学 Method and system for online vector map comprehensive services
CN103187002A (en) * 2011-12-29 2013-07-03 北京移动坚石信息技术有限公司 Method for generating electronic map
CN104318349A (en) * 2014-10-10 2015-01-28 南通大学 Silverlight and ArcGIS-based marine cadastre monitoring and management method
CN107133427A (en) * 2017-06-07 2017-09-05 中国水利水电科学研究院 A kind of construction method of the flood risk analysis model based on 2DGIS platforms
US20180052596A1 (en) * 2016-08-18 2018-02-22 Mapbox, Inc. Representation of digital map styling properties across zoom levels

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103187002A (en) * 2011-12-29 2013-07-03 北京移动坚石信息技术有限公司 Method for generating electronic map
CN102609517A (en) * 2012-02-09 2012-07-25 武汉大学 Method and system for online vector map comprehensive services
CN104318349A (en) * 2014-10-10 2015-01-28 南通大学 Silverlight and ArcGIS-based marine cadastre monitoring and management method
US20180052596A1 (en) * 2016-08-18 2018-02-22 Mapbox, Inc. Representation of digital map styling properties across zoom levels
CN107133427A (en) * 2017-06-07 2017-09-05 中国水利水电科学研究院 A kind of construction method of the flood risk analysis model based on 2DGIS platforms

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
宋眉平: "地理信息系统在防汛水情信息系统中的应用", 《科技情报开发与经济》 *
杨靖: "地理信息系统在防汛水情信息系统中的应用", 《水资源研究》 *

Similar Documents

Publication Publication Date Title
Walker et al. On the effect of digital elevation model accuracy on hydrology and geomorphology
Van Westen et al. Multi-hazard risk assessment: Distance education course-Risk City Exercise book 2011
Chopra et al. Morphometric analysis of sub-watersheds in Gurdaspur district, Punjab using remote sensing and GIS techniques
Satta et al. An index-based method to assess risks of climate-related hazards in coastal zones: The case of Tetouan
Schoorl et al. Linking land use and landscape process modelling: a case study for the Alora region (south Spain)
Gustavsson et al. Structure and contents of a new geomorphological GIS database linked to a geomorphological map—With an example from Liden, central Sweden
Sankey et al. The response of source-bordering aeolian dunefields to sediment-supply changes 1: effects of wind variability and river-valley morphodynamics
US7065244B2 (en) Method of mapping a three dimensional area
Singh et al. Basin morphometry of Maingra River, district Gwalior, Madhya Pradesh, India
CN103123263A (en) Method and device for displaying navigation electronic map
Makrari et al. Assessment of the geomorphic indices in relation to tectonics along selected sectors of Borpani River Basin, Assam using Cartosat DEM data
Kumar et al. Application of remote sensing and geographic information system in change detection of the Netravati and Gurpur river channels, Karnataka, India
Somashekar et al. Runoff estimation and morphometric analysis for Hesaraghatta watershed using IRS–1D LISS III FCC satellite data
Jabbar et al. Land degradation due to salinization in arid and semi-arid regions with the aid of geo-information techniques
CN109684012A (en) Water conservancy element display control method and device
Damen et al. Assessment of the Impact of Land Subsidence, Sea Level Rise and Coastal Change in the city of Semarang, Java, Indonesia
Pal et al. Morphometric analysis and associated land use study of a part of the Dwarkeswar watershed
Rasool et al. The evaluation of Morphmetric characteristics of Upper Subarnarekha Watershed drainage basin using geoinformatics as a tool, Ranchi, Jharkhand
AP et al. Morphometric analysis for hydrological studies using Geographical Information System: A case study
Makhdumi et al. Prioritisation of watersheds using TOPSIS and VIKOR method
Pasto Soil mapping by Stereoscopic interpretation of airphotos
Thwaites A technique for local soil erosion survey
Merron et al. Landscape Archives, Aerial Photography and Geomorphic Change along the Lower Orange River
CN106595607B (en) A kind of rill erosion investigation method
Mandal et al. Computerized database on salt affected soils in western and central India using GIS

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: 20190426