Setting Up and Deploying Geospatial Data Shares Using the QGIS Server Application

Similar documents
QGIS Workshop Su Zhang and Laura Gleasner 11/10/2016. QGIS Workshop

QGIS Workshop Su Zhang and Laura Gleasner 11/15/2018. QGIS Workshop

Geographic Information Systems. using QGIS

Low Cost and Free Public Health Mapping Tools

pgrouting extends the postgis/postgresql geospatial database to provide geospatial routing and other network analysis functionality.

All data is in Universal Transverse Mercator (UTM) Zone 6 projection, and WGS 84 datum.

New Mexico s RGIS Program: State Geospatial Data Clearinghouse

Accessing OGC Services To access OGC WMS and WFS open the service in the directory that you want to consume, and click on either WMS or WFS.

Server Usage & Third-Party Viewers

Introduction to GeoServer

What s New in ArcGIS Server 10

Working with demographic grids in QGIS

Getting Started with GIS using ArcGIS 10.6 What is GIS? and - Module 1 Creating a map document

Arcgis 10 Manually Move Labels

What s s Coming in ArcGIS 10 Desktop

QGIS LAB SERIES GST 102: Spatial Analysis Lab 2: Introduction to Geospatial Analysis

Semi-Automatic Classification Plugin for QGIS

Providing Interoperability Using the Open GeoServices REST Specification

Orchard Link Mapping Workshop (QGIS Training) Contact

Introduction to ArcGIS Server 10.1

Interactive Web Mapping: Overview

Multi-LCC Mississippi River Basin Gulf Hypoxia Initiative. ScienceBase and Data Basin User Guide

QGIS LAB SERIES GST 103: Data Acquisition and Management Lab 1: Reviewing the Basics of Geospatial Data

GEOMEDIA SMART CLIENT 2015 PRODUCT FEATURES AND COMPARISONS

Exercise 1: An Overview of ArcMap and ArcCatalog

OPEN SOURCE SOLUTIONS FOR SURVEYORS

NFMS web portals Focus on monitoring functions

Open source technologies and INSPIRE network services in Slovak environmental agency

Integrated Map Tool. Overview, Current Status, and Things to Come

GST 101: Introduction to Geospatial Technology Lab 2 - Spatial Data Models

QGIS LAB SERIES GST 102: Spatial Analysis Lab 3: Advanced Attributes and Spatial Queries for Data Exploration

Len Preston Chief, Labor Market Information New Jersey Department of Labor & Workforce Development

The Butterfly Effect. A proposal for distribution and management for butterfly data programs. Dave Waetjen SESYNC Butterfly Workshop May 10, 2012

GEOSPATIAL ERDAS APOLLO. Your Geospatial Business System for Managing and Serving Information

Regarding the quality attributes, the architecture of the system must be:

Lesson 2 Installing and Using Quantum GIS (QGIS)

Unpacking Instructions

QGIS LAB SERIES GST 102: Spatial Analysis Lab 7: Raster Data Analysis - Density Surfaces

Galigeo for Cognos Analytics Installation Guide - G experience

GSSHA WMS Basics Loading DEMs, Contour Options, Images, and Projection Systems

Introduction to using QGIS for Archaeology and History Workshop by the Empirical Reasoning Center

Setting up the Ihlet Social Cadastre

OS OpenData masterclass 2013 Cartographic Design workshop

EXERCISE: Publishing spatial data with GeoServer

An Example of Regional Web Resources: Massachusetts, USA Digital Data

GIS Basics for Urban Studies

LAB 1: Introduction to ArcGIS 8

EDINA Workshop: Creating a Campus Map and Displaying it in OpenLayers

CHAPTER 5 DIGITAL ELEVATION MODEL AND 3D VISUALIZATION

Geographical Information Systems Institute. Center for Geographic Analysis, Harvard University. LAB EXERCISE 1: Basic Mapping in ArcMap

Introduction to ArcGIS Server Architecture and Services. Amr Wahba

QGIS Tutorials Documentation

Managing Imagery and Raster Data using Mosaic Datasets

Introduction to QGIS: Instructor s Notes

Introduction to QGIS: Student Workbook

Development of Java Plug-In for Geoserver to Read GeoRaster Data. 1. Baskar Dhanapal CoreLogic Global Services Private Limited, Bangalore

IMAGERY FOR ARCGIS. Manage and Understand Your Imagery. Credit: Image courtesy of DigitalGlobe

GRASS. Geographic Resources Analysis Support System Current versions. Related software

Establishing a Geospatial EnvironmentChapter1:

Modern Tools for NTDs Control Programmes

QGIS LAB SERIES GST 103: Data Acquisition and Management Lab 5: Raster Data Structure

QGIS LAB SERIES GST 101: Introduction to Geospatial Technology Lab 7: Basic Geospatial Analysis Techniques

CVEN 2012 GEOMATICS LAB SPRING 2016 INTRO TO ESRI ARCGIS

ERDAS APOLLO v2013. What s New. SMARTERDECISIONS

SMARTERDECISIONS. Geospatial Portal 2013 Open Interoperable GIS/Imagery Services with ERDAS Apollo 2013 and ERDAS Imagine 2013

TerrainOnDemand ArcGIS

May 2013 Oracle Spatial and Graph User Conference

DEVELOPMENT OF WEB BASED GIS APPLICATIONS USING QGIS AND OPENGEO SUITE ONLINE TRAINING GIS. Course. Training. .com

Who are we? Randal Hale. Nathan Saylor. GIS Coordinator for Hardin Co. Owner of North River Geographic Systems. Consultant. Owner of Saylor Mapping

[ ]..,ru. GeoServer Beginner's Guide. open source^ software server. Share and edit geospatial data with this open source.

Vector Pyramids: A Multi-scale Vector Rendering and Processing Algorithm

Developing a Free and Open Source Software based Spatial Data Infrastructure. Jeroen Ticheler

Lab#1: Introduction to ArcGIS10. In this lab, you will use ArcGIS to work with statewide GIS data of Alaska. You use ArcMap to:

Extend GIS. The Reach. Of Your GIS. Chris Cappelli Nathan Bennett

European Location Framework (ELF) acting as a facilitator implementing INSPIRE

Interoperability and Standards Supports in ArcGIS

Data from HydroTerre

Building Vector Layers

source: /boris downloaded: Version 1

Designing and Using Basemaps. Jennifer Hughey

USING 2001 CENSUS DATA IN ArcMap 8.2

A Practical Guide to Using QGIS

GEO/GY461 Applied GIS: Environmental Geology of the Cheaha Mountain, AL, 7.5' Quadrangle Project

Geological mapping using open

Carmenta Server Product Description

Exercise 1-1: Using GPS track data to create a field boundary

GEOMEDIA SMART CLIENT 2016

NMCRIS Map Service Application Feature Editing

From Geoportal to Spatial Data Service Platform. Jani Kylmäaho National Land Survey of Finland Development Centre

InCLUDE Data Exchange. Julia Harrell, GISP GIS Coordinator, NC DENR

Android Studio Setup Procedure

The What, Why, Who and How of Where: Building a Portal for Geospatial Data. Alan Darnell Director, Scholars Portal

Leveraging OGC Services in ArcGIS Server. Satish Sankaran Yingqi Tang

Segmentation Guide using open source resources By Paul Russell, Ana Carolina Fiorini, and Trevor Caughlin

LAB EXERCISE #1 (25pts)

Introduction to QGIS

Training courses. Course Overview Details Audience Duration. Applying GIS

Introduction to GIS & Mapping: ArcGIS Desktop

Downloading and Repairing Data

City of La Crosse Online Mapping Website Help Document

Transcription:

Setting Up and Deploying Geospatial Data Shares Using the QGIS Server Application Donald L. Schrupp Wildlife Ecologist Colorado Division of Wildlife (retired)

Quantum GIS (QGIS) Applications QGIS is not only a desktop GIS. We also provide a spatial file browser, a server application, and web applications. QGIS Desktop: Create, edit, visualize and publish geospatial information. For Windows, Mac, Linux, BSD and Android. QGIS Browser: Browse and preview your data and metadata. Drag Drop your data from one datastore into the other. QGIS Server: Publish your QGIS projects and layers as OGC compatible WMS and WFS services. Control which layers, attributes, layouts and coordinates systems are exported. QGIS Web Client: Publish your QGIS Projects on the web with ease. Benefit from the powerful symbology, labeling and blending features to impress with your maps. QGIS on Android (in beta)

Quantum GIS (QGIS) Applications QGIS Desktop QGIS Browser QGIS Server QGIS Web Client

QGIS Server is an open source WMS 1.3, WFS 1.0.0 and WCS 1 1.1.1 implementation that, in addition, implements Advanced cartographic General features for thematic mapping. The QGIS Server is a FastCGI/CGI Tools (Common Gateway Interface) application written in C++ that works together with a web server (e.g., Apache, Lighttpd). It has Python plugin support allowing for fast and efficient development and deployment of new QGIS features. The original development of QGIS Server was Funded by the EU projects Orchestra, Sany and the city of Uster in Switzerland.

QGIS Server Set Up Background on Set Up Server: QGIS Server Server OS: Ubuntu 17.04 LTS (Linux) Server Software: Apache2 Version 2.4.25 PHP Version 7.0.22 QGIS Version 2.14.11 Client: QGIS Desktop Client OS: Ubuntu 14.04 LTS (Linux) QGIS Version 2.18

1. Installed Quantum GIS Desktop (Synaptic) 2. Installed Quantum GIS Server (Synaptic) 3. Followed QGIS as a OGC Data Server Document from qgis.org 4. Rounded up Tennessee geospatial data 5. Set up o2k17_tn_wms Workspace 6. Set up o2k17_tn_wcs Workspace 7. Built QGIS Desktop Projects for Raster and Vector 8. Added Web Services to Projects 9. Verified QGS Server Fast CGI configurations

1. Installed Quantum GIS Desktop (Synaptic) or... sudo apt-get install qgis python-qgis 2. Installed Quantum GIS Server (Synaptic) or... sudo apt-get install qgis-server 3. QGIS as a OGC Data Server - STEPS [qgis.org] 3a. Installation of a HelloWorld example plugin for testing servers. You create a directory to hold server plugins. [ details: next slide ]

QGIS as a OGC Data Server - STEPS [continued] 3a. Installation of a HelloWorld example plugin. $ sudo mkdir -p /opt/qgis-server/plugins $ cd /opt/qgis-server/plugins $ sudo wget https : //github.com/elpaso/qgis-helloserver/archive/master.zip # In case unzip was not installed before: $ sudo apt-get install unzip $ sudo unzip master.zip $ sudo mv qgis-helloserver-master HelloServer

QGIS as a OGC Data Server - STEPS [continued] 3c. Then enabled the virtual host and restart Apache: $ sudo a2ensite 001-qgis-server $ sudo service apache2 restart 3d. Test the server with the HelloWorld plugin: $ wget -q -O - http : // localhost/cgi-bin/qgis_mapserv.fcgi?service=hello HelloServer!'

QGIS as a OGC Data Server - STEPS [continued] 3e. Creating a WMS/WFS/WCS server from a QGIS project. To provide a new QGIS Server WMS, WFS or WCS, we have to create a QGIS project file with some data. Here, we use the Alaska shapefile from the QGIS sample dataset. Define the colors and styles of the layers in QGIS and the project CRS, if not already defined. NOTE: I followed the steps given to set up a QGIS Server with the Alaska data set, then set up QGIS Server instances for the OFWIM 2017 QGIS Server Tennessee Data Shares

Setting Up a QGIS Server for: OFWIM 2017 Tennessee Data Shares QGIS Server 4. Rounded up Tennessee geospatial data Sources of the Tennessee geospatial data were: USDA/NRCS Geospatial Data Gateway: USGS Geonames Web Site: https://gdg.sc.egov.usda.gov/ https://geonames.usgs.gov/ Tennessee Wildlife Resources Agency ArcGIS Online Site: https://twra.maps.arcgis.com/home/gallery.html#c=organization&o=modified

Setting Up a QGIS Server for: OFWIM 2017 Tennessee Data Shares QGIS Server 4. Rounded up Tennessee geospatial data

Setting Up a QGIS Server for: OFWIM 2017 Tennessee Data Shares QGIS Server 5. Set up o2k17_tn_wms Workspace Placed 'Vector' Coverages in a QGIS Desktop 'Project' * ( point coverage ) NRCS/GSD Chattanooga Topo Quad Boundary ( polygon coverage ) NRCS/GSD Hamilton County GNIS Features ( point coverage ) USGS/Geonames Hamilton County Populated Places ( point coverage ) USGS/Geonames Hamilton County Primary Roads ( line coverage ) NRCS/GSD Hamilton County Secondary Roads ( line coverage ) NRCS/GSD Hamilton County Streets ( line coverage ) NRCS/GSD Hamilton Vicinity Watersheds ( polygon coverage ) NRCS/GSD Hamilton County Boundary ( polygon coverage ) NRCS/GSD Hamilton County Topo Boundaries ( polygon coverage ) NRCS/GSD Tennessee Counties ( polygon coverage ) NRCS/GSD Tennessee Geology ( polygon coverage ) NRCS/GSD TWRA Lands ( polygon coverage ) TWRA/ArcGIS * Style(s) applied to coverages; 2 Projections: EPSG: 26916 / EPSG: 102736

Setting Up a QGIS Server for: OFWIM 2017 Tennessee Data Shares QGIS Server 5. Set up o2k17_tn_wms Workspace ( continued ) Placed 'Vector' Coverages in a QGIS Desktop 'Project'

Setting Up a QGIS Server for: OFWIM 2017 Tennessee Data Shares QGIS Server 5. Set up o2k17_tn_wms Workspace ( continued ) Placed 'Vector' Coverages in a QGIS Desktop 'Project'

Setting Up a QGIS Server for: OFWIM 2017 Tennessee Data Shares QGIS Server 5. Set up o2k17_tn_wms Workspace ( continued ) Placed 'Vector' Coverages in a QGIS Desktop 'Project'

6. Set up o2k17_tn_wcs Workspace Setting Up a QGIS Server for: OFWIM 2017 Tennessee Data Shares QGIS Server Placed 'Raster' Coverages in a QGIS Desktop 'Project' Hamilton County National Elevation Data 30 m resolution NRCS/GDG Hamilton County NAIP (2016) Imagery (subset) NRCS/GDG 1m resolution subset of Chattanooga Topo Area Hamilton County Digital Raster Graphic (subset) NRCS/GDG 30m resolution subset of Chattanooga Topo Area Tennessee Land Use Land Cover (USGS) Statewide coverage for Tennessee NRCS/GDG

6. Set up o2k17_tn_wcs Workspace Setting Up a QGIS Server for: OFWIM 2017 Tennessee Data Shares QGIS Server Placed 'Raster' Coverages in a QGIS Desktop 'Project'

6. Set up o2k17_tn_wcs Workspace Setting Up a QGIS Server for: OFWIM 2017 Tennessee Data Shares QGIS Server Placed 'Raster' Coverages in a QGIS Desktop 'Project'

7. Built QGIS Desktop Projects for Vector and Raster O2K17_TN_WFS.qgs O2K17_TN_WCS.qgs

8. Added Web Services to Projects Done by way of the File / Project Menu Options...

8. Added Web Services to Projects [ continued ] Four 'Screen' of Parameters to Be Entered

8. Added Web Services to Projects [ continued ] Screen 1 of 4 - of Parameters to Be Entered

8. Added Web Services to Projects [ continued ] Screen 1 of 4 - of Parameters Populated

8. Added Web Services to Projects [ continued ] Screen 2 of 4 - of Parameters to Be Entered

8. Added Web Services to Projects [ continued ] Screen 2 of 4 - of Parameters Populated

8. Added Web Services to Projects [ continued ] Screen 3 of 4 - of Parameters to Be Entered

8. Added Web Services to Projects [ continued ] Screen 3 of 4 - of Parameters Populated

8. Added Web Services to Projects [ continued ] Screen 4 of 4 - of Parameters to Be Entered

8. Added Web Services to Projects [ continued ] Screen 4 of 4 - of Parameters Populated

9. Verified QGS Server Fast CGI configuration 9a. Made 'CGI' workspaces under /usr/lib/cgi-bin For WMS/WFS./o2k17_tn_wms For WMS/WCS./o2k17_tn_wcs placed qgis_mapserv.fcgi in these... 9b. Placed 'Project' Files under /usr/lib/cgi-bin o2k17_tn_wms.qgs in./o2k17_tn_wms o2k17_tn_wcs.qgs in./o2k17_tn_wcs 9c. Placed 'Data' Files under /usr/lib/cgi-bin * Vectors in./o2k17_tn_wms Rasters in./o2k17_tn_wcs * Note: on Linux system these could be symbolic links

9. Verified QGS Server Fast CGI configurations [ continued ] In QGIS Desktop from client ( 'gulo.epcrossover.net' ) - Accessed Web Services on server ( 'zapus.epcrossover.net' ) Built Connections to Access Data Shares on 'zapus'... WMS WCS WFS Web Services Web Services Web Services

9. Verified QGS Server Fast CGI configurations [ continued ] Built Connections to Access Data Shares on 'zapus'... Examples for: WMS (Web Map Services) WCS (Web Coverage Services) WFS (Web Feature Services) o2k17_tn_wms o2k17_tn_wcs o2k17_tn_wfs

9. Verified QGS Server Fast CGI configurations [ continued ] Example for: WMS (Web Map Services) o2k17_tn_wms

9. Verified QGS Server Fast CGI configurations [ continued ] Example for: WCS (Web Map Services) o2k17_tn_wcs

9. Verified QGS Server Fast CGI configurations [ continued ] Example for: WFS (Web Map Services) o2k17_tn_wfs

9. Verified QGS Server Fast CGI configurations [ continued ] Examples Outputs for: WM(T)S Selections WCS Selections WFS Selections

9. Verified QGS Server Fast CGI configurations [ continued ] Examples Outputs for: WM(T)S Output WCS Output WFS Output

Thanks... Quantum GIS Development Community (Coding) Open Geospatial Consortium (Standards) Data: USDA/NRCS Geospatial Data Gateway USGS Geonames Web Site Tennessee Wildlife Resources Agency Organization of Fish & Wildlife Information Managers