Campus WebGIS development and practice (part of this paper)

Source: Internet
Author: User
Tags microsoft iis

Statement: reprinted the famous source. Thank you.

CampusWebGISDevelopment and Practice

[ abstract ] : Network Geographic Information System ( WebGIS ) is currently a hot topic in GIS . This article takes "campus pass" as an example , this article discusses the application of WebGIS Technology in campus basic information, Department distribution, personnel management, and course information, provides users with space data browsing, query, and other functions. This study is based on the establishment of the map server and the Web server, it focuses on the establishment of the WebGIS database on campus, including data collection, classification, encoding, and input, finally build the campus WebGIS --" campus pass ", and based on the development process and the development direction of WebGIS , this section analyzes the application prospects of WebGIS on campus.
[ keywords ] : WebGIS campus pass Supermap is map of the database

Directory
Introduction
1 WebGIS Overview
1.1 Definition of WebGIS
1.2 characteristics of WebGIS
1.3 platform software for WebGIS
1.4 Main construction methods of WebGIS
2. Design Concept
2.1 System Function Analysis
2.2 Content Structure System
2.3 research methods and technical routes
2.4 technical route Flowchart
3. Map Data
3.1 Campus Data Collection
3.2 Spatial Information Database Design
4. Database Design
5. Several Key Technologies in system function implementation
5.1 database query implementation
5.2 Implementation of the target positioning function
5.3 association between spatial data and attribute data
6 "campus pass" system operation guide
6.1 Map window operations
6.2 operations on the System Main Window
7. Summary of campus WebGIS development
7.1 academic significance and application prospects
7.2 features or innovations
References
Figure: implementation of some functions
Appendix: how to install the "campus pass" System

2 Design Concept
2.1 System Function Analysis
" Campus pass"Combine the graphics and attributes on campus to solve actual problems related to campus space information, such as information query, Information Publishing, space planning, and information management in a visual environment, this makes it easy for teachers, students, and parents to query and retrieve the required information, and facilitates visual management, analysis, and decision-making on campus by leaders at all levels.
 " Campus pass"The main functions are as follows:
(1) Query various graphic data. It provides users with space information query on campus, mainly for Information Query of buildings, offices and departments.
(2) Query various attribute data. Search and query required property information directly in the database, such as instructor information, student information, and course information. (3) Display and output of various graphic data: Map Display, download, and printing.
(4) View drawings. View the drawings of each building floor.
(5) Problem feedback. Collect User usage"Campus pass"Comments or suggestions during the process.
6) Map interface. A short sectionCodeIt can provide location locating services for each department. You can use a piece of code provided by us on the website of each department to connect to our server in the form of a hyper-connection, and locate, query, and display information about the Department through this hyper-connection. (7) Backend database management. This function is only available to administrator users. You can input, update, and delete data through simple operations in the background.
2.3 Research methods and technical routes
ThroughWebGISComparison between the platform software and the main constructor methods, and based on actual situations such as programming capability and development time, the author choosesSupermap is 2003AsWebGIS Server,Microsoft IISAsWebService platform,Microsoft SQL Server 2000As a database for spatial and attribute information,Server APIIn the constructorASPLanguage, combinedJavascript,XMLAnd other languages for system development.

5 Several Key Technologies in system function implementation
5.1 Database Query implementation
In database query, BecauseASPThe language is executed on the server, whileJavascriptThe language is executed on the client, and the two are completely different in the execution mode, so the two cannot implement interaction. Used in Space Information and Attribute Information QueryASPLanguage Query, while the fuzzy query function in the map interface is usedXMLInteractive query. InMs SQL Server 2000Introduced supportXMLFeatures.Ms SQL ServerProvides four query types:(1)AllowURLQuery(2)Allowed template Query(3)AllowXPath (4)AllowPost. I usedURLQuery type. The statement format is as follows: http: // iisserver/data? SQL = select * from info where searchkey like '% 25 "+ mystrsearchtext +" % 25' for XML Auto & root = root " where" iisserver "is IIS service address, " data " for the SQL server SPAN lang = "En-us"> IIS virtual directory, " SQL = " is the query statement. In this statement, searchkey Field in the info table is similar to mystrsearchtext . (This variable is defined by the author, value obtained from the upper form. with this statement, generate the query result into the XML document, then, use the custom getnamevalue (strname) the function returns the node name XML In the text value of the en-us "> strname node. You can query databases without using the Asp language.
5.2Implementation of the Target Locating Function
In the system, there is only one positioning function, that is Mapseek (Strlayer, Strid, strmode, objstyle, dscale) Function. In this function, Strlayer Is the target layer, Strid The SMID , Bjstyle To highlight the style of the object, Dscale Is the positioning Scale ( 0 The original scale remains unchanged. 0 ). The disadvantage of this function is that it can only be located in the specified window. However, because the space information in the system body is queried only, after the query results are listed, locate them. Mapseek You cannot directly determine whether the specified window or map is replaced, so you cannot directly implement the positioning function. Position (MAP, layer, SMID, mapscale) Function, where Map Is the Map Name, Layer Is the layer name, SMID The SMID , Mapscale To locate the scale, this function first determines whether the specified window and map are replaced. If the specified window is found and the map is not replaced, it is directly used Mapseek The function locates the target. If a new window is not opened or the map has been changed, Xznu.htm? Map = "+ MAP +" & layer = "+ layer +" & SMID = "+ SMID +" & mapscale = "+ mapscale "This hyper-connection is used to open a new window to locate the problem. Map, layer, SMID, mapscale These parameters are passed to the new window page. Xznu.htm When a new window is opened and a map is displayed, you can determine whether a parameter is passed.Mapseek The function locates the target. If no target is located, the map is displayed. In fact, the map interface subsystem in the system is also called Position Function to locate the target.
5.3Association between spatial data and attribute data
Since the spatial data and attribute data are separated, we need to associate them in the end so that the spatial data can obtain the attribute information. How can this function be implemented? ExploitationMs SQL ServerThe view function in.InfoTableSMIDA field is a field specially set to associate spatial data with attribute data. Create a view andSQLEnter the following statement in the pane: Select DBO. Build. *, dbo.info. popname as name From DBO. Build inner join Dbo.info on DBO. Build. SMID = dbo.info. SMID Where (dbo.info. type = 0) Save the viewMap0view.SmregisterTable.SmtablenameInBuildChange the valueMap0viewIn this way, the two tables are joined and the spatial data obtains the attribute information. In the same wayPxSpatial Information table andInfoJoin the attribute information table. The statement is as follows: Select DBO. PX. *, dbo.info. popname as name From dbo.info inner join DBO. PX on dbo.info. SMID = DBO. PX. SMID Where (dbo.info. mapid = X) SaveMapxview. (Note: The aboveXThe value is01To21)

7.2Characteristics or innovations
(1)SimpleWebOperations to facilitate the query and use of non-professional personnel information;
(2)ProfessionalWebGIS ServerThe database is separated from the user interface, which is highly portable and reduces the secondary development cost.
(3)SetWebTechnology andGISTechnologies are also applied to campus construction management to effectively improve the management level and efficiency;
(4)Open Map InterfaceProgramTo provide a map business card service that is very vivid to all departments;
(5)As part of campus informatization construction, "campus communication-campus informatization quick channel" effectively promotes the progress of digital campus construction.

PDF: http://files.cnblogs.com/Tangf/Campus_WebGIS.rar


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.