[postgis-tickets] [PostGIS] #3025: Analyze not creating spatial statistics on LineString Z geometry
PostGIS
trac at osgeo.org
Wed Jan 28 08:31:43 PST 2015
#3025: Analyze not creating spatial statistics on LineString Z geometry
------------------------------+---------------------------------------------
Reporter: rightway | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone:
Component: postgis | Version: 2.1.x
Keywords: extents, analyze |
------------------------------+---------------------------------------------
I’ve loaded a line 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.
I haven't had the chance to test any other types of 'Z' or 'M' geometry
but I assume they behave the same way.
We are running on:
PostGIS 2.1.5 64 bit
Postgres 9.3.5 64 bit
Windows 2012
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3025>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list