[postgis-tickets] [PostGIS] #4979: There are still problems with empty geographies

PostGIS trac at osgeo.org
Sat Aug 21 13:50:59 PDT 2021


#4979: There are still problems with empty geographies
----------------------+---------------------------
 Reporter:  ezimanyi  |      Owner:  pramsey
     Type:  defect    |     Status:  new
 Priority:  medium    |  Milestone:  PostGIS 3.1.4
Component:  postgis   |    Version:  2.5.x
 Keywords:            |
----------------------+---------------------------
 {{{

 esteban at DESKTOP-9FBND60:~/src/MobilityDB/test/point/data$ psql -p 5433
 test_pg3
 psql (13.2)
 Type "help" for help.

 test_pg3=# create extension postgis;
 CREATE EXTENSION

 test_pg3=# select postgis_full_version();
 postgis_full_version

 ------------------------------------------------------------------------------------------------------------------------
 -------------------------------------------------
  POSTGIS="3.1.2dev b02ee95" [EXTENSION] PGSQL="130"
 GEOS="3.8.0-CAPI-1.13.1 " PROJ="6.3.1" LIBXML="2.9.10" LIBJSON="0.13
 .1" LIBPROTOBUF="1.3.3" WAGYU="0.5.0 (Internal)"
 (1 row)

 test_pg3=# select geography 'Point empty';
 ERROR:  lwgeom_set_geodetic: unsupported geom type: Unknown
 LINE 1: select geography 'Point empty';
                          ^
 test_pg3=# select geography 'Linestring empty';
 ERROR:  lwgeom_set_geodetic: unsupported geom type: Unknown
 LINE 1: select geography 'Linestring empty';
                          ^
 test_pg3=# select geography 'Polygon empty';
 ERROR:  lwgeom_set_geodetic: unsupported geom type: Unknown
 LINE 1: select geography 'Polygon empty';

 }}}

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