| Crates.io | godot-gis |
| lib.rs | godot-gis |
| version | 0.3.0-rc2 |
| created_at | 2025-10-24 19:36:08.641919+00 |
| updated_at | 2025-12-23 06:07:58.413991+00 |
| description | Godot GDExtension for saving, loading, and manipulating GIS data |
| homepage | |
| repository | https://github.com/Paperback/godot-gis |
| max_upload_size | |
| id | 1899158 |
| size | 589,992 |
Use GIS data and algorithms in your Godot projects.
ResourceFormatSaver and ResourceFormatLoader for reading and writing of GIS files.
Supports Godot 4.2+ thanks to godot-rust
⚠️ Notice: This project is not complete and some features have not been fully tested for production use. Please report any issues you encounter.
To use this addon in your project download the addon from the releases page. Extract inside your project, ensuring godot-gis is inside your addons folder.
Add godot-gis to your Cargo.toml file:
[dependencies]
godot-gis = { version = "0.2", features = ["no-extension-library"] }
When defining your gdextension, register godot-gis:
#[gdextension]
unsafe impl ExtensionLibrary for Example {
fn on_level_init(level: InitLevel) {
if level == InitLevel::Scene {
godot_gis::register();
}
}
fn on_level_deinit(level: InitLevel) {
if level == InitLevel::Scene {
godot_gis::unregister();
}
}
}
var tile: MvtTile = load("res://tile.mvt")
# or shapefile
# or gpkg
for layer in tile.layers:
for feature in layer.features:
if feature is GisPolygon:
# convert feature to Polygon2D
var polygon := feature.to_polygon2d()
# convert feature to ArrayMesh
var mesh := feature.to_array_mesh()
### etc
For more detailed examples, see the examples folder.