I recently started using Geopandas in python for some of my spatial work and am very pleased with it - I\'m currently trying to read in PostGIS features and don\'t quite underst
Example:
import geopandas as gpd import psycopg2 # (if it is postgres/postgis) con = psycopg2.connect(database="your database", user="user", password="password", host="your host") sql = "select geom, x,y,z from your_table" df = gpd.GeoDataFrame.from_postgis(sql, con, geom_col='geom' )