From: Sandro Santilli Date: Mon, 4 May 2015 10:16:16 +0000 (+0000) Subject: Fix online legacy test with sfcgal (#3105) X-Git-Tag: 2.2.0rc1~526 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b3e8a2b84c5d49fe8c1aee33c399fe8d4e4d936;p=postgis Fix online legacy test with sfcgal (#3105) git-svn-id: http://svn.osgeo.org/postgis/trunk@13477 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/regress/sfcgal/legacy.sql b/regress/sfcgal/legacy.sql index db80f9a9a..a54ad3e6c 100644 --- a/regress/sfcgal/legacy.sql +++ b/regress/sfcgal/legacy.sql @@ -9,8 +9,10 @@ SET postgis.backend = 'sfcgal'; SET client_min_messages TO WARNING; -\i 00-regress-install/share/contrib/postgis/legacy.sql +\cd :scriptdir +\i legacy.sql +TRUNCATE spatial_ref_sys; INSERT INTO "spatial_ref_sys" ("srid","auth_name","auth_srid","srtext","proj4text") VALUES (4326,'EPSG',4326,'GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]','+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs '); SELECT 'Starting up MapServer/Geoserver tests...'; @@ -55,4 +57,4 @@ SELECT 1869 As ticket_id, ST_AsText(ST_AsBinary('POINT(1 2)')); DELETE FROM spatial_ref_sys WHERE SRID = '4326'; -\i 00-regress-install/share/contrib/postgis/uninstall_legacy.sql +\i uninstall_legacy.sql