diff gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp @ 393:d812c5b62eb4

Fixes fake wkt polygon input. gnv/trunk@536 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 13 Jan 2010 11:29:40 +0000
parents 1b8fd2635ce4
children aaf04967bd53
line wrap: on
line diff
--- a/gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp	Wed Jan 13 06:51:52 2010 +0000
+++ b/gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp	Wed Jan 13 11:29:40 2010 +0000
@@ -29,43 +29,43 @@
               "28.1250 60.2640)";
             }
             function copy_demo_wkt_polygon() {
-              document.getElementById('mesh_linestring').value =
+              document.getElementById('mesh_polygon').value =
 "POLYGON ((" +
-"  3.619257904890151 60.124073114994786," +
-" -0.0100024331643465 58.22749190607598," +
-"  0.0602413153141276 54.73871906497843," +
-"  1.0436537940127657 53.33384409540895," +
-"  2.2612121009729846 52.13970037127489," +
-"  3.619257904890151 52.116285788448735," +
-"  4.789987046198053 53.544575340844375," +
-"  6.358764095550643 54.15335449432448," +
-"  8.021199476207865 54.10652532867217," +
-"  7.904126562077074 55.62847321237244," +
-"  8.021199476207865 57.22066484455119," +
-"  9.496318194255823 57.478225255638925," +
-"  9.941195267952825 57.876273163683614," +
-" 10.877778580999147 57.73578566672666," +
-" 10.760705666868358 57.05676276476808," +
-" 10.526559838606776 56.75237318802803," +
-" 11.228997323391518 56.28408153150487," +
-" 10.620218169911409 55.815789874981704," +
-" 11.346070237522309 55.2070107215016," +
-" 12.235824384916315 55.97969195476481," +
-" 12.306068133394788 56.61188569107108," +
-" 11.55680148295773 57.73578566672666," +
-" 10.924607746651462 58.64895439694683," +
-" 10.47973067295446 58.906514808034565," +
-"  9.777293188169718 58.57871064846835," +
-"  8.466076549904868 57.85285858085746," +
-"  7.014372414683068 57.45481067281277," +
-"  5.937301604679798 58.04017524346672," +
-"  4.930474543155002 59.11724605346999," +
-"  4.602670383588789 59.70261062412394," +
-"  4.5324266351103155 59.91334186955937," +
-"  4.321695389674892 59.889927286733204," +
-"  4.064134978587155 59.81968353825473," +
-"  3.619257904890151 60.10065853216863," +
-"  3.619257904890151 60.124073114994786))";
+"  3.6192 60.1240," +
+" -0.0100 58.2274," +
+"  0.0602 54.7387," +
+"  1.0436 53.3338," +
+"  2.2612 52.1397," +
+"  3.6192 52.1162," +
+"  4.7899 53.5445," +
+"  6.3587 54.1533," +
+"  8.0211 54.1065," +
+"  7.9041 55.6284," +
+"  8.0211 57.2206," +
+"  9.4963 57.4782," +
+"  9.9411 57.8762," +
+" 10.8777 57.7357," +
+" 10.7607 57.0567," +
+" 10.5265 56.7523," +
+" 11.2289 56.2840," +
+" 10.6202 55.8157," +
+" 11.3460 55.2070," +
+" 12.2358 55.9796," +
+" 12.3060 56.6118," +
+" 11.5568 57.7357," +
+" 10.9246 58.6489," +
+" 10.4797 58.9065," +
+"  9.7772 58.5787," +
+"  8.4660 57.8528," +
+"  7.0143 57.4548," +
+"  5.9373 58.0401," +
+"  4.9304 59.1172," +
+"  4.6026 59.7026," +
+"  4.5324 59.9133," +
+"  4.3216 59.8899," +
+"  4.0641 59.8196," +
+"  3.6192 60.1006," +
+"  3.6192 60.1240))";
             }
         </script>
     </head>

http://dive4elements.wald.intevation.org