CN103699561A - Method for implementing inquiry of geographic information system by hypergraph - Google Patents
Method for implementing inquiry of geographic information system by hypergraph Download PDFInfo
- Publication number
- CN103699561A CN103699561A CN201310527291.5A CN201310527291A CN103699561A CN 103699561 A CN103699561 A CN 103699561A CN 201310527291 A CN201310527291 A CN 201310527291A CN 103699561 A CN103699561 A CN 103699561A
- Authority
- CN
- China
- Prior art keywords
- inquiry
- div
- layer
- queryparam
- hypergraph
- 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
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Remote Sensing (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a method for implementing inquiry of a geographic information system by a hypergraph. The method particularly comprises the following steps of firstly, carrying out ASPX design, adding a DIV of an input inquiry condition and a DIV of a display attribute result on a page and adding corresponding choice boxes and text boxes, which comprise inquiry layers, inquiry fields, operative symbols, inquiry values and the like; applying a C# calling method, wherein layer information needs to be automatically loaded, and thus, an initialization event needs to be added when MapControl is loaded, so that the necessary inquiry conditions of the layers and the like are extracted. The method has the beneficial effects that distributed functions of the integral system are implemented; and the distributed functions are provided for users to select mainly in a pull-down menu mode. Published map data are linked by map names so as to be displayed.
Description
Technical field
The present invention relates to a kind of querying method of electronic information, refer to specifically a kind of method that realizes Geographic Information System inquiry with hypergraph.
Background technology
Use EXT control to carry out layout to whole system.The powerful part of EXT is just that it provides reusable, a layout framework flexibly, mainly uses these classes of BorderLayout, Region and ContentPanel.First construct a BorderLayout, it,, by the built-in establishment of container, is divided into four bulks by whole system interface, comprises North, West, East and Center.And each piece is equivalent to a container, can infinitely nested various layouts.In this article, each function is write in a panel and puts into container again, so basic system interface design framework has just produced.The card form panel that has partly comprised one group of stack storehouse at West, below being contracted to when un-activation, this segment set has suffered the major function of this system, comprised the control of figure layer, site polling, SQL query, user account, statistical graph, buffer zone analysis, overlay analysis, form special topic, thematic mapping, map location, editor and schemed layer object and check the large module of data set 12, giving tacit consent to what open is the control of figure layer.Center is partly the viewing area of system, the map that has comprised main body and toolbar, the function on toolbar successively: full figure demonstration, translation, amplify, dwindle, click that inquiry, line selection inquiry, frame choosing inquiry, polygon inquiry, circle choosing inquiry, amount calculate that length, amount are calculated area, removed highlighted, gauge point, mark line, index face and removing figure.The navigation controls of map control top can be roamed map by arrow up and down, magnifier provides 2-6 enlarging function doubly, and can move magnifier, being convenient to user is analyzed Various types of data especially image data, created a new TabPanel, the comment of display system simultaneously.
Summary of the invention
The present invention, for overcoming above-mentioned technical deficiency, provides following technical scheme:
A kind of method that realizes Geographic Information System inquiry with hypergraph:
First carry out ASPX design, on the page, add the DIV of input inquiry condition and the DIV of display properties result, add corresponding choice box and text box, comprise query graph layer, inquiry field, sign of operation, inquiry numerical value etc.;
C# call method, because figure layer information need be written into automatically, adds initialization event when need to be written into MapControl, and the necessary querying conditions such as figure layer are extracted.Code is as follows:
MapControl1.AttachClientEvent("oninit",?"RenderMapNames");
In the information updating of figure layer, also need to load corresponding list of fields, namely when selected figure layer changes, field also changes, this just need to add GetFieldFromLayer (' SqlQueryLayer', ' selSqlFields') method in the onchange of the layers list event.Realize the layers list initialization and with the interlock of field value, also for the realization of other functions of native system is laid a good foundation;
JavaScripts writes, and the querying condition obtaining by the page generates complete query statement, and partial code is as follows:
// generated query condition
queryLayer.whereClause?=?selectField.value?+?"?"?+?operator?+?"?"?+?txtSqlValue.value;
queryParam.queryLayers?=?new?Array(1);
queryParam.queryLayers[0]?=?queryLayer;
queryParam.expectCount?=?parseInt(doc.getElementById("txtSqlReturnCount").value);
var?queryManager?=?MapControl1.GetQueryManager();
var?resultSet?=?queryManager.QueryBySql(queryParam,?OnQueryComplete,?OnActionError)。
In the present invention, the getQueryManager () that can also call SuperMapIS.NET realizes query function, result is carried out to highlighted demonstration, and in OnQueryComplete (), Query Result attribute information is write in the DIV that Aspx page definition is good.
The invention has the beneficial effects as follows: native system can be selected inquiry by region, take each counties and districts as base unit, in each administrative region, also made different thematic maps for inquiry.This part has also realized the distributed function of whole system, is mainly to select for user with the form of drop-down menu.By name map, be linked to the map datum of issue, and then show.
Embodiment
A kind of method that realizes Geographic Information System inquiry with hypergraph: first carry out ASPX design, on the page, add the DIV of input inquiry condition and the DIV of display properties result, add corresponding choice box and text box, comprise query graph layer, inquiry field, sign of operation, inquiry numerical value etc.;
C# call method, because figure layer information need be written into automatically, adds initialization event when need to be written into MapControl, and the necessary querying conditions such as figure layer are extracted.Code is as follows:
MapControl1.AttachClientEvent("oninit",?"RenderMapNames");
In the information updating of figure layer, also need to load corresponding list of fields, namely when selected figure layer changes, field also changes, this just need to add GetFieldFromLayer (' SqlQueryLayer', ' selSqlFields') method in the onchange of the layers list event.Realize the layers list initialization and with the interlock of field value, also for the realization of other functions of native system is laid a good foundation;
JavaScripts writes, and the querying condition obtaining by the page generates complete query statement, and partial code is as follows:
// generated query condition
queryLayer.whereClause?=?selectField.value?+?"?"?+?operator?+?"?"?+?txtSqlValue.value;
queryParam.queryLayers?=?new?Array(1);
queryParam.queryLayers[0]?=?queryLayer;
queryParam.expectCount?=?parseInt(doc.getElementById("txtSqlReturnCount").value);
var?queryManager?=?MapControl1.GetQueryManager();
var?resultSet?=?queryManager.QueryBySql(queryParam,?OnQueryComplete,?OnActionError)。
Finally, the getQueryManager () that calls SuperMapIS.NET realizes query function, and result is carried out to highlighted demonstration, and in OnQueryComplete (), Query Result attribute information is write in the DIV that Aspx page definition is good.
The above; it is only preferably embodiment of the present invention; but protection scope of the present invention is not limited to this; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses; according to technical scheme of the present invention and inventive concept thereof, be equal to replacement or changed, within all should being encompassed in protection scope of the present invention.
Claims (2)
1. with hypergraph, realize a method for Geographic Information System inquiry, it is characterized in that:
First carry out ASPX design, on the page, add the DIV of input inquiry condition and the DIV of display properties result, add corresponding choice box and text box, comprise query graph layer, inquiry field, sign of operation, inquiry numerical value etc.;
C# call method, because figure layer information need be written into automatically, adds initialization event when need to be written into MapControl, and the necessary querying conditions such as figure layer are extracted, and code is as follows:
MapControl1.AttachClientEvent("oninit",?"RenderMapNames");
In the information updating of figure layer, also need to load corresponding list of fields, namely when selected figure layer changes, field also changes, this just need to add GetFieldFromLayer (' SqlQueryLayer', ' selSqlFields') method in the onchange of the layers list event; Realize the layers list initialization and with the interlock of field value, also for the realization of other functions of native system is laid a good foundation;
JavaScripts writes, and the querying condition obtaining by the page generates complete query statement, and partial code is as follows:
// generated query condition
queryLayer.whereClause?=?selectField.value?+?"?"?+?operator?+?"?"?+?txtSqlValue.value;
queryParam.queryLayers?=?new?Array(1);
queryParam.queryLayers[0]?=?queryLayer;
queryParam.expectCount?=?parseInt(doc.getElementById("txtSqlReturnCount").value);
var?queryManager?=?MapControl1.GetQueryManager();
var?resultSet?=?queryManager.QueryBySql(queryParam,?OnQueryComplete,?OnActionError)。
2. a kind of method that realizes Geographic Information System inquiry with hypergraph as claimed in claim 1, is characterized in that,
The getQueryManager () that calls SuperMapIS.NET realizes query function, and result is carried out to highlighted demonstration, and in OnQueryComplete (), Query Result attribute information is write in the DIV that Aspx page definition is good.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310527291.5A CN103699561A (en) | 2013-10-31 | 2013-10-31 | Method for implementing inquiry of geographic information system by hypergraph |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310527291.5A CN103699561A (en) | 2013-10-31 | 2013-10-31 | Method for implementing inquiry of geographic information system by hypergraph |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103699561A true CN103699561A (en) | 2014-04-02 |
Family
ID=50361089
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310527291.5A Pending CN103699561A (en) | 2013-10-31 | 2013-10-31 | Method for implementing inquiry of geographic information system by hypergraph |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103699561A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109710704A (en) * | 2018-11-30 | 2019-05-03 | 武汉烽火众智智慧之星科技有限公司 | A kind of display method for electronic map and device |
-
2013
- 2013-10-31 CN CN201310527291.5A patent/CN103699561A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109710704A (en) * | 2018-11-30 | 2019-05-03 | 武汉烽火众智智慧之星科技有限公司 | A kind of display method for electronic map and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9280574B2 (en) | Relative classification of data objects | |
US8296676B2 (en) | System for a text speller | |
RU2006133383A (en) | VISUALIZATION OF THE USER INTERFACE | |
CN103198074A (en) | Page design method and system for dynamic publishing website | |
CN105575253A (en) | Indoor map generation method and apparatus thereof | |
CN108573008A (en) | Massive point methods of exhibiting and device in a kind of electronic map | |
CN103530356A (en) | Electronic map service platform and electronic map data linkage displaying method | |
CN103577524A (en) | Business object representations and detail boxes display | |
DE202014010894U1 (en) | System for disambiguation of the object selection | |
CN103744995A (en) | Thematic map building method and mobile terminal applying same | |
CN102929494B (en) | A kind of assisted user is checked the method and apparatus of message | |
KR20150086951A (en) | Method, server and computer readable recording medium for associating schedule information of electronic diary with mind map | |
US20130232400A1 (en) | Dynamic Data Collection for Rule Based Documents | |
JP5273610B2 (en) | Map server device | |
CN103699561A (en) | Method for implementing inquiry of geographic information system by hypergraph | |
CN102346038A (en) | Method for displaying interest point search result of navigation system | |
CN103559342A (en) | Simulation method for liquid crystal display screen in relay protection device | |
CN103778170A (en) | Education geographic information system | |
CN102253825A (en) | Method for manufacturing personalized electronic map and friendly interface thereof | |
US9070225B2 (en) | Interactive display elements in a visualization component | |
CN114595295A (en) | WebGIS-based service system for managing and maintaining agricultural two-zone demarcation results | |
CN103476000A (en) | Method and system for showing telecom operation channels based on Google map | |
CN112783385A (en) | Dynamic generation method of environment-friendly monitoring map point location identification | |
CN105718132A (en) | Desktop navigation system and method | |
CN103605509A (en) | Method for editing objects |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140402 |