1.6. How to upload data¶
Raster and vector geodata are uploaded to Web GIS by creation of resources Raster layer and Vector layer.
1.6.1. Raster data¶
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);
Select admin console;
on the right side of Web GISIn the opened dialog fill in the field Display name in Resource tab and select a file with raster geodata in Raster layer tab;
Press Create button. If Raster layer is created successfully you’ll see its name in Child resources pane of the relevant Resource group.
Warning
Supported are GeoTIFF files with 3 or 4 bands (RGB or RGBA). Inputs must be geographically referenced and have correctly set CRS description as GeoTIFF metadata.
Read more about upload of raster geodata to Web GIS here.
If you plan to display Raster layer on Web map or publish it using WMS protocol you need to create Style for it.
1.6.2. Vector data¶
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);
Select admin console;
on the right side of Web GISIn the opened dialog fill in the field Display name in Resource tab, then select a file with vector geodata and specify its encoding in Vector layer tab;
Press Create button. If Vector layer is created successfully you’ll see its name in Child resources pane of the relevant Resource group.
Warning
Only upload of ESRI Shape files (zip-archived, UTF-8 or Windows-1251, no sub-folders) and GeoJSON files (UTF-8) is supported. Uploaded files can’t inculde mixed or invalid geometries, dates can’t have NULL values, attributes’ columns can’t have the following names: id(ID), geom(GEOM). ESRI Shapefiles can’t include multigeometries.
Read more about upload of vector geodata to Web GIS here.
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.
Note
You can also upload raster and vector geodata to Web GIS with desktop app NextGIS QGIS.