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.

Source Distribution

pc2graph-1.0.1.tar.gz (2.0 MB view hashes)

Uploaded Source

Built Distribution

pc2graph-1.0.1-py2.py3-none-any.whl (20.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page