[postgis-tickets] [PostGIS] #4016: tickets test fails with proj 5.0.0-rc2

PostGIS trac at osgeo.org
Fri Feb 9 08:43:30 PST 2018


#4016: tickets test fails with proj 5.0.0-rc2
----------------------------+---------------------------
 Reporter:  Bas Couwenberg  |      Owner:  pramsey
     Type:  defect          |     Status:  new
 Priority:  medium          |  Milestone:  PostGIS 2.4.4
Component:  postgis         |    Version:  2.4.x
 Keywords:                  |
----------------------------+---------------------------
 postgis 2.4.3 failed to build with proj 5.0.0-rc2 due to the tickets test
 failing:
 {{{
 *** /tmp/pg_virtualenv.38D232/log/postgresql-10-regress.log (last 100
 lines) ***
               ST_AsText(g::geometry),
               ST_OrderingEquals(g::geometry,
 St_GeomFromText(ST_AsText(g::geometry))) FROM ( SELECT
         'CURVEPOLYGON (COMPOUNDCURVE(CIRCULARSTRING(0 0,1 1,1 0),(1 2,0
 1)))'
         ::text as g ) as foo;
 2018-02-09 16:38:58.449 UTC [16809] pbuilder at postgis_reg ERROR:  geometry
 requires more points
 2018-02-09 16:38:58.449 UTC [16809] pbuilder at postgis_reg HINT:
 "CURVEPOLYGON (COMPOUNDCURVE EMPTY)" <-- parse error at position 34 within
 geometry
 2018-02-09 16:38:58.449 UTC [16809] pbuilder at postgis_reg STATEMENT:
 SELECT g,
               ST_AsText(g::geometry),
               ST_OrderingEquals(g::geometry,
 St_GeomFromText(ST_AsText(g::geometry))) FROM ( SELECT
         'CURVEPOLYGON (COMPOUNDCURVE EMPTY)'
         ::text as g ) as foo;
 2018-02-09 16:38:58.449 UTC [16809] pbuilder at postgis_reg ERROR:  geometry
 contains non-closed rings
 2018-02-09 16:38:58.449 UTC [16809] pbuilder at postgis_reg HINT:
 "...RCULARSTRING(0 0,1 1,1 0),(1 0,0 1)))" <-- parse error at position 67
 within geometry
 2018-02-09 16:38:58.449 UTC [16809] pbuilder at postgis_reg STATEMENT:
 SELECT g,
               ST_AsText(g::geometry),
               ST_OrderingEquals(g::geometry,
 St_GeomFromText(ST_AsText(g::geometry))) FROM ( SELECT
         'CURVEPOLYGON (COMPOUNDCURVE(CIRCULARSTRING(0 0,1 1,1 0),(1 0,0
 1)))'
         ::text as g ) as foo;
 2018-02-09 16:38:58.454 UTC [16809] pbuilder at postgis_reg ERROR:  geometry
 contains non-closed rings
 2018-02-09 16:38:58.454 UTC [16809] pbuilder at postgis_reg HINT:  "TRIANGLE
 ((1 2 3,4 5 6,7 8 9,1 2 0))" <-- parse error at position 37 within
 geometry
 2018-02-09 16:38:58.454 UTC [16809] pbuilder at postgis_reg STATEMENT:
 SELECT g,
               ST_AsText(g::geometry),
               ST_OrderingEquals(g::geometry,
 St_GeomFromText(ST_AsText(g::geometry))) FROM ( SELECT
         'TRIANGLE ((1 2 3,4 5 6,7 8 9,1 2 0))'
         ::text as g ) as foo;
 2018-02-09 16:38:58.455 UTC [16809] pbuilder at postgis_reg ERROR:  geometry
 contains non-closed rings
 2018-02-09 16:38:58.455 UTC [16809] pbuilder at postgis_reg HINT:  "...0 0 0
 1, 0 1 0 2, 1 1 0 3, 0 1 0 1)) " <-- parse error at position 88 within
 geometry
 2018-02-09 16:38:58.455 UTC [16809] pbuilder at postgis_reg STATEMENT:
 SELECT g,
               ST_AsText(g::geometry),
               ST_OrderingEquals(g::geometry,
 St_GeomFromText(ST_AsText(g::geometry))) FROM ( SELECT
         'TIN ZM ( ((0 0 0 0, 0 0 1 0, 0 1 0 4, 0 0 0 0)), ((0 0 0 1, 0 1 0
 2, 1 1 0 3, 0 1 0 1)) )'
         ::text as g ) as foo;
 2018-02-09 16:38:58.644 UTC [16813] pbuilder at postgis_reg WARNING:
 ST_Force_2d signature was deprecated in 2.1.0. Please use ST_Force2D
 2018-02-09 16:38:58.644 UTC [16813] pbuilder at postgis_reg CONTEXT:
 PL/pgSQL function _postgis_deprecate(text,text,text) line 14 at RAISE
         SQL function "st_force_2d" during startup
 2018-02-09 16:38:58.645 UTC [16813] pbuilder at postgis_reg WARNING:
 ST_Force_2d signature was deprecated in 2.1.0. Please use ST_Force2D
 2018-02-09 16:38:58.645 UTC [16813] pbuilder at postgis_reg CONTEXT:
 PL/pgSQL function _postgis_deprecate(text,text,text) line 14 at RAISE
         SQL function "st_force_2d" during startup
 2018-02-09 16:38:58.645 UTC [16813] pbuilder at postgis_reg WARNING:
 ST_Force_2d signature was deprecated in 2.1.0. Please use ST_Force2D
 2018-02-09 16:38:58.645 UTC [16813] pbuilder at postgis_reg CONTEXT:
 PL/pgSQL function _postgis_deprecate(text,text,text) line 14 at RAISE
         SQL function "st_force_2d" during startup
 2018-02-09 16:38:58.650 UTC [16813] pbuilder at postgis_reg WARNING:
 ST_Force_2d signature was deprecated in 2.1.0. Please use ST_Force2D
 2018-02-09 16:38:58.650 UTC [16813] pbuilder at postgis_reg CONTEXT:
 PL/pgSQL function _postgis_deprecate(text,text,text) line 14 at RAISE
         SQL function "st_force_2d" during startup
 2018-02-09 16:38:58.650 UTC [16813] pbuilder at postgis_reg WARNING:
 ST_Force_Collection signature was deprecated in 2.1.0. Please use
 ST_ForceCollection
 2018-02-09 16:38:58.650 UTC [16813] pbuilder at postgis_reg CONTEXT:
 PL/pgSQL function _postgis_deprecate(text,text,text) line 14 at RAISE
         SQL function "st_force_collection" during startup
 2018-02-09 16:38:58.654 UTC [16813] pbuilder at postgis_reg WARNING:
 ST_Force_2d signature was deprecated in 2.1.0. Please use ST_Force2D
 2018-02-09 16:38:58.654 UTC [16813] pbuilder at postgis_reg CONTEXT:
 PL/pgSQL function _postgis_deprecate(text,text,text) line 14 at RAISE
         SQL function "st_force_2d" during startup
 2018-02-09 16:38:58.654 UTC [16813] pbuilder at postgis_reg WARNING:
 ST_Force_Collection signature was deprecated in 2.1.0. Please use
 ST_ForceCollection
 2018-02-09 16:38:58.654 UTC [16813] pbuilder at postgis_reg CONTEXT:
 PL/pgSQL function _postgis_deprecate(text,text,text) line 14 at RAISE
         SQL function "st_force_collection" during startup
 2018-02-09 16:39:18.262 UTC [16933] pbuilder at postgis_reg ERROR:
 ST_OffsetCurve only works with LineStrings
 2018-02-09 16:39:18.262 UTC [16933] pbuilder at postgis_reg STATEMENT:
 SELECT 't0', ST_OffsetCurve('POINT(0 0)', 10);
 2018-02-09 16:39:18.346 UTC [16945] pbuilder at postgis_reg ERROR:  Operation
 on mixed SRID geometries
 2018-02-09 16:39:18.346 UTC [16945] pbuilder at postgis_reg STATEMENT:
 select 't1', st_asewkt(st_sharedpaths(
           'SRID=10;LINESTRING(0 0, 10 0)', 'SRID=5;LINESTRING(0 0, 100 0)'
         ));
 2018-02-09 16:39:18.348 UTC [16945] pbuilder at postgis_reg ERROR:
 GEOSSharedPaths: IllegalArgumentException: Geometry is not lineal
 2018-02-09 16:39:18.348 UTC [16945] pbuilder at postgis_reg STATEMENT:
 select 't6', st_sharedpaths(
           '0101000020E6100000F771D98DE33826C00000000000004440'::geometry,
 '0103000020E61000000100000021000000F771D98DE33820C00000000000004E409610DB16675620C00EC34AD715B54D407AF7FF56CFAD20C008E817B00C6D4D40A8B32666C03B21C017D34B39A92A4D40C096A1DAC5FA21C03309329378F04C4050BE087388E322C06D501336B7C04C401412394E16ED23C061A149F23A9D4C402C7E04EB3A0D25C0A86740E260874C40F471D98DE33826C00000000000804C40BC65AE308C6427C0A86740E260874C40D5D179CDB08428C060A149F23A9D4C409A25AAA83E8E29C06C501336B7C04C402A4D114101772AC03209329378F04C4043308CB506362BC016D34B39A92A4D4072ECB2C4F7C32BC007E817B00C6D4D4057D3D704601B2CC00DC34AD715B54D40F771D98DE3382CC0FFFFFFFFFFFF4D4059D3D704601B2CC0F13CB528EA4A4E4076ECB2C4F7C32BC0F717E84FF3924E4049308CB506362BC0E82CB4C656D54E40324D114101772AC0CCF6CD6C870F4F40A325AAA83E8E29C093AFECC9483F4F40DFD179CDB08428C09F5EB60DC5624F40C665AE308C6427C05898BF1D9F784F40FD71D98DE33826C00000000000804F40347E04EB3A0D25C05898BF1D9F784F401B12394E16ED23C0A05EB60DC5624F4056BE087388E322C094AFECC9483F4F40C496A1DAC5FA21C0CEF6CD6C870F4F40ABB32666C03B21C0EA2CB4C656D54E407CF7FF56CFAD20C0F917E84FF3924E409710DB16675620C0F33CB528EA4A4E40F771D98DE33820C00000000000004E40'::geometry
         );
 2018-02-09 16:39:18.367 UTC [16949] pbuilder at postgis_reg ERROR:  Operation
 on mixed SRID geometries
 2018-02-09 16:39:18.367 UTC [16949] pbuilder at postgis_reg STATEMENT:
 select 't1', st_asewkt(st_snap(
           'SRID=10;LINESTRING(0 0, 10 0)', 'SRID=5;LINESTRING(0 0, 100
 0)', 0
         ));
 2018-02-09 16:39:18.802 UTC [16965] pbuilder at postgis_reg ERROR:
 GEOSRelate: Invalid boundary node rule 5
 2018-02-09 16:39:18.802 UTC [16965] pbuilder at postgis_reg STATEMENT:
 SELECT st_relate('POINT(0 0)', 'POINT(1 0)', 5);
 2018-02-09 16:39:18.856 UTC [16973] pbuilder at postgis_reg ERROR:
 lwgeom_subdivide: cannot subdivide to fewer than 8 vertices per output
 2018-02-09 16:39:18.856 UTC [16973] pbuilder at postgis_reg STATEMENT:
 SELECT '#3135', st_astext(ST_SubDivide(ST_GeomFromText('POLYGON((1 2,1 2,1
 2,1 2))'), 2));
 2018-02-09 16:39:18.993 UTC [16981] pbuilder at postgis_reg ERROR:  Tolerance
 must be a positive number.
 2018-02-09 16:39:18.993 UTC [16981] pbuilder at postgis_reg CONTEXT:  SQL
 function "st_voronoipolygons" statement 1
 2018-02-09 16:39:18.993 UTC [16981] pbuilder at postgis_reg STATEMENT:
 SELECT 3,  ST_VoronoiPolygons('MULTIPOINT (0 0, 1 1, 2 2)', NULL);
 2018-02-09 16:39:18.993 UTC [16981] pbuilder at postgis_reg ERROR:  Tolerance
 must be a positive number.
 2018-02-09 16:39:18.993 UTC [16981] pbuilder at postgis_reg CONTEXT:  SQL
 function "st_voronoipolygons" statement 1
 2018-02-09 16:39:18.993 UTC [16981] pbuilder at postgis_reg STATEMENT:
 SELECT 5,  ST_VoronoiPolygons('MULTIPOINT (0 0, 1 1, 2 2)', -2);
 2018-02-09 16:39:19.036 UTC [16989] pbuilder at postgis_reg ERROR:  Unable to
 find 'coordinates' in GeoJSON string
 2018-02-09 16:39:19.036 UTC [16989] pbuilder at postgis_reg STATEMENT:
 select '#1434.1',ST_GeomFromGeoJSON('{ "type": "Point", "crashme": [100.0,
 0.0] }');
 2018-02-09 16:39:19.037 UTC [16989] pbuilder at postgis_reg ERROR:
 unexpected character (at offset 0)
 2018-02-09 16:39:19.037 UTC [16989] pbuilder at postgis_reg STATEMENT:
 select '#1434.2',ST_GeomFromGeoJSON('crashme');
 2018-02-09 16:39:19.037 UTC [16989] pbuilder at postgis_reg ERROR:
 unexpected end of data (at offset 0)
 2018-02-09 16:39:19.037 UTC [16989] pbuilder at postgis_reg STATEMENT:
 select '#1434.3',ST_GeomFromGeoJSON('');
 2018-02-09 16:39:19.037 UTC [16989] pbuilder at postgis_reg ERROR:  invalid
 GeoJSON representation
 2018-02-09 16:39:19.037 UTC [16989] pbuilder at postgis_reg STATEMENT:
 select '#1434.4',ST_GeomFromGeoJSON('{}');
 2018-02-09 16:39:19.037 UTC [16989] pbuilder at postgis_reg ERROR:  Too few
 ordinates in GeoJSON
 2018-02-09 16:39:19.037 UTC [16989] pbuilder at postgis_reg STATEMENT:
 select '#1434.5',ST_GeomFromGeoJSON('{"type":"Point","coordinates":[]}');
 2018-02-09 16:39:19.037 UTC [16989] pbuilder at postgis_reg ERROR:  Too few
 ordinates in GeoJSON
 2018-02-09 16:39:19.037 UTC [16989] pbuilder at postgis_reg STATEMENT:
 select
 '#1434.6',ST_GeomFromGeoJSON('{"type":"MultiPoint","coordinates":[[]]}');
 2018-02-09 16:39:19.037 UTC [16989] pbuilder at postgis_reg ERROR:  Unable to
 find 'coordinates' in GeoJSON string
 2018-02-09 16:39:19.037 UTC [16989] pbuilder at postgis_reg STATEMENT:
 select '#1434.7',ST_GeomFromGeoJSON('{"type":"MultiPoint"}');
 2018-02-09 16:39:19.037 UTC [16989] pbuilder at postgis_reg ERROR:  Unable to
 find 'coordinates' in GeoJSON string
 2018-02-09 16:39:19.037 UTC [16989] pbuilder at postgis_reg STATEMENT:
 select '#1434.8',ST_GeomFromGeoJSON('{"type":"Point"}');
 2018-02-09 16:39:19.038 UTC [16989] pbuilder at postgis_reg ERROR:  The
 'coordinates' in GeoJSON ring are not an array
 2018-02-09 16:39:19.038 UTC [16989] pbuilder at postgis_reg STATEMENT:
 SELECT '#2697',
 ST_GeomFromGeoJSON('{"type":"Polygon","coordinates":[1]}');
 2018-02-09 16:39:19.038 UTC [16989] pbuilder at postgis_reg ERROR:  The
 'coordinates' in GeoJSON ring are not an array
 2018-02-09 16:39:19.038 UTC [16989] pbuilder at postgis_reg STATEMENT:
 SELECT '#2697',
 ST_GeomFromGeoJSON('{"type":"Polygon","coordinates":[1,1]}');
 2018-02-09 16:39:20.076 UTC [17005] pbuilder at postgis_reg ERROR:
 pgis_asmvt_transfn: parameter row cannot be other than a rowtype
 2018-02-09 16:39:20.076 UTC [17005] pbuilder at postgis_reg STATEMENT:
 SELECT encode(ST_AsMVT(1, 'test', 4096, 'geom'), 'base64');
 Dropping cluster 10/regress ...
  ### /tmp/pgis_reg/test_91_diff ###
 --- tickets_expected    2018-01-16 05:31:17.000000000 +0000
 +++ /tmp/pgis_reg/test_91_out   2018-02-09 16:38:53.269350614 +0000
 @@ -198,7 +198,7 @@
  #1578|f|f
  #1580.1|Point[S]
  ERROR:  transform: couldn't project point (180 90 0): tolerance condition
 error (-20)
 -#1580.3|Point[S]
 +ERROR:  transform: couldn't project point (0 0 0): tolerance condition
 error (-20)
  #1596.1|public.road_pg.roads_geom SRID:3395 TYPE:POINT DIMS:2
  ERROR:  invalid SRID: 330000 not found in spatial_ref_sys
  #1596.3|3395
 @@ -207,7 +207,7 @@
  NOTICE:  SRID value -1 converted to the officially unknown SRID value 0
  #1596.6|public.road_pg.roads_geom SRID changed to 0
  #1596.7|0
 -#1596|Point[GS]
 +ERROR:  transform: couldn't project point (-176 -22 0): tolerance
 condition error (-20)
  #1695|MULTIPOLYGON EMPTY
  #1697.1|0
  #1697.2|0
  ### end of log dumps ###
 }}}

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