🚀 Gen 5 of the leading AI app deployment platform launches October 6. Click for the livestream.

Adaptation of geographic 3d Line data to plotly

I intend to build 3d view of lines that are stored in postgis as 3d linestring.
What do you advice me to follow the procedures to adapt the this type of data to plotly 3d line?


Hi @doga,

I’m not very familiar with the format of postgis 3d linestrings. Can you access arrays of cartesian x/y/z coordinates as Python lists or numpy arrays? These are what you’ll need to create a 3d line plot (https://plot.ly/python/3d-line-plots/).


1 Like

thank you for your interest.

I retrieved postgis data with geopandas, then extract x,y,z array data.
I am going to work on 3d line plot.
But this 3d line will be on surface topography. ( actulally lines will represent “fault lines” on 3d topography).

I may knock your door for combination of twos.