This page lists the data formats RustGIS reads and writes, how to add each one, and the main
limits. Data covers adding data, large files and rasters in more detail; Maps and
Basemaps covers web tile layers.
Most formats open in the desktop app and in the web app alike. Those
that need C libraries (SQLite for GeoPackage, GDAL, DuckDB) or files on disk are desktop-only, as
the tables say.
Vector and tabular files
| Format |
Extensions or source |
How to add it |
Notes |
| GeoJSON |
.geojson, .json |
Map › Add Data, or drop the file |
Features with typed attributes; a GeometryCollection keeps its first member. |
| CSV |
.csv, .txt |
Add Data |
Longitude/latitude columns become points; a CSV without them opens as a standalone table. |
| Shapefile |
.shp with .dbf (and .shx), or zipped (.zip) |
Add Data, drop the file, or upload the zip in the web app |
A zip may hold several Shapefiles, in folders, and other vector files (GeoJSON, CSV, GeoParquet, FlatGeobuf); each becomes a layer, at most 32 for the whole archive (Shapefiles first, so other files are left out when Shapefiles fill it). .txt files and macOS __MACOSX entries are passed over, and a member that can't be read is skipped and named in a notice. Converted to longitude/latitude from the coordinate system in its .prj (EPSG, Esri or OGC WKT; Web Mercator, UTM, State Plane and other common projections); without a .prj it must be in longitude/latitude. |
| GeoPackage |
.gpkg |
Add Data (desktop) |
Every feature table becomes a layer, up to 32 at once (the result counts the rest in skippedCount and names up to 100 of them in skipped); "layer" picks one, and info.fileLayers lists them all. Read in place by its R-tree; any EPSG system is reprojected. |
| GeoParquet |
.parquet, .geoparquet |
Add Data, or upload in the web app |
WKB geometry, with the CRS from the file's geo metadata. Row groups are pruned by the bbox covering. zstd-compressed files open on the desktop only; Brotli isn't read. |
| FlatGeobuf |
.fgb |
Add Data, or upload |
Read in place by its packed R-tree. |
| Standalone tables |
CSV, or any layer without geometry |
Add Data |
Listed under the map in Contents; join or relate them to layers. |
Files with more than 100,000 features (GeoPackage, GeoParquet, FlatGeobuf) are read in place, a view
at a time, rather than loaded whole: see Large files. They draw, label,
identify and run through tools like any layer; Load All Features loads one to edit it.
With GDAL installed (its ogr2ogr and ogrinfo on the PATH, GDAL 3.7 or
later), the desktop app also reads the vector formats below. Each layer is converted once into a
cached, indexed FlatGeobuf, so large ones stream too: see Formats through
GDAL.
| Format |
Extensions or source |
Notes |
| KML / KMZ |
.kml, .kmz |
A layer that mixes points, lines and polygons becomes a layer of each. |
| GPX |
.gpx |
Waypoints, routes, tracks and their points as separate layers. |
| Esri File Geodatabase |
.gdb folder |
Every feature class becomes a layer. |
| AutoCAD DXF |
.dxf |
Give "crs" (such as EPSG:2263) when the drawing doesn't say its coordinate system. |
| GML |
.gml |
|
| MapInfo |
.tab, .mif |
Keep the companion files together. |
| OpenStreetMap |
.osm, .osm.pbf |
|
| GeoJSON Lines, GMT |
.geojsonl, .geojsons, .gmt |
|
SQL queries and DuckDB databases
With DuckDB installed (the duckdb program on the PATH, DuckDB 1.5 or
later), the desktop app adds the result of an SQL query as a layer, and opens DuckDB database files.
Results are written as cached GeoParquet, so large ones stream too: see SQL queries and DuckDB
databases.
| Source |
How to add it |
Notes |
| SQL query |
layer.addSql with "sql" |
One DuckDB SELECT with DuckDB Spatial: Parquet, CSV, GeoParquet and ST_Read files, web addresses (https://, s3://). Give "crs" for a geometry that doesn't say its coordinate system. |
| DuckDB database |
.duckdb, .ddb: Add Data |
Every table with a geometry column becomes a layer ("layer" picks one). Converted once, until the file changes. |
Rasters
| Format |
Extensions or source |
How to add it |
Notes |
| GeoTIFF / Cloud-optimised GeoTIFF |
.tif, .tiff |
Add Data, or upload |
Regular or cloud-optimised, striped or tiled; grey, RGB(A), palette (with its colour table) or multiband. Any EPSG system, or the file's own projection from its GeoKeys (Albers, LCC, transverse Mercator…), reprojected as it draws. A large file opens from its overview, or one made as it is read when it has none. |
| ASCII grid |
.asc (with an optional .prj) |
Add Data, or upload |
|
Tiles and web services
| Format |
Extensions or source |
How to add it |
Notes |
| Raster tiles |
XYZ/TMS template ({z}/{x}/{y}, {-y}, {s}, {q}), WMS ({bbox-epsg-3857}) |
Map › Basemap › Add Tile Layer |
PNG, JPEG and WebP. |
| Vector tiles |
Mapbox Vector Tiles (.pbf, .mvt) template, or TileJSON |
Add Tile Layer |
Drawn in a built-in style that knows the OpenMapTiles, Protomaps and Shortbread schemas. |
| MapLibre styles |
style.json |
Add Tile Layer |
The style's vector and raster sources, sprite, expressions and zoom functions. |
| PMTiles |
.pmtiles: a web address, or a file on the desktop |
Add Tile Layer (or its PMTiles File… button), Add Data, or drop the file |
Raster or vector, as the archive says. Read a tile at a time by byte ranges (the server must allow them, and CORS in the web app). A vector archive is drawn in the built-in style when it is a basemap, otherwise with each of its layers in its own colour. |
Writing
| Format |
How to write it |
Notes |
| GeoJSON, CSV |
Data › Export (share.exportLayer) |
The Export Features dialog picks the format; the file is saved in it whatever extension is typed. In the web app it downloads (any format below but GeoPackage; a Shapefile as one zip). A streamed layer writes its whole source (as every format below does). |
| GeoPackage |
Data › Export to .gpkg (desktop) |
One feature table (an attributes table for a layer without geometry) in WGS 84, with an R-tree spatial index and the GeoPackage 1.4 triggers that keep it current when other software edits the file. Feature ids are kept. |
| GeoParquet |
Data › Export to .parquet |
GeoParquet 1.1: WKB geometry in WGS 84, Snappy compression, row groups of 65,536 features and a bbox covering column so readers can skip rows by extent. |
| Shapefile |
Data › Export to .shp (or .zip for the files zipped) |
Writes .shp, .shx, .dbf, .prj (WGS 84) and .cpg (UTF-8). Field names are cut to 10 characters (made unique), text to 254 bytes, and numbers too wide for a dBase field are left empty; features without geometry, and lines of a single point, are left out (and reported). |
| FlatGeobuf |
Data › Export to .fgb |
With a spatial index; features without geometry are left out (and reported). |
| KML, KMZ, GPX |
Data › Export to .kml, .kmz or .gpx |
Placemarks named by a name field, if there is one; features without geometry are left out. |
| KML, GPX, CSV with WKT |
Analysis › Workflows › Data Interop |
|
| GeoTIFF |
Raster Data › Export |
|
| PNG |
Share › Export Map (share.exportMap) |
At any DPI, with labels, scale bar and tile credits. |
| PDF |
Layouts, reports and presentations |
|
| Wavefront OBJ, glTF |
Share › Export To 3D, Share As › Web Scene |
Polygons extruded by a field. |
| Web map, OGC API Features, MapLibre style |
Share › Share As |
Open-format files that need no server: see Sharing. |
| Raster tiles |
Imagery › Create Hosted Imagery |
|
RustGIS files
| File |
Extension |
Notes |
| Project |
.rgis (older .rgisx open too) |
Saves streamed layers' file paths, not their features; a browser upload is kept inside. |
| Map, layer, style, template, task and layout files |
.rgismap, .rgislyr, .rgisstyle, .rgistemplate, .rgistask, .rgislayout |
See Project items. |
| Project package |
.rgispkg |
Everything, rasters included. |
| Plugin |
.rgplugin |
See Plugins. |