Book Image

QGIS By Example

By : Daria Svidzinska
Book Image

QGIS By Example

By: Daria Svidzinska

Overview of this book

If you are a beginner or an intermediate GIS user, this book is for you. It is ideal for practitioners, data analysts, and application developers who have very little or no familiarity with geospatial data and software.
Table of Contents (12 chapters)
11
Index

Publishing the map


Now, when a new database is created, we can publish the map designed in Chapter 2, Visualizing and Styling the Data, on the Internet.

Let's look at our project first; it contains raster and vector layers. There are several composers as well. Before publishing the data and map, we need to decide which information should be published and what we want to keep hidden.

By default, all vector layers are published with all their attributes available for both WMS and WFS services. All composers available in the project will be published too.

If you need to keep some attributes of the layer (or layers) unpublished, it is necessary to adjust the properties of the corresponding layer (or layers).

Note

Later, in the WMS settings section of this chapter, you will learn how to exclude entire layers and composers from publishing.

To do this, select a layer from the QGIS layer tree, right-click to open the context menu, and select Properties. In the Layer Properties dialog, go to the Fields...