]> granicus.if.org Git - postgis/commitdiff
#2870 put in change notice in sql geograpy(bytea) has changed, put in regression...
authorRegina Obe <lr@pcorp.us>
Sat, 16 Aug 2014 05:15:02 +0000 (05:15 +0000)
committerRegina Obe <lr@pcorp.us>
Sat, 16 Aug 2014 05:15:02 +0000 (05:15 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@12889 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/geography.sql.in
regress/tickets.sql
regress/tickets_expected

index efccf5c51587f0251be6be6708393e28fecc0377..68b5d9d231b046f8d9da3a49e1ea1d254186bcce 100644 (file)
@@ -82,6 +82,7 @@ CREATE OR REPLACE FUNCTION geography(geography, integer, boolean)
 CREATE CAST (geography AS geography) WITH FUNCTION geography(geography, integer, boolean) AS IMPLICIT;
 
 -- Availability: 2.0.0
+-- Changed: 2.1.4 ticket #2870 changed to use geography bytea func instead of geometry bytea
 CREATE OR REPLACE FUNCTION geography(bytea)
        RETURNS geography
        AS 'MODULE_PATHNAME','geography_from_binary'
index 68e5fc724ec4a79e071b4442cff6a9d3e8b9507e..d869055e9667a6832621e512ef5dd4302787f153 100644 (file)
@@ -880,5 +880,7 @@ SELECT '#2712', ST_AsText(ST_Segmentize('LINESTRING EMPTY'::geometry, 0.5));
 
 SELECT '#2788', valid, reason, ST_AsText(location) from ST_IsValidDetail('POLYGON((0 0, 0 1, 2 1, 2 2, 1 2, 1 0, 0 0))'::geometry);
 
+SELECT '#2870', ST_Summary('Point(151.215289 -33.856885)'::geometry::bytea::geography) ;
+
 -- Clean up
 DELETE FROM spatial_ref_sys;
index 9495f323db240fb1d200b51e5e63928a3d51f846..4b3524476fd52d870c43860366d5b75d4b9580aa 100644 (file)
@@ -259,3 +259,4 @@ ERROR:  invalid GML representation
 #2704|POLYGON((0 0,0 1,1 1,1 0,0 0))
 #2712|LINESTRING EMPTY
 #2788|f|Self-intersection|POINT(1 1)
+#2870|Point[GS]