[postgis-tickets] [PostGIS] #4158: ST_Subdivide unable to subdivide isochrone

PostGIS trac at osgeo.org
Sun Aug 26 11:19:30 PDT 2018


#4158: ST_Subdivide unable to subdivide isochrone
---------------------+---------------------------
 Reporter:  komzpa   |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 2.5.0
Component:  postgis  |    Version:  2.4.x
 Keywords:           |
---------------------+---------------------------
 {{{
 21:16:53 [kom] > select distinct ST_IsValid(geom) from
 eventspace_isochrones;
 ┌────────────┐
 │ st_isvalid │
 ├────────────┤
 │ t          │
 └────────────┘
 (1 row)

 Time: 1575,341 ms (00:01,575)
 21:17:00 [kom] > with complex_areas_to_subdivide as (delete from
 eventspace_isochrones
 where ST_NPoints(geom) > 255
 returning minute, geom)
 insert into eventspace_isochrones (minute, geom)
 select minute,
     ST_Subdivide(geom, 255) geom
 from complex_areas_to_subdivide;
 ERROR:  XX000: lwcollection_construct: mixed dimension geometries: 0/2
 LOCATION:  pg_error, lwgeom_pg.c:128
 Time: 1227,466 ms (00:01,227)
 21:18:56 [kom] > select postgis_full_version();
 ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
 │
 postgis_full_version
 │
 ├─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
 │ POSTGIS="2.5.0rc1 r16698" [EXTENSION] PGSQL="110"
 GEOS="3.6.2-CAPI-1.10.2 4d2925d6" PROJ="Rel. 4.9.3, 15 August 2016"
 GDAL="GDAL 2.2.3, released 2017/11/20" LIBXML="2.9.4" LIBJSON="0.12.1"
 LIBPROTOBUF="1.2.1" RASTER │
 └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
 (1 row)

 Time: 15,055 ms

 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4158>
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