]> granicus.if.org Git - postgis/commitdiff
Add SRID conservancy in ApproximateMedialAxis test
authorSandro Santilli <strk@keybit.net>
Wed, 17 Jun 2015 18:33:31 +0000 (18:33 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 17 Jun 2015 18:33:31 +0000 (18:33 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13679 b70326c6-7e19-0410-871a-916f4a2858ee

regress/sfcgal/approximatemedialaxis.sql
regress/sfcgal/approximatemedialaxis_expected

index dfbdf3b4935c51a48b57d75a8e311638e0ba7101..e3611b8289361adce3cb00e178e3d6f94422e2fc 100644 (file)
@@ -1,3 +1,2 @@
-SELECT 'square', ST_AsText(ST_ApproximateMedialAxis('POLYGON((0 0,1 0,1 1,0 1,0 0))'));
-SELECT 'rect1', ST_AsText(ST_ApproximateMedialAxis('POLYGON((0 0,2 0,2 1,0 1,0 0))'));
-
+SELECT 'square', ST_AsEwkt(ST_ApproximateMedialAxis('SRID=3857;POLYGON((0 0,1 0,1 1,0 1,0 0))'));
+SELECT 'rect1', ST_AsEwkt(ST_ApproximateMedialAxis('SRID=4326;POLYGON((0 0,2 0,2 1,0 1,0 0))'));
index dfcc72ec7ce19e6021543b798f485846b35a6d17..2677ed75b3439e4c121ba8a3edd754f44423fe7f 100644 (file)
@@ -1,2 +1,2 @@
-square|MULTILINESTRING EMPTY
-rect1|MULTILINESTRING((0.5 0.5,1.5 0.5))
+square|SRID=3857;MULTILINESTRING EMPTY
+rect1|SRID=4326;MULTILINESTRING((0.5 0.5,1.5 0.5))