From: Paul Ramsey Date: Thu, 13 Sep 2012 19:23:42 +0000 (+0000) Subject: Test for #1780 X-Git-Tag: 2.1.0beta2~653 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5bea346fa162f2584336cfea8b1f1247470c9ac9;p=postgis Test for #1780 git-svn-id: http://svn.osgeo.org/postgis/trunk@10280 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/regress/tickets.sql b/regress/tickets.sql index cb9c4ed54..7a31fede6 100644 --- a/regress/tickets.sql +++ b/regress/tickets.sql @@ -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, diff --git a/regress/tickets_expected b/regress/tickets_expected index dea31a9e6..4ce2d2b3f 100644 --- a/regress/tickets_expected +++ b/regress/tickets_expected @@ -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