Difference between revisions of "Add Layer"

From GapWiki
Jump to: navigation, search
(File:Raster.png Coverage (Raster))
(File:Raster.png Coverage (raster))
Line 44: Line 44:
 
<b>Size</b>: max. 150 MB
 
<b>Size</b>: max. 150 MB
  
<b>Projection</b>: The only valid projection is [[Add Layer#Valid projection|<b>WGS84</b>]]
+
<b>Projection</b>: The only supported projection is [[Add Layer#Valid projection|<b>WGS84</b>]]
  
 
==[[File:polygon.png]] Shapefile==
 
==[[File:polygon.png]] Shapefile==

Revision as of 14:08, 24 November 2024

The Add button opens the Upload Data window (Fig. 1). You may upload a table, raster or shapefile. Click Choose File to browse to your file. You must then select a Category (used for classification in the layer list) and may add a Description of your dataset. Click Upload when you are finished.

File:DataUpload.JPG

Table.png Table

Make sure that your table meets the following standards:

Format: Only a semicolon-delimited file ('*.csv') is valid.

Headers: The first line of the table the headers or names of each column. These must not contain any punctuation or special characters, such as '?' or 'ü'. Column names that are reserved and may not be used are: 'ID','long','date','time'.

Required columns: three columns (Index, Latitude and Longitude) are required.

  • acceptable index column name: Index
  • acceptable latitude column names: Latitude, Lat, Y, North, Northing
  • acceptable longitude column names: Longitude, Lon, X, East, Easting

Make sure that the first line of data, i.e. the second line of your table, contains numerical values is every column and has no empty cells. Otherwise, the entire column with the blank cell will be treated as a string and cannot be used as numerical data.

Example Table (VAR1 and VAR2 are arbitrary variables)

Index Lat Lon VAR1 VAR2
1 28.4 87.6 1 2
2 27.9 87.5 2 0

Raster.png Coverage (raster)

Format: *.tif

Bands: Only single-band rasters are supported.

Size: max. 150 MB

Projection: The only supported projection is WGS84

Polygon.png Shapefile

Format: Only a compressed .zip file with all necessary files is valid (Figure 2)

Contents: The .zip file must contain a *.dbf, *.prj, *.shp, *.shx file each and can additionally contain a *.sbx and *.sbn file. The files have to be directly in the subfolder and must not be stored in a subfolder. Also no additional subfolder is allowed in the .zip file

Projection: currently the only valid projection is WGS84

Contents of zip file
Figure 2: Contents of zip file

Valid projection

Geographic Coordinate System: GCS_WGS_1984

Datum: D_WGS_1984

Prime Meridian: Greenwich

Angular Unit: Degree

EPSG:4326

For more information check WGS84