1.7. How to upload data

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

Note

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

1.7.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.7.2. Raster data

1.7.2.1. Input data requirements

  • Supported format: GeoTIFF

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

1.7.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. Press Create resource and select Raster layer;

  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/create_raster_layer_select_en.png

Pic. 1.26. Selection of “Raster layer” resource type

../../_images/create_raster_layer_upload_en.png

Pic. 1.27. Raster file upload tab

../../_images/create_raster_layer_resourse_name_save_en.png

Pic. 1.28. Naming the raster layer and finishing the creation process

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

1.7.2.3. Uploading large rasters

UAV, 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 GiB. 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 GiB. 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 GiB of data on Premium (this limit can be raised);

There is no limitation for processing time.

1.7.3. Vector data

1.7.3.1. Input data requirements

Supported formats: ESRI Shapefile (zip-archived, no sub-folders, no sub-archives, one zip - one layer), GeoPackage, GeoJSON, GML, KML, CSV or XLSX. For CSV and XLSX only points are supported, coordinates must be in lat and lon columns.

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.7.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. Press Create resource and select Vector layer;

  3. In the opened dialog, go to Vector layer tab and select a file with vector geodata or select geometry type for an empty vector layer;

  4. Then in Resource tab type a name for the new layer in the field Display name.

  5. 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/create_vector_layer_select_en_2.png

Pic. 1.29. Selection of “Vector layer” resource type

../../_images/create_vector_layer_upload_en.png

Pic. 1.30. Vector file upload tab

../../_images/create_vector_layer_resourse_name_save_en_3.png

Pic. 1.31. Naming the vector layer and finishing the creation 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.