[postgis-tickets] r14672 - #3461, add test case

Paul Ramsey pramsey at cleverelephant.ca
Tue Feb 23 09:10:40 PST 2016


Author: pramsey
Date: 2016-02-23 09:10:40 -0800 (Tue, 23 Feb 2016)
New Revision: 14672

Modified:
   trunk/regress/tickets.sql
   trunk/regress/tickets_expected
Log:
#3461, add test case


Modified: trunk/regress/tickets.sql
===================================================================
--- trunk/regress/tickets.sql	2016-02-23 17:03:00 UTC (rev 14671)
+++ trunk/regress/tickets.sql	2016-02-23 17:10:40 UTC (rev 14672)
@@ -926,6 +926,16 @@
 where st_contains(g.geom, pts.geom)
 group by n;
 
+-- #3461
+SELECT '#3461', ST_GeomFromKML('<Polygon>
+                <innerBoundaryIs>
+                    <LinearRing>
+                        <coordinates>15.4314185364794,47.07424936394101,0 15.4319999913023,47.0745907424833,0 15.4304554154307,47.0762201181668,0 15.4297898819917,47.0762268569417,0 15.4290787803951,47.0767510408816,0 15.428814076225,47.07705890737439,0 15.4283323302523,47.0781601391252,0 15.4280670755831,47.0781119179139,0 15.428345820955,47.0773709566434,0 15.428377720989,47.0769281206226,0 15.4287760037479,47.0764644755462,0 15.429245707349,47.07569497547091,0 15.4314185364794,47.07424936394101,0</coordinates>
+                    </LinearRing>
+                </innerBoundaryIs>
+            </Polygon>');
+            
+    
 
 -- Clean up
 DELETE FROM spatial_ref_sys;

Modified: trunk/regress/tickets_expected
===================================================================
--- trunk/regress/tickets_expected	2016-02-23 17:03:00 UTC (rev 14671)
+++ trunk/regress/tickets_expected	2016-02-23 17:10:40 UTC (rev 14672)
@@ -282,3 +282,4 @@
 #3399|10|10
 #3399|1000|1000
 #3399|100|100
+ERROR:  invalid KML representation



More information about the postgis-tickets mailing list