Research and Implementation of MAPGIS7.0 Spatial Query Language GSQL
- Author
- PanXiaoFang
- Advisor
- ZhouShunPing
- School
- China University of Geosciences
- Major
- Cartography and Geographic Information Engineering
- Classification
- P208 Mapping database and information system
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 215
- Citations
- 0
Abstract
The data in GIS can be categorized into spatial data and attribute data. The traditional GIS soft wares cannot solve the spatial data problem, so they use file or combining file and relation database to manage GIS dates. With the development of database technology, in order to use the dates of GIS to express realer world, in resent years, how to design the Object Oriented all relational database has became the study tendency of GIS spatial data model, which can fully use many fully-developed features applied in commercial database, such as memory buffer、 speedy index、 the data integrality、 the coherence ensuring、 combing control, security and recover mechanism and distributed process mechanism.However, whatever data storage mechanism you use, with the limit of the relation database itself, the query and analyzing on the relation database always are a hard work to do. Nowadays, there are some databases provide the supports to spatial datatype, but the manipulating approaches still are original and elemental. So ,as much as the present Geographic Information system, it is quite difficult to relatively systematically do the query based on spatial relation and the integrating query based on space and attribution. Therefore, many experts advise to use the spatial query language as the solution, and the spatial query language study have brought extensive attention.At the present time, the standard structural query language SQL in relation database has fully developed, and is well featured in problem oriented and being close to natural language, which have been universally acknowledged by this area. So, the spatial expanding query language based on standard SQL—GSQL, will be a tendency on managing and analyzing the spatial dates. The new generation GIS product MAPGIS7.0 is developed by WU HAN ZONDY CYBER-TECK CO., LTD. It is a network oriented super large-scale distributed geographic information system basal software platform, and it use the full relation database management and the object oriented design ideal to realize the concept uniform. The special query language is one of the important modules.The spatial query language GSQL designed and realizded in this paper is based on the OpenGIS criterion and SQL3 international standard, combined with the spatial data model of MAPGIS7.0, mainly use the compiler like lexical analysis, syntactical analysis and so on to interpret on input GSQL language scripts then a parsing tree is constructed, lately the MAPGIS7.0 client query
Table of contents
Summary 5-7
ABSTRACT 7-11
first chapter 11-19
1.1 subject background 11-13 < br /> 1.1.1 Geographic Information Systems 11
1.1.2 spatial data model 11-13
1.1.3 Spatial Query Language 13
1.2 spatial query language features 13-17
1.2.1 query types 14-15
1.2.2 query method 15-17
1.2 .3 results 17
1.3 Research 17-19
the second chapter MAPGIS7.0 spatial data model 19-25
2.1 Overview 19-20
the entity 2.2 expression 20-22
2.3 data organization 22-25
2.3.1 topological elements model 22-24
2.3.2 Simple Feature Model the the 24-25
Chapter spatial query language the GSQL 25-31
3.1 the OpenGIS specification 25
3.2 SQL3 standard 25-27
3.3 Overview of the GSQL 27
3.4 the GSQL specification 27-29
3.4.1 data type of expansion 27-28
3.4.2 space operator expansion 28-29, 3.5 MAPGIS7.0 the GSQL
specification 29-31
fourth the Chapter GSQL explain 31-52
4.1 the GSQL mechanism the 31-33 4.1.1 mechanism principle
31-32
4.1.2 interface design 32-33
4.2 technology background 33-35
4.2.1 Context-Free Grammars 33-34
4.2.2 Lex 34
4.2.3 Yacc 34-35
4.2.4 Bison 35
4.3 lexical analyzer 35-38
the 4.4 parser 38-44
4.4.1 Preamble 39-40
4.3.2 Statement 40-41
4.4.3 syntax rules 41-44
4.4.4 Conclusion 44
4.5 perform query analysis 44-45
4.6 compiler interpreter 45
4.7 query optimization 45-52
4.7.1 query optimization algorithm the 46-48
4.7.2 select query path 48-49
the 4.7.3 cache query results 49-52
the fifth chapter GSQL Query Analyzer 52-58
5.1 interface design 52-53
5.2 query analysis step the 53-54
5.3 Case Analysis 54-58
Chapter Summary and Outlook the 58-60
6.1 Full summary the 6.2 Research Prospect 58
58-60
thank the to References 60-61
61-63
Appendix 63-69
Related dissertations
- Study on Spatial Pattern of City Tourism in Gansu Province
- Study on Integration and Optimization of Tourism Spatial Structure in the Wuling Mountainous Area of Hubei Province Based on GIS
- Study on Dynamic Distribution of Urban Land Price of Yinchuan City Based on GIS
- Design and Application of the Country-level Agricultural Land Throughput Calculation System
- Wu Qi County Industrial Park Can Be Analter Native Area of Land Suitability Evaluation
- Study on the Changes and Trends of the Spatial Pattern of Chinese Foreign Trade-Based on Panel Data
- Study on the Optimization and Layout of Land Use Structure in Zhuanglang County Based on GMDP Model
- Design and Implementation of GPS-based Logistical Vehicle Monitoring System
- Design of the Monitoring and Management System in Urban Lighting Based on.NET/GPRS/GIS
- Unattended Substation Visual Monitoring System Design
- Design and Implementation of Bus Monitoring System Based on Wireless Network
- Research on Vehicle Monitoring System Based on the Open Source WebGIS
- Spatial Poverty and the Differentiation Mechanism of Yuanzhou Based on GIS and BP Neural Network
- Research of GIS Based Campus Spatial Data Mining
- Research and Application of GIS-based Spatial Data Mining Technology
- The Second Land Investigation (Rural Areas) of Database Construction of Jimo City,Shandong Province
- Study on the Real Estate Appraisal Information System Based on GIS
- Design and Implementation of GIS Chengdu Mobile Communication Base Station Signal Management System
- GIS-based Design and Implementation of Campus Guide System
- Research and Application of Manufacturing Collaborative Services Platform Based on GIS