Getting started

Loading your first vector dataset

Add shapefiles, GeoJSON, GeoPackage and CSV files to Orbis by dragging them onto the map or with Add data from files, and check that they loaded correctly.

Beginner3 min read

You will learn

  • Open vector files by drag and drop or from the Layer menu.
  • Load a CSV file with coordinate columns as points.
  • Check the layer's feature count and CRS after loading.

Prerequisites

Data for this tutorial

Sample villages (synthetic) Download villages.zip

Format
ESRI Shapefile (ZIP: .shp, .shx, .dbf, .prj, .cpg)
Geometry
Point
CRS
EPSG:4326 (WGS 84 longitude, latitude)
Content
25 villages in 5 districts of 2 states
Fields used in the tutorials
FieldTypeDescription
village_idtextIdentifier V001 to V025.
villagetextVillage name. Common names repeat (Rampur, Shivpur, Madhopur), as they do in real gazetteers.
districttextDistrict: Rampur, Varanasi, Jaunpur, Patna or Gaya.
statetextState: Uttar Pradesh or Bihar.
populationintegerResidents. One village (Amarpur) has no recorded population (NULL).
householdsintegerHouseholds.
has_schooltextyes or no.

Survey points (CSV, synthetic) Download survey_points.csv

Format
CSV with latitude and longitude columns
Geometry
Point (from columns)
CRS
EPSG:4326 (WGS 84 latitude, longitude)
Content
320 rows
In Orbis
Browser panel ▸ Tutorial sample data (synthetic) ▸ Survey points, or Load complete tutorial pack.
Fields used in the tutorials
FieldTypeDescription
point_idtextSP001 to SP320.
latituderealDecimal degrees.
longituderealDecimal degrees.
observed_classtextLand-cover class seen in the field.
soil_phrealTopsoil pH (empty on water).

Licence: CC0 1.0. All tutorial data is synthetic and generated by Orbis. About the datasets

The task

You have vector data in files: points, lines or polygons with attributes. You want to see them on the map in Orbis. This tutorial loads a zipped shapefile and a CSV file of survey points with latitude and longitude columns.

Orbis reads ESRI Shapefile (a .zip or the .shp, .shx, .dbf, .prj and .cpg files together), GeoJSON, TopoJSON, GeoPackage, KML and KMZ, GPX, GML, CSV and TSV, WKT text and Parquet or GeoParquet. Files are read in your browser and are not uploaded.

Steps

A shapefile

  1. Download villages.zip (above). Drag it from your file manager onto the Orbis map. A dashed frame says Drop files to add them as layers; release the mouse button.
  1. The villages layer appears in the Layers panel and the map zooms to its 25 points. If you prefer menus, use Layer ▸ Add data from files… (Ctrl+O) and choose the ZIP.

    The Add data dialog listing the supported formats and their size limits
    Layer ▸ Add data from files opens this dialog; you can also drop files on it.

A CSV file with coordinates

  1. Download survey_points.csv and drop it on the map. Because a CSV file has no geometry of its own, Orbis asks how to read it.
  1. In the Delimited text dialog, set Geometry to Point coordinates (X / Y fields), X field (longitude / easting) to longitude, Y field (latitude / northing) to latitude and Coordinate reference system to EPSG:4326 (WGS 84). Orbis suggests these columns when their names look like coordinates, and shows a preview of the first rows. Confirm.
  1. A point layer of 320 survey points is added.

Check what you loaded

  1. Hover over a layer name in the Layers panel: the tooltip shows the format, the CRS and the number of features. A warning triangle next to a layer means its CRS is unknown and the layer cannot be drawn until you assign one.

Expected result

The Layers panel lists villages (25 points, EPSG:4326) and survey_points (320 points, EPSG:4326), both drawn on the map.

Common mistakes

  • X and Y swapped. Longitude is X and latitude is Y. If your points land in the ocean or near the poles, load the CSV again with the fields swapped.
  • A .shp file on its own. The attributes are in the .dbf file and the CRS in the .prj file. Load them together or as a ZIP.
  • Projected coordinates in a CSV. If the X and Y columns hold metres (for example UTM), choose that CRS in the CSV dialog instead of EPSG:4326.

Troubleshooting

  • "File is above the safety limit". Orbis protects the browser from running out of memory. Files up to three times the limit load after a confirmation; the limits can be changed in Project ▸ Settings….
  • The layer has a warning triangle. The file has no CRS information. See Understanding coordinate reference systems and assign the right CRS with Layer ▸ Assign layer CRS….
  • Text looks garbled. Shapefiles store the text encoding in the .cpg file. Include it in the ZIP.