Book Image

Mastering OpenLayers 3

By : Gábor Farkas
Book Image

Mastering OpenLayers 3

By: Gábor Farkas

Overview of this book

OpenLayers 3 allows you to create stunning web mapping and WebGIS applications. It uses modern, cutting edge browser technologies. It is written with Closure Library, enabling you to build browser-independent applications without painful debugging ceremonies, which even have some limited fallback options for older browsers. With this guide, you will be introduced to the world of advanced web mapping and WebGIS. First, you will be introduced to the advanced features and functionalities available in OpenLayers 3. Next, you will be taken through the key points of creating custom applications with OpenLayers 3. You will then learn how to create the web mapping application of yours (or your company's) dream with this open source, expense-free, yet very powerful library. We’ll also show you how to make amazing looking thematic maps and create great effects with canvas manipulation. By the end of this book, you will have a strong command of web mapping and will be well on your way to creating amazing applications using OpenLayers 3.
Table of Contents (17 chapters)
Mastering OpenLayers 3
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Exporting a QGIS project


When we create custom web maps, we cannot always rely on already developed OWS services. Sometimes, we need to publish our own data regardless of whether it is plotted directly from some measurements or processed from existent data. If we have to process our data before publishing it, we usually do it in a desktop GIS environment. However, one of these environments, called QGIS, is not only capable of advanced geoprocessing, but with a little help, we can export our results directly in the form of a web map using OpenLayers 3.

If you are a GIS person, you might be familiar with QGIS. If this is the case, just install the qgis2web plugin, load the project provided with the code (ch09_qgis.qgs), and skip to the part where we use the plugin to export the layers. If you are not familiar with QGIS, don't worry. Keep reading, and you will be up and running in no time.

Quantum GIS is an open source desktop GIS application. It started slowly, but with enough time and effort...