If you use data on file system (.shp, .tif, SpatiaLite…)
Main directory (choose the name)
Sub-directory 1 named “geodata”
Sub-direcory 2 named “projects“
You have to synchronize your data on the server. Not available on the demo.
If you use data on your GeoDb, it have to be accessible.
Open the QGIS project available on demo data.
You can modify alias, style, label, visibility interval…of the various layers.
For every layer you can decide which field has to be consultable from WebGis. For every field you can choose an alias.
Manage this aspect from the section Field on the Property window.
From the menù Project -> Property you can manage this aspetcs:
You can set Project title: it will be the header of the WebGis
N.B. Every projects must have a different title if you want that it be published on G3W-Suite. Remember to rename it if you have problems on upload.
Set which layer will be queryable from WebGis.
Set the Service capabilities as you prefer
Set the WMS Capabilities:
Advertised extent: initial map extension of the WebGis service
Any CRS restrictions: CRS available
Exclude composer: any print layout composer which must not be available on WebGis
Exclude layer: any layers which must not be available on WebGis
If you want active the auto-zoom function you have to check the Add geometry to feature response option.
If you want use bbox and polygon query tool, you have to set WFS Capabilities (only Published) for the queryable layers.
Access to the G3W-SUITE application through Firefox or Chrome browsers:
Choose Login and use then demo profile:
Click on Admin section and the on Backend button.
In this section you can:
* create cartographic group: you will can use them to organize your WebGis services
* publish your QGIS project
* create and manage users
If you want to use the pre-configured mapping group, access to Demo Group.
Demo Group is associated with EPSG 3857. All QGIS projects uploaded in this group must be associated with the same EPSG.
If you want to create a custom Group, go to the left menu Cartogrhaphic Group -> Add Group and fill out the dedicated form.
Name: title of the cartographic group (it will appear in the frontend)
Title: sub-title of the cartographic group (it will appear in the frontend under the title of the group)
Description: a thematic description of the group (it will appear in the frontend as a description of the group)
Language: choose the language of the interface (only english and italian available)
Logo: logo associated at the cartographic group (it will appear in the frontend associated to the group)
Link: URL linked to the logo
User editor: define the user Editor for this group. This kind of user can manage the features and contents of the group (you can choose a user from those defined as Editor 1)
User viewers: define the Viewer users that can access at the group (you can choose more users among those defined as Viewer 1 o Viewer 2).
For free acces project choose Anonymus user.
SRID: define the projection system associated with this group.
Remember: inside this group you will can publish only QGIS projects with the same SR.
Demo Data are in EPSG: 3857
Map controls: set the tools you want to make available to the user for all the WebGis services published within this group:
zoomtoextent: zoom to the initial extension
zoom: zoom in and zoom out
zoombox: zoom tool based on drawing a rectangle
query: classic info tool
querybbox: query using bbox (N.B. the queryable layers must be published as WFS services on the QGIS project)
querybypolygon: the query tool give info about the geometries of the layers that intersect the query polygon (Eg what intersects a cadastral parcel?). – N.B. the queryable layers must be published as WFS services on the QGIS project
overview: set the overview map
scaleline: presence of a scale bar
geolocation: geolocation tool (useful for tablet consultation)
streetview: Google StreetView on your map
nominatim: OSM-based address search tool
addlayers: tool to load on-fly (temporarily) additional layers on individual WebGis services (.shp, kml and geojson)
length: linear distance measurement tool
area: surface measurement tool
Base Layer: set external base maps (among those activated) that you want to make available as background in your WebGis.
Background color: define the background color.
Now click on the Save button to create your cartographic group.
The group will appear in the list of cartographic groups, also in the frontend area.
Log in to Group Demo and see the list of published project.
Click on + Project QGIS to publish a new QGIS project.
QGIS file: upload your QGIS project
Editor user: set the Editor user. This user will can manage the features and contents of the group (you can choose a user from those defined as Editor 1)
Viewers users: set the Viewer users that will can access to this group (you can choose more users among those defined as Viewer 1 o Viewer 2).
For freely accessible WebGis, choose Anonymus user.
Base layer: define which external base maps (among those activated in the group) must be active by default.
Description: a thematic description of the project (it will appear in the frontend area)
Thumbnail: logo associated with the project (it will appear in the frontend area, in the project list view)
Now click on Save button to publish your QGIS project.
The project will appear in the project list both in the Administration panel and in the frontend area.
Access to the WebGis service to consult the published project and the activated features.
From the G3W-ADMIN Administration panel, access to the Map Group in which you published the QGIS project on which you want to activate a search tool.
Click on the Layers button to access at the list of layers of the project.
The vector layers are associated with a gear icon (Widgets list) present in the first column on the left.
Choose the layer on which you want to activate a search tool and click on the icon.
The New widgets button will appear, allowing you to create a new search tool by choosing “Search” in the menu Type.
Now you have to fill the form as follows.
NB: if you have created a search tools for the same layer in an other project, the search tool will automatically associated with that layer in the new project.
To activate this search tool in the new project, checkbox the Linked option.
Name: identifying name of the search tool
Search tool title: title that will appear in the menu Search in the WebGis
In this session we can set the fields on which the search must act.
You can create a search based on multiple fields by adding others with the green Add button
Field: field on which to apply the search
Alias: the alias to display in the search form
Description: text to display in a descriptive popup
Comparison operator: logical operator to be used in the search SQL
Now you can click on the Ok button to activate the search tool.
The search widget will appear in the list of widgets connected to the layer with Linked option checked.
In the WebGis service, the search form will be visible in the left column.