[postgis-users] Spatial statistics on LineString Z

cwright colin.wright at thinkwhere.com
Mon Jan 26 06:25:16 PST 2015

I’ve loaded a shapefile containing height information into PostGIS using
OGR2OGR.  The shapefile has loaded OK and the geometry all seems to be fine
in PostGIS, showing as a LineStringZ geometry.  When I run
st_estimated_extent on the table it fails with the error message ‘ERROR:
stats for “testlayer.shape” do not exist.  
When I run an analyze on the table it says "NOTICE: no non-null/empty
features, unable to compute statistics"

Running st_isvalidreason(shape) on the table says that all the geometry is

Is this a known bug/limitation with postgis?

We are running on:
PostGIS 2.1.5  64 bit
Postgres 9.3.5 64 bit
Windows 2012


Colin Wright
Principal Developer
thinkWhere Ltd

View this message in context: http://postgis.17.x6.nabble.com/Spatial-statistics-on-LineString-Z-tp5007644.html
Sent from the PostGIS - User mailing list archive at Nabble.com.

More information about the postgis-users mailing list