Skip to main content

Generates a NetworkX graph from 3D point clouds acquired using Terrestrial LiDAR Scanners.

Project description

General Information

This is a Python (2.7x) script that converts a numpy.ndarray containing a point cloud (x, y, z) into a NetworkX graph.

The code also includes a function to extract shortest path information from a graph. Any NetworkX method/function can be called from/on a graph created with array_to_graph function.

This code was developed as part of my PhD research, supervised by Dr. Mat Disney, in the Department of Geography at University College London (UCL). My research is funded through Science Without Borders from the National Council of Technological and Scientific Development (10.13039/501100003593) – Brazil (Process number 233849/2014-9).

Any questions or suggestions, feel free to contact me using one of the following e-mails: or


To install this package use the command:

python install


pip install pc2graph

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pc2graph, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size pc2graph-1.0.1.tar.gz (2.0 MB) File type Source Python version None Upload date Hashes View
Filename, size pc2graph-1.0.1-py2.py3-none-any.whl (20.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page