ingo@1022: <%-- ingo@1022: Copyright (c) 2010 by Intevation GmbH ingo@1022: ingo@1022: This program is free software under the LGPL (>=v2.1) ingo@1022: Read the file LGPL.txt coming with the software for details ingo@1022: or visit http://www.gnu.org/licenses/ if it does not exist. ingo@1022: --%> ingo@1022: tim@671: <% tim@671: String geometry = "POINT (6.3333 56.5)"; tim@671: String geometrytype = request.getParameter("gt"); tim@671: if(geometrytype != null){ tim@671: if (geometrytype.equals("POINT")){ tim@671: geometry = "POINT (6.3333 56.5)"; tim@671: }else if (geometrytype.equals("LINESTRING")){ tim@671: geometry = "LINESTRING (0.4911 56.2489,10.4464 58.1608,12.2321 56.4127,13.1250 54.8832,15.4018 54.5008,19.6875 56.4127,20.6250 59.0349,28.1250 60.2640)"; tim@671: }else if (geometrytype.equals("POLYGON")){ tim@671: geometry = "POLYGON ((-1.5763 58.3616, 0.7526 53.8428, 4.2686 53.1972, 7.9217 54.1441, 7.6020 56.2959, 11.5747 57.2857, 0.4788 58.4908, 4.2686 58.8996, 0.0219 58.5768, -1.5763 58.3616))"; tim@671: } tim@671: } tim@671: %> tim@671: tim@563:
tim@559:
" method="post"> tim@559:
tim@559: Kartenviewer Request tim@563: tim@559: tim@559:
tim@559:
tim@559: