1.6. How to upload data

Raster and vector geodata are uploaded to Web GIS by creation of Raster layer and Vector layer resources respectively.

Note

The size limit for uploaded files depends on the selected plan. For Premium - 2.0 GB, for Free - 128 Mb and Mini - 256 Mb. For rasters, this limit corresponds to uncompressed files in EPSG: 3857.

1.6.1. Quick preview

To quickly view the downloaded data - click on the Preview button on the right menu in the Additional section.

Note

For vector data, previews are available for both the layer and the style. For rasters - for style only. For TMS and WFS layers, preview is also available.

The preview function in the frontend is described here

1.6.2. Raster data

1.6.2.1. Input data requirements

  • Supported format: GeoTIFF (with 3 or 4 bands, RGB or RGBA)

  • Inputs must be geographically referenced and have correctly set CRS description as GeoTIFF metadata.

1.6.2.2. Creating raster layer

  1. Open the Resource group where you want to create a data layer (by default the main page of Web GIS has Main resource group displayed);

  2. Select Create resource ‣ Raster layer on the right side of the Web GIS admin console;

  3. In the opened dialog, go to Resource tab and type a name for the new layer in the field Display name. Then go to Raster layer tab and select a file with raster geodata;

  4. Press Create button. If Raster layer is created successfully, you’ll see its name in Child resources pane of the relevant Resource group.

If you plan to add this raster to QGIS directly from your Web GIS, turn on Upload as Cloud Optimized GeoTIFF (COG) checkbox.

Important

If you plan to display the Raster layer on a Web Map or publish it using WMS protocol, you need to create a Style for it first.

../../_images/raster_layer_en.gif

Pic. 1.22. Raster upload process

Read more about upload of raster geodata to Web GIS here.

1.6.2.3. Uploading large rasters

UAS, remote sensing data and other rasters are often huge. The file size is not very informative as the real data size might be much larger because of compression. To ensure fast rendering on Web Maps and serving, rasters with TMS and WMS used to create raster layers should be properly processed before upload.

There are three important limitations for uploading large raster files:

  1. File size - maximum file size being uploaded is 2 Gb. This limit can’t be changed on Premium, but can be changed on-premise;

  2. Raster size on the server - afther the file is extracted to the cloud, it must not be larger than 4 Gb. You can calculate the size of the extracted raster using the following formula: number of pixels * number of channels * bytes per pixel.

  3. Total data volume - you can upload up to 50 Gb of data on Premium (this limit can be raised);

There is no limitation for processing time.

1.6.3. Vector data

1.6.3.1. Input data requirements

Supported formats: ESRI Shapefile (zip-archived, no sub-folders, no sub-archives, one zip - one layer), GeoJSON, GML, KML or GeoPackage.

Use NextGIS Connect if you need to upload data in other formats.

Warning

Avoid using Unicode symbols in data field names. While such data can be uploaded, you may experience problems working with it via WFS, in NextGIS Mobile or visualization (especially if styles are using such fields). Use plain Latin for field names and set up field aliases to show Unicode names.

1.6.3.2. Creating vector layer

  1. Open Resource group where you want to create a data layer (by default from the main page of Web GIS you can access Main resource group);

  2. Select Create resource ‣ Vector layer on the right side of the Web GIS admin console;

  3. In the opened dialog, go to Resource tab and type a name for the new layer in the field Display name. Then in Vector layer tab select a file with vector geodata;

  4. Press Create button. If Vector layer is created successfully, you’ll see its name in Child resources pane of the relevant Resource group.

Important

If you plan to display Vector layer on a Web Map or publish it using WMS protocol you need to add a Style for it first.

../../_images/vector_layer_en.gif

Pic. 1.23. Vector upload process

Web GIS can process multy-layer datasets. If an archive contains several layers, then after it is uploaded, you will be asked to select which layer will be used for creating Vector layer resource.

Read more about upload of vector geodata to Web GIS here.

Note

You can also upload raster and vector geodata to Web GIS with QGIS.