geotrimesh

Generator for colored 3D meshes from GIS data


Keywords
X3D
License
Other
Install
pip install geotrimesh==0.9.5

Documentation

geoTriMesh

geoTriMesh converts GIS data to colored 3D meshes (X3D). The library is intended to help to bridge the gap between geospatial data and 3D modelling.

Installation:

pip install geotrimesh

Usage:

from geotrimesh import mesh

elevation = mesh.ElevationMesh()
elevation.generate_mesh(dem='srtm3.tif', orthophoto='bluemarble.tif', boundaries='osm.shp')

Options:

dem | dem_nodata | orthophoto | orthophoto_nodata | boundaries | tiles_size | tiles_bbox | mesh_prefix | mesh_path | mesh_shapefile | scale_xy | z_exaggeration | projection | centering | indexed_colors | coloring_mode | mesh_format

alt text Mesh of city of Pottenstein with 5x z-exaggeration, X3D, visualized in Meshlab

alt text TanDEM-X (South Dakota demo data), X3D, visualized in Blender

alt text Mesh of city of Pottenstein, Matplotlib/mplot3d output

alt text Complete TOCOMEE dataset (crude resolution), visualized in Blender

Download the complete TOCOMEE dataset (made with geoTriMesh) here: http://www.flatpolar.org/tocomee.html