10.6. Upload data to the cloud storage
NextGIS Connect module allows you to share geodata between QGIS and Web GIS in both directions.
With NextGIS Connect you can upload to Web GIS:
Vector data
Raster data
Basemaps
Layer groups
Entire QGIS project
Connect plugin also allows to publish vector data using standard protocols WFS, WMS and OGC.

Pic. 10.25. Upload menu in the NG Connect panel
Upload selected;
Upload all - All layers for which the import option is available will be added to Web GIS, as well as all groups, retaining the hierarchy from QGIS Layers Panel. Also a Web Map will be created and all imported layers will be added to it retaining hierarchy and visibility of QGIS Layers Panel. While importing a project you need to specify the name of the new resource group which will be created in Web GIS. This group will hold all resources imported along with the project. When the process is complete, the Web Map will be opened automatically if corresponding option is selected in plugin settings.
Update layer style - Web GIS will update the style of the layer to match the style of the selected layer in QGIS.
Add new style to layer - Web GIS will add to the layer a new style, similar to the selected layer in QGIS.
Imported resources will be added to the group selected in NextGIS Connect panel.
If other type of resource but a group is selected, import will be performed to the closest parent group to selected resource.
If no resource is selected, import will be performed to the Main resource group (the root directory).
Attachments made in QGIS are also supported. See how it works in our video:
Watch on youtube.
Alternatively you can upload data to Web GIS from the Layers panel. In the context menu select it as one of the ways to export a layer, a group of layers or the entire project.

Pic. 10.26. Uploading data to Web GIS via layer context menu
10.6.1. Resource types
The following types of resources are available for data exchange and operation:
- Vector layer (NGW Vector Layer), which can be:
- Point vector layer (NGW Vector Layer);
- Multipoint vector layer (NGW Vector Layer);
- Line vector layer (NGW Vector Layer);
- Multiline vector layer (NGW Vector Layer);
- Polygon vector layer (NGW Vector Layer);
- Multipolygon vector layer (NGW Vector Layer); If a layer has multiple styles, they will all be uploaded. Their names will be kept. If the style name is “default”, the layer’s name will be used instead.
|tms_service_symbol| - TMS Layer
- Raster layer - raster layer with a default style will be created in Web GIS. Style can be added directly to Web Map.
10.6.2. Upload entire QGIS project
Create a QGIS project with raster and vector layers. Tailor their styles, group them, set their hierarchy and visibility settings. Set the map extent;
In NextGIS Connect panel select Resource group to which you want to upload the project;
Press Add to Web GIS button on NextGIS Connect control panel and select Upload all;
In the opened dialog window enter the name of the new Resource group to which the project will be imported;

Pic. 10.28. Entering the name for the project
If the project is uploaded successfully you’ll see in a selected Resource group a newly created group with:
all Raster and Vector layers to which Add to Web GIS operation is applicable, and their Styles;
automatically created Web map with a set extent, to which all the imported layers are added with groups, hierarchy and visibility settings similar to QGIS.
Tip
To view the newly created Web map press Open map in browser button on NextGIS Connect control panel or select Open map in browser in the context menu.

Pic. 10.29. Opening the newly created Web Map via context menu of the imported project
If you select a resource group containing layers with multiple styles, all the styles will be added. The style used as current will be the one with the same name as the layer or the first in alphabetical order. No dialog will be displayed.
Watch on youtube.
10.6.3. Upload vector data
Important
You can avoid data format limitations when uploading vector data to Web GIS through NextGIS Connect by switching on options “Rename forbidden fields” and “Fix incorrect geometries” in Settings dialog.
In QGIS create from scratch or upload from ESRI Shape, GeoJSON or CSV files vector layers. Tailor their styles;
In NextGIS Connect panel select Resource group to which you want to upload your data (or create a new one using Create resource group button);
In QGIS Layers panel select the vector layer which you want to upload to Web GIS;
Press Add to Web GIS button on NextGIS Connect control panel and click Upload selected or choose NextGIS Connect –> Upload selected in layer context menu;
If data is uploaded successfully you’ll see in the relevant Resource group a new Vector layer with QGIS style tailored by you.
If a layer has multiple styles, they will all be uploaded. Their names will be kept. If the style name is “default”, the layer’s name will be used instead.
See how to work with multi-style layers in our video:
Watch on youtube.
Vector layers added from Web GIS can be edited in QGIS right away.
10.6.4. Upload raster data
Add raster layers to QGIS from GeoTIFF file;
Note
A raster layer in a different format, e.g. PostGIS, can also be uploaded to Web GIS via Connect. It will be transformed to EPSG:3857 GeoTIFF during uploading.
In NextGIS Connect panel select Resource group to which you want to upload your data;
In QGIS Layers panel select a raster layer which you want to upload to Web GIS;
Press Add to Web GIS button on NextGIS Connect control panel and click Upload selected or choose NextGIS Connect –> Upload selected in layer context menu;
If data is uploaded successfully you’ll see in the relevant Resource group a new Raster layer with default Raster style.
See how to set transparancy for a raster layer, upload it and create a Web Map from the layer in our video:
Watch on youtube.
10.6.5. Upload basemap
Add basemaps to QGIS via TMS;
In NextGIS Connect panel select Resource group to which you want to add your basemap;
In QGIS Layers panel select a basemap which you want to upload to Web GIS;
Press Add to Web GIS button on NextGIS Connect control panel and click Upload selected or choose NextGIS Connect –> Upload selected in layer context menu;
If a basemap is uploaded successfully you’ll see it the relevant Resource group.