Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

RustGIS logo: a rust-coloured cog framing a segmented globe with an orbit

RustGIS

A fast, free and open-source GIS in pure Rust for mapping, analyzing and sharing geospatial data.
Native on Windows, macOS and Linux, and in your web browser. Your data stays on your machine unless you send it to an AI model you choose, and every action is a command you can script.

Written in Rust License: Apache-2.0 16 languages Plugins PyPI Open in Colab

Launch the RustGIS web app Download the desktop app Read the documentation

RustGIS with the Home tab of the ribbon open. The Layers pane lists Cities, Rivers, Lakes and Countries with their legends; the map shows the world in the Equal Earth projection, countries shaded by population, sized city dots and country labels.

Why RustGIS

  • Fast and small. One native program, drawn on the GPU, with no runtime to install and no server to run.
  • Runs everywhere. The same app on Windows, macOS and Linux, and compiled to WebAssembly at web.rustgis.app with nothing to install.
  • Local and private. Your files are read and written on your machine, and nothing is uploaded on its own. The network is used only when you ask for it: web basemaps, plugins, the GeoLibre tools and the AI model you pick, which receives your questions and the data it reads to answer them.
  • Everything is a command. Every button in the ribbon is a command with an id. Script it from rustgis-cli, chain it in notebooks and models, or ask the AI Assistant to run it for you.
  • Familiar. A ribbon laid out in the order of the work (Home, Data, Style, Edit, Analyze, View, Publish), Layers and Browser panes, an attribute table, and undo for every change.
  • Extensible. Over 1,000 GeoLibre and Whitebox tools for terrain, hydrology, LiDAR and remote sensing, and sandboxed WebAssembly plugins that add commands, tools and ribbon tabs.

A tour

The Style tab with the Symbology pane showing graduated colours and colour schemes; the larger African countries are selected in cyan on the map and highlighted in the attribute table below

Symbology and tables. Selecting a layer opens its contextual tabs: symbology, effects, labeling and data. Selection is synced between the map and the attribute table.

The AI Assistant pane: asked for the five most populous African countries, it read the Countries table, selected them and zoomed to them

AI Assistant. Ask about your data or tell the map what to do. The assistant runs RustGIS commands for you, and each change can be undone.

The Analyze tab with a gallery of geoprocessing tools and the Tools pane showing Buffer; dissolved 300 km buffers around African cities

Analysis. A tool gallery, the Tools pane and a run history, guided workflows, ModelBuilder, and 1,000+ GeoLibre and Whitebox tools.

A shaded-relief elevation model of the Sierra Nevada with the Style tab open

Rasters. GeoTIFF and COG of any pixel type, reprojected on the fly, with stretch, RGB, classified and shaded-relief symbology.

The World Atlas drawn on a 3D globe with the View tab open

Globe and projections. A 3D globe, Equal Earth, Robinson, polar and regional presets, or any EPSG code.

An OpenFreeMap vector style over Paris, with the Basemap gallery listing the built-in basemaps and the web tile layer

Web basemaps. XYZ, TMS and WMS tiles, Mapbox Vector Tiles and MapLibre styles, on the flat map and the globe.

A landscape A4 page layout with a map frame, title, legend, north arrow and scale bar, and the Publish tab open

Layouts. Map frames, legends, scale bars, grids, map series and PDF export, plus reports and presentations.

The Plugin Manager browsing the plugin registry, listing Basemaps, Hello RustGIS, Map Explorer and Vector Toolkit with their permissions

Plugins. Browse and install sandboxed plugins from plugins.rustgis.app, each showing the permissions it asks for.

RustGIS in dark mode with the View tab open over a map of Europe on the Midnight basemap

Dark mode and the View tab: effects, scene settings, panes and linked views.

The Project backstage with cards to start a blank map, the World Atlas sample, or open a project

Projects. Start blank, from the World Atlas sample, or open a .rgis project.

Every screenshot is RustGIS itself, rendered offscreen by cargo run -p rustgis-ui-egui --example ui_shot.

Features

AreaHighlights
DataGeoJSON, CSV/TSV with x/y columns in any coordinate system or WKT geometry, Excel and OpenDocument spreadsheets, GeoRSS, LandXML, encoded polylines, Shapefile (zipped too, in the browser as well), GeoPackage, GeoParquet, FlatGeobuf, KML/KMZ (with styles), GPX, GML, MapInfo MIF/MID, OpenStreetMap PBF, TopoJSON, AutoCAD DXF and LiDAR point clouds (LAS, LAZ, COPC) in (large files read in place), files by their web address, every vector format GDAL reads when it is installed, and SQL queries and DuckDB databases through DuckDB Spatial when DuckDB is; PMTiles archives (web or file) and MBTiles files; GeoJSON, CSV, GeoPackage, GeoParquet, Shapefile, FlatGeobuf, KML/KMZ, GPX and WKT out; standalone tables; layer and map files, styles, templates and packages
RastersGeoTIFF and cloud-optimised GeoTIFF (any pixel type, tiled or striped, compressed), ASCII grids, Zarr 2 and 3 stores (a variable at a time step, by folder or web address); reprojection from any EPSG code; Stretch, RGB, Classify, Unique Values, Colormap and Shaded Relief; DRA, band combinations, brightness/contrast/gamma; raster functions, indices, change detection, classification, georeferencing
MapsMultiple maps per project; a 3D globe; Web Mercator or any projection (Equal Earth, Robinson, Winkel Tripel, polar and regional presets, or an EPSG code); bookmarks, extent history, Go To XY; five offline basemaps
Web servicesWMS, WMTS, WFS, OGC API Features and ArcGIS REST (FeatureServer, MapServer, ImageServer, VectorTileServer) from their capabilities
Web tilesXYZ/TMS/WMS raster tiles, Mapbox Vector Tiles and MapLibre styles (sprites, patterns, expressions), cached and fetched in the background
CartographySingle symbol, unique values, graduated colours, proportional symbols; collision-free labels with placement, scale ranges and annotation; masking, display filters, aggregation bins, 2.5D extrusion; graphics and dynamic text
EditingCreate, move, rotate, scale, merge, split and explode features; snapping, templates, elevation, traverse, topology rules; domains, subtypes, attribute rules, relationships, archiving; undo for everything
AnalysisSelection by attributes (SQL) and location; Buffer, Clip, Erase, Dissolve, Summarize Within, Summary Statistics and more; viewshed, line of sight, IDW, shortest path, suitability modelling; ModelBuilder and scripts; 1,000+ GeoLibre and Whitebox raster, vector, LiDAR, hydrology and terrain tools
ImageryOrtho and reality mapping, pixel classification (k-means, minimum distance, a trainable neural network), mensuration, hosted imagery tiles
Layouts and reportsPage layouts with map frames, legends, scale bars, grids and map series; reports with groups, statistics, charts and subreports; presentations (HTML slideshow, PDF); notebooks (Jupyter in and out)
SharingPNG export at any DPI; PDF; web map pages, OGC API Features collections, MapLibre styles, glTF scenes, locators; project, map and mobile map packages; offline areas with sync
AI AssistantAsk about your data or tell the map what to do in plain language, with Anthropic, OpenAI, Gemini, OpenRouter, Ollama or any OpenAI-compatible model; also rustgis-cli ask, and an MCP server (rustgis-cli mcp) for Claude Code, Cursor, VS Code and other agents
PluginsSandboxed WebAssembly plugins add commands, tools and ribbon tabs; install them from plugins.rustgis.app on the desktop, command line and web
InterfaceCommand search (Ctrl+K), keyboard shortcuts, dark mode, a customizable ribbon and Quick Access Toolbar, linked side-by-side maps, 16 languages

The user guide covers each area in detail, Comparison sets RustGIS beside GeoLibre, QGIS and ArcGIS, and ROADMAP.md lists what's next.

Get RustGIS

  • Web app: open web.rustgis.app. The same ribbon and tools, with the browser's file picker for data and projects, and downloads for Save and Export.
  • Desktop: download the app for Windows, macOS or Linux from downloads.rustgis.app or the latest release (see Installation for the files and first-run notes).
  • Package managers: winget install OpenGeos.RustGIS, brew install --cask opengeos/rustgis/rustgis, yay -S rustgis-bin (AUR), or sudo dnf copr enable giswqs/rustgis && sudo dnf install rustgis (Fedora).
  • From source: cargo run --release -p rustgis (Rust 1.90 or later).

Quick start

cargo run --release -p rustgis                       # the desktop app with the World Atlas sample
cargo run --release -p rustgis -- data.geojson       # open data (or a .rgis project)

Command line: every ribbon action is a command with an id.

rustgis-cli commands                                 # all command ids and parameters
rustgis-cli render countries.geojson map.png --basemap ocean
rustgis-cli run --sample \
  --cmd 'gp.run={"tool":"countPoints","params":{"polygons":"Countries","points":"Cities"}}' \
  --cmd 'layer.symbology={"layer":"Countries_Summarize","type":"graduated","field":"point_count"}' \
  --cmd 'share.exportMap={"path":"out.png","dpi":192}' --save atlas.rgis
rustgis-cli ask --sample "Which 5 countries have the largest GDP?"
claude mcp add rustgis -- rustgis-cli mcp --sample   # RustGIS as an MCP server for AI agents

See Command Line for more.

Python: the same engine and commands in-process (pip install rustgis), and the app itself in a Jupyter notebook.

import rustgis
s = rustgis.Session(sample=True)
s.run("gp.run", tool="buffer", params={"input": "Cities", "distance": 100})
s.to_png("map.png")
gdf = s.layer("Cities_Buffer").to_geopandas()

See Python and the getting-started notebook (open in Colab).

Architecture

Layered crates, each depending only on the ones below it:

LayerCrateJob
L0rustgis-geomcoordinates, extents, Web Mercator, geodesic distance/area, scale
L1rustgis-datafeatures and typed attributes; GeoJSON, CSV, Shapefile; GeoPackage, GeoParquet and FlatGeobuf providers; SQL where clauses; rasters and their coordinate systems
L2rustgis-map, rustgis-analysislayers, symbology, labeling, camera, basemaps; geoprocessing (on geo)
L2rustgis-tilesweb map tiles: XYZ/TMS/WMS, Mapbox Vector Tiles, MapLibre styles, the tile cache
L3rustgis-rendertiny-skia renderer, label placement, PNG export, fonts
L3rustgis-pluginssandboxed WebAssembly plugins and the plugin registry
L3rustgis-geolibrethe GeoLibre tool suite as geoprocessing tools
L4rustgis-enginesession, undo, command registry, sample project
L5rustgis-assistantthe AI Assistant: a chat agent that acts through commands
L6rustgis-ui-eguithe ribbon front end (swappable)
appsrustgis, rustgis-cli, rustgis-webdesktop, command line, browser (WebAssembly)

cargo xtask ci runs formatting, clippy, the tests and the layering check. Contributor and agent notes: AGENTS.md.

Sponsor

RustGIS is free and open source, and stays that way. If it is useful to you or your team, sponsorship is the most direct way to keep development, hosting and cross-platform distribution going.

See the Become a Sponsor page for what sponsorship supports and for other, free ways to help.

License and credits

Licensed under the Apache License 2.0. Sample data from Natural Earth (public domain).

关于 About

A fast, free and open-source GIS in pure Rust.
geospatialgisremote-sensingrustrust-lang

语言 Languages

Rust97.6%
Shell0.8%
Python0.8%
JavaScript0.2%
CSS0.2%
NSIS0.1%
HTML0.1%
Jupyter Notebook0.1%
PowerShell0.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
88
Total Commits
峰值: 88次/周
Less
More

核心贡献者 Contributors