metacat/lib/spatial/kml.jsp @ 5535
1 | 4080 | daigle | <%@ page import="edu.ucsb.nceas.metacat.util.SystemUtil" %> |
---|---|---|---|
2 | 3032 | perry | <%
|
3 | |||
4 | 4080 | daigle | String url = SystemUtil.getContextURL(); |
5 | 3056 | perry | String layerName = "metacat:data_points"; |
6 | 3032 | perry | |
7 | String redirectURL = url + "/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kml+XML&width=1024&height=1024&srs=EPSG:4326&layers=" + layerName + "&styles=&bbox=-180,-90,180,90"; |
||
8 | |||
9 | response.sendRedirect(redirectURL); |
||
10 | %>
|