[postgis-tickets] [PostGIS] #4476: st_geomfromgeojson(jsonb) and st_geomfromgeojson(json)

PostGIS trac at osgeo.org
Sat Aug 10 20:51:34 PDT 2019


#4476: st_geomfromgeojson(jsonb) and st_geomfromgeojson(json)
---------------------+---------------------------
 Reporter:  robe     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  blocker  |  Milestone:  PostGIS 2.4.8
Component:  postgis  |    Version:  2.5.x
 Keywords:           |
---------------------+---------------------------
 Getting this on debbie's PG10 run for 2.4


 {{{
  in_geojson .. failed (diff expected obtained:
 /var/lib/jenkins/workspace/postgis/tmp/2_4_pg10w64/test_117_diff)
 -----------------------------------------------------------------------------
 --- in_geojson_expected 2019-08-04 07:40:28.676910327 +0000
 +++ /var/lib/jenkins/workspace/postgis/tmp/2_4_pg10w64/test_117_out
 2019-08-11 03:00:06.409829129 +0000
 @@ -4,8 +4,8 @@
  geomfromgeojson_04|LINESTRING(0 0,1 1)
  geomfromgeojson_05|POLYGON((0 0,1 1,1 0,0 0))
  geomfromgeojson_06|MULTIPOLYGON(((0 0,1 1,1 0,0 0)))
 -geomfromgeojson_07|MULTIPOLYGON(((0 0,1 1,1 0,0 0)))
 -geomfromgeojson_08|MULTIPOLYGON(((0 0,1 1,1 0,0 0)))
 +ERROR:  function st_geomfromgeojson(json) does not exist at character 39
 +ERROR:  function st_geomfromgeojson(jsonb) does not exist at character 39
  #1434: Next two errors
  ERROR:  Unable to find 'coordinates' in GeoJSON string
  ERROR:  unexpected character (at offset 0)
 -----------------------------------------------------------------------------
 }}}
  Why is this in a 2.4 test. These functions weren't introduced until 2.5

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