Upload
others
View
1
Download
0
Embed Size (px)
Citation preview
Purposes
• To help LSD probationers to prepare for the LSD APC Part I Written Assessment to be held in June 2017.
• To help LSD probationers to recap and/or learn some important terminology, concepts, and practical knowledge of GIS.
• Client-Server Architecture
• Peer-to-Peer Architecture
Types of System Architecture
Reference: “Efficient: Private, Decentralized Networks”, MetaEfficient, http://www.metaefficient.com/privacy/introduction-decentralized-networks.html
• 2 Tiers Web Architecture
• 3 Tiers Web Architecture
Web Architecture
Presentation Tier
(Client Tier)
Data Tier
(Database Tier)
Middle Tier
(Logic/Business/Application Tier)
Database Server
& StorageGIS ServerWeb ServerClient Computer/Device
• Server- Tower server- Rack server- Blade server
• Virtual Machine (VM)- Emulation of a computer system
• Storage- Direct Attached Storage- Network Attached Storage (NAS)- Storage Area Network (SAN)
Types of Hardware
• Network equipment
- Hub
- Switch
- Router
• Client PC/Workstation
- CPU (e.g. Intel Core i7)
- RAM (OS dependent)
- Graphics Card
• Printer (resolution, speed, color)
Types of Hardware
• a type of computing that relies on sharing computing resources running in a distributed network
• Characteristics:- Resource pooling- On-demand self-service- Elasticity- Measured service
• Deployment Models:- Public cloud- Private cloud- Hybrid cloud
• Service Models:- Infrastructure as a Service (IaaS)- Platform as a Service (PaaS)- Software as a Service (SaaS)
Cloud Computing
Private
Cloud
Private
Cloud
Hybrid Cloud
Public
Cloud
Public
Cloud
Public
Cloud
• GIS application software
• Web server software
• Database management software
• …
COTS Software
Database Server
& StorageGIS ServerWeb ServerClient Computer/Device
• Georeferencing
• Geocoding
• Buffer
• Proximity Analysis
• Overlay Analysis
• Trend Surface Analysis
• Hillshading
• Shortest Path Analysis
• …
Common GIS Application Software Functionality
Product Vendor % (as of 2/2017)IIS Microsoft 43.16% Apache Apache 20.89% nginx NGINX, Inc. 19.42% GWS Google 1.03%
Web Server Software
Reference: “Web server”, Wikipedia, http://en.wikipedia.org/wiki/Web_server
• File System
• Relational Database Management System (RDBMS)e.g. Oracle Database, IBM DB2, Microsoft Access, Microsoft SQL Server
• Object Oriented Database Management System (OODBMS)e.g. Jasmine, ObjectStore
• XML Database Management Systeme.g. Tamino, DOM-safe
Database Management System
Custom Developed Software /ProgramsServer-side Technology
• ASP (*.asp)
• ASP.NET (*.aspx)
• ColdFusion Markup Language (*.cfm)
• Java via JavaServer Pages (*.jsp)
• JavaScript using Server-side JavaScript (*.ssjs, *.js) (example: Node.js)
• Perl CGI (*.cgi, *.ipl, *.pl)
• PHP (*.php) - Open Source Scripting
• Python, e.g. via Django (*.py)
• Ruby, e.g. Ruby on Rails (*.rb, *.rbw)
Custom Developed Software /ProgramsClient-side Technology
• JavaScript (essentially the client-side scripting languages.)
• Ajax (Used for implementing JavaScript and XML without effecting the web-page itself)
• jQuery (used as a JavaScript library in which one can easily use commonly used scripts without specifications)
• ActionScript (used to create animated interactive web applications for Adobe Flash Player using Adobe Flash Pro)
• FLEX
• Silverlight
Reference: “Most Popular Coding Languages”, CodeEva, http://blog.codeeval.com/codeevalblog/#.WQr97LKF5aQ
Custom Developed Software /Programs
• Mapping Application Program Interface (API)
• Mapping APIs allow developers to embed maps into webpages using programming interfaces.
• Selection of mapping APIs for building map applications is often restricted by the application platform and programming language used.
- JavaScript API, Android API, iOS API, etc.
• Open-source mapping APIs library: Leaflet, Modest Maps, Polymaps, etc.
Mapping APIs
GIS Data Capture
Reference:
“How is a Land Survey Done?” S. Karimi, http://www.dexknows.com/local/home_improvement/guides_and_videos/how-land-survey-done-7153
“FARO Focus 3D”, http://www.faro.com/products/3d-surveying/laser-scanner-faro-focus-3d/case-studies/2014/10/22/vietnam-laser-scanning-
encounters-the-ancient-emperors!
“Hybrid Mobile Laser Mapping System”, RIEGL, http://www.faro.com/products/3d-surveying/laser-scanner-faro-focus-3d/case-
studies/2014/10/22/vietnam-laser-scanning-encounters-the-ancient-emperors!
“Construction Positioning”, Leica Geosystems, http://www.leica-geosystems.com/en/Machine-Control_4677.htm
“UAV / Drone Training Course”, Canadian Unmanned Inc., http://canadianunmanned.com
“Landsat 8 Image (Data from USGS)”, Survey and Mapping Office, http://www.landsd.gov.hk/mapping/en/hq/lic_pass.htm
“Aerial photography”, Survey and Mapping Office, http://www.landsd.gov.hk/mapping/en/hq/lic_pass.htm
“TIMMS Indoor Mapping”, Trimble, https://www.applanix.com/products/timms-indoor-mapping.htm
Reference: “What is GIS?”, Indiana Geographic Information Office, http://www.in.gov/gis/gis101.htm
GIS Data Modeling
Conceptual Design
Logical Design Physical Design
• Vector
- Point, Line, Polygon
- e.g. building, tree, boulder, grave, …
• Raster
- Matrix of Pixels
• Triangulated Irregular Network (TIN)
- Delaunay Triangulation
• Digital Terrain Model (DTM)
- contour, spot height, …
• Network
- e.g. river/stream, road, pedestrian, railway, …
GIS Data Type
• Table, Record (Tuple), Attribute, Primary Key
• Example:
Data Model Design
TNum LName CID TStamp TCost
2 Chan 1 13:20 100
5 Wong 2 11:40 0
24 Yeung 4 9:30 80
-3 Chan 7 15:30 50
4 Leung 8 15:30 90
7 Ng Null 18:02 100
- First Normal Form (1NF)
- Second Normal Form (2NF)
- Third Normal Form (3NF)
- …
• Design principle “one fact in one place”
• Make use of normalisation to store data without
unnecessary data redundancy and avoid update anomalies
• Normalisation is built around the concept of normal
forms
Data Model Design
• Normalisation is not the final solution to database design
• Performance of the database also needs to be considered
• In practice, denormalisation may be needed for improving the
database performance
PerformanceData
Redundancy
Denormalisation
• a standard query language for relational database management system
• basic structure of SQL consists of 3 clauses:
Select [attribute field]
from [relational table]
where [condition]
Structured Query Language (SQL)
Database ServerGIS Server
SQL
• Proprietary formats
e.g. ECW, FGDB, Geomedia, …
• Open formats
e.g. GML, GeoJSON, …
Geography Markup Language (GML)
- XML-based file format
- defined by the Open Geospatial Consortium
- GeoRSS profile is a type of GML profile
- One of the topographic map formats supported by LandsD in HK
Data Format
• KML- is an XML-based file format- focuses on geographic visualization- uses geographic coordinates: longitude, latitude and altitudeas its coordinate reference system
• CityGML- is an XML-based format for storage and exchange of virtual 3D city models
- is an application schema for the Geography Markup Language (GML)- supports different levels of detail (LOD)
• OSGB- mesh model format- the native format of the open source OpenSceneGraph library
• 3DS, 3D MAX, VRML, X3D, …
• IFC- Industry Foundation Classes- is a open file format for Building Information Modelling (BIM) Data- developed by buildingSMART
3D Spatial Data Model Format
• Common topology errors
- lines undershoot/overshoot
- sliver polygons
- duplicate arcs
- …
• Topology rules
- find dangle node
- polygon must not overlap
- line must not overlap
- …
• Data model design
Data Quality
• It is information about the characteristics of geospatial data, such as spatial reference and extent.
Metadata
• Network communications provide the infrastructure to connect GIS operations and support data sharing.
• Types of Network
- LAN (Local Area Network)
- WAN (Wide Area Network)
- Internet
Network
• Protocol:- File Transfer Protocol (FTP)- Hypertext Transfer Protocol (HTTP)- Remote Desktop Protocol (RDP)- Independent Computing Architecture (ICA)
• Internet Protocol Address (IP Address): - IPv4 e.g. 192.125.0.209- IPv6 e.g.2001:0db8:85a3:08d3:1319:8a2e:0370:7344
• Network Port Number:- 20 & 21 for FTP- 80 for HTTP
Network Communication
• management aspect of GIS based on well-designed implementation plan and business rules to meet organization’s objectives and operational needs.
• implementation plan and business rules are often defined in accordance with best practices, standards, and well known business models.
Procedure
• Open Geospatial Consortium (OGC)
- GML
- KML
- WFS
- WMS
- CityGML
• World Wide Web Consortium (W3C)
- HTML
- CSS
- HTTP
- XML
- XQuery
GIS and IT Standards
People
• People is the most active component dealing with the design, development, operation, management, and use of GIS.
e.g. GIS Specialists
GIS Managers
GIS Operators
GIS End Users
People
“No GIS can be a success without the right people involved. A real world GIS is actually a complex system of interrelated parts, and at
the center of this system is a smart person who understand the whole.”
Roger Tomlinson
Hardware
Software
Data
Network
Procedure
People