[postgis-users] Spatial statistics on LineString Z

Paul Ramsey pramsey at cleverelephant.ca
Tue Jan 27 08:11:42 PST 2015


Stick that puppy in a trac ticket, I'll have a look.

On Mon, Jan 26, 2015 at 6:25 AM, cwright <colin.wright at thinkwhere.com> wrote:
> Hi,
> 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
> valid.
>
> 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
>
> Thanks
>
> 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.
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users


More information about the postgis-users mailing list