]> granicus.if.org Git - postgis/commitdiff
Test for #1780
authorPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 13 Sep 2012 19:23:42 +0000 (19:23 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 13 Sep 2012 19:23:42 +0000 (19:23 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10280 b70326c6-7e19-0410-871a-916f4a2858ee

regress/tickets.sql
regress/tickets_expected

index cb9c4ed546d33f5b909cd3d9caaaeea38fac296f..7a31fede63b1b2c943d230c9a7993f2e05f56eae 100644 (file)
@@ -672,6 +672,9 @@ SELECT '#1776',
  ST_AsText(ST_SymDifference(A,B)), ST_AsText(ST_SymDifference(B, A))
 FROM inp;
 
+-- #1780 --
+SELECT '#1780',ST_GeoHash('POINT(4 4)'::geometry) = ST_GeoHash('POINT(4 4)'::geography);
+
 -- #1791 --
 with inp as ( SELECT
  '010100000000000000004065C0041AD965BE5554C0'::geometry as a,
index dea31a9e6992c9eac402487662d0fa0bfca2ac59..4ce2d2b3f59b298fed9ef65e30d198caef0ac564 100644 (file)
@@ -222,6 +222,7 @@ NOTICE:  SRID value -1 converted to the officially unknown SRID value 0
 #1734.1|1026
 #1755|01010000A0E6100000000000000040554000000000008041400000000000000000
 #1776|POLYGON((0 0,10 0,10 10,0 0))|POLYGON((0 0,10 0,10 10,0 0))
+#1780|t
 #1791|4.7
 ERROR:  ST_Segmentize: invalid max_distance 0 (must be >= 0)
 ERROR:  invalid GML representation