[postgis-tickets] [PostGIS] #3416: topology: crash when loading topogeometry (regression)

PostGIS trac at osgeo.org
Mon Jan 4 06:37:23 PST 2016


#3416: topology: crash when loading topogeometry (regression)
----------------------+---------------------------
  Reporter:  rulus    |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 2.2.1
 Component:  postgis  |    Version:  2.2.x
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by strk):

 No crash here:
 {{{
 t3416=# create extension postgis;
 CREATE EXTENSION
 t3416=# create extension postgis_topology;
 CREATE EXTENSION
 t3416=#
 t3416=# create table grondwaterlichamen (
 t3416(#   id serial primary key,
 t3416(#   naam varchar
 t3416(# );
 CREATE TABLE
 t3416=#
 t3416=# select createtopology('gwl', 31370, 0.01);
  createtopology
 ----------------
               1
 (1 row)

 t3416=# select topology.AddTopoGeometryColumn('gwl', 'public',
 'grondwaterlichamen', 'topogeom', 'MULTIPOLYGON');
  addtopogeometrycolumn
 -----------------------
                      1
 (1 row)

 t3416=#
 t3416=# insert into grondwaterlichamen (naam, topogeom)
 t3416-# select 'test',
 topology.toTopoGeom(st_geomfromewkt('SRID=31370;POLYGON((30 10, 40 40, 20
 40, 10 20, 30 10))'), 'gwl', 1, 0.01);
 INSERT 0 1
 t3416=# select postgis_full_version();
 postgis_full_version
 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  POSTGIS="2.2.1dev r14534" GEOS="3.4.0dev-CAPI-1.8.0 r4137" PROJ="Rel.
 4.8.0, 6 March 2012" GDAL="GDAL 1.11.1, released 2014/09/24"
 LIBXML="2.9.1" LIBJSON="0.12" TOPOLOGY RASTER
 (1 row)
 }}}


 What does your "postgis_full_version()" output say

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