Libraries and Packages

Libraries and Packages#

While geo3D uses the essential python libraries and packages typically used in all Spatial Data Analysis; such as numpy, matplotlib, scipy, shapely, geopandas and gdal; the following are not:

i. Triangle

A LoD1 3D Model is based on a triangulated irregular network (TIN) data-structure. A TIN is a collection of connected 3D triangles that form a continuous closed surface [Ledoux et al., 2024]. osm_LoD1_3DCityModel creates a TIN with Rufat Dzhelil’s python implementation of Jonathan Richard Shewchuk’s Triangle and uses a special algorithm called a Constrained Delaunay triangulation [Rufat, 2020, Shewchuk, 1996].

ii. Plus Codes

A Plus Code is a geocode based on a system of regular grids for identifying an area anywhere on the Earth. Plus Codes are designed to be used like street addresses and may be especially useful in places where there is no formal system to identify buildings, such as street names, house numbers, and post codes. Plus Codes are therefore an alternative to traditional addresses and are extremely helpful to under severed communities who cannot access basic services such as receive postal, emergency, and social services [Google, 2015].

iii. cjio

A Python command line interface (CLI) to process and manipulate CityJSON files [CityJSON, 2022].

iv. cadquery

A Python library for building parametric 3D CAD models [contributors, 2024].