]> granicus.if.org Git - postgis/commitdiff
Fix sfcgal regress failure - Delete 4326 entry before readding. Also use integer...
authorRegina Obe <lr@pcorp.us>
Wed, 31 Oct 2018 03:25:23 +0000 (03:25 +0000)
committerRegina Obe <lr@pcorp.us>
Wed, 31 Oct 2018 03:25:23 +0000 (03:25 +0000)
References #4210

git-svn-id: http://svn.osgeo.org/postgis/trunk@16968 b70326c6-7e19-0410-871a-916f4a2858ee

regress/sfcgal/geography.sql

index 3ec43cd30b362f5f422eedf40a6d991a25f135df..b4a78ddf63137371a4930ed236b03ff2ea909d8b 100644 (file)
@@ -1,10 +1,11 @@
 SET postgis.backend = 'sfcgal';
 
+DELETE FROM spatial_ref_sys where srid = 4326;
 INSERT INTO spatial_ref_sys (srid, auth_name, auth_srid, srtext, proj4text)
 VALUES (
'4326',
4326,
  'EPSG',
'4326',
4326,
  'GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]',
  '+proj=longlat +datum=WGS84 +no_defs'
 );