MCPcopy Index your code
hub / github.com/domlysz/BlenderGIS

github.com/domlysz/BlenderGIS @v2.0.0 sqlite

repository ↗ · DeepWiki ↗ · release v2.0.0 ↗
1,337 symbols 3,762 edges 78 files 509 documented · 38%
README

Blender GIS

A new version for Blender 2.80 beta is already available in the dedicated branch. Until official 2.8 release, the master branch is for Blender 2.79 only.

Full documentation

FAQ - Quick start guide

Basemaps

Display web map service like OpenStreetMap directly in Blender

SRTM download

Get SRTM topographic data and apply it as height texture

ESRI Shapefile import / export

A Shapefile is a popular geospatial vector data format for geographic information system software.

This tool can import into Blender most of shapefile feature type. It can also uses attributes data to define Z elevation values or Z extrusion values.

Exporter script can export a mesh to pointZ, polylineZ or polygonZ shapefile. Note that currently this tool does not re-export attribute data include in the dbase file linked to the shapefile. So if you want to import a shapefile for edit it into Blender and then re-export it, you will lose attribute data.

Georeferenced raster importer

Import geotiff or common image format georeferenced with a world file.

You can import the raster as a plane mesh, as backgound image for orthographic view, as UV texture mapping on a mesh or as DEM for warp a mesh with the displace modifier.

ESRI ASCII GRID format is also supported through a dedicated import tool.

OpenStreetMap import

Georeferenced render output

This is a tool to create a new camera correctly setup for produce a map render. Georeferencing data (worldfile) are writing in text file accessible from the Blender text editor.

Delaunay triangulation & Voronoi diagram

This script computes Delaunay triangulation in 2.5D. This triangulation is suitable for create a 3D terrain mesh from points cloud or contour lines

The script can also compute Voronoi tessellation in 2D which is the dual of delaunay triangulation. Voronoi diagram is suitable to make neighborhood analysis map.

Terrain analysis

This part of Blender GIS is designed to assist in the analysis of the topography : height, slope and azimuth (aspect).

There are 2 tools, one to build materials nodes setup for Cycles engine, and a second to configure the color ramp as usual in common GIS software (reclassify values and apply color ramp presets).

Georeferencing management

Handle various projection systems with reprojection capabilities and compatibility with some others addons

Core symbols most depended-on inside this repo

append
called by 219
operators/lib/osm/overpy/__init__.py
new
called by 182
core/georaster/npimg.py
report
called by 91
core/basemaps/mapservice.py
format
called by 86
core/lib/imageio/core/format.py
get
called by 52
operators/view3d_mapviewer.py
items
called by 49
core/utils/bbox.py
get
called by 47
core/lib/Tyf/ifd.py
open
called by 30
core/lib/Tyf/__init__.py

Shape

Method 955
Function 198
Class 177
Route 7

Languages

Python100%

Modules by API surface

core/lib/shapefile.py100 symbols
geoscene.py80 symbols
operators/utils/delaunay_voronoi.py69 symbols
core/lib/shapefile123.py69 symbols
operators/lib/osm/overpy/__init__.py56 symbols
core/lib/imageio/core/format.py55 symbols
operators/nodes_terrain_analysis_reclassify.py51 symbols
core/basemaps/mapservice.py51 symbols
core/lib/imageio/plugins/_freeimage.py47 symbols
prefs.py44 symbols
core/utils/gradient.py40 symbols
clients/QtMapServiceClient.py39 symbols

For agents

$ claude mcp add BlenderGIS \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact