<%-- Created by IntelliJ IDEA. User: sbortman Date: Sep 14, 2009 Time: 9:24:47 AM To change this template use File | Settings | File Templates. --%> <%@ page import="org.ossim.omar.RasterEntryQuery; org.ossim.omar.RasterEntrySearchTag" contentType="text/html;charset=UTF-8" %> OMAR - Raster Search var mapWidget = new MapWidget(); function init() { var setupBaseLayers = function() { var baseLayer = null; baseLayer = new OpenLayers.Layer.WMS("${foo.title}", "${foo.url}", {layers: "${foo.layers}", format: "${foo.format}"}, {isBaseLayer: true, buffer: 0,transitionEffect: "resize"}); mapWidget.setupBaseLayers(baseLayer); }; mapWidget.setupMapWidget(); setupBaseLayers(); mapWidget.setupDataLayer("${dataWMS.title}", "${dataWMS.url}", "${dataWMS.layers}", "${dataWMS.styles}", "${dataWMS.format}"); mapWidget.changeMapSize(); mapWidget.setupAoiLayer(); mapWidget.setupToolBar(); mapWidget.setupMapView("${queryParams?.viewMinLon ?: -180}", "${queryParams?.viewMinLat ?: -90}", "${queryParams?.viewMaxLon ?: 180}", "${queryParams?.viewMaxLat ?: 90}"); mapWidget.setupQueryFields("${queryParams.searchMethod}"); var minLon = ${queryParams?.aoiMinLon ?: 'null'}; var minLat = ${queryParams?.aoiMinLat ?: 'null'}; var maxLon = ${queryParams?.aoiMaxLon ?: 'null'}; var maxLat = ${queryParams?.aoiMaxLat ?: 'null'}; if ( minLon && minLat && maxLon && maxLat) { mapWidget.initAOI(minLon, minLat, maxLon, maxLat); } updateOmarFilters(); } function updateOmarFilters() { var numberOfNames = parseInt("${queryParams?.searchTagNames.size()}"); var numberOfValues = parseInt(${queryParams?.searchTagValues.size()}); mapWidget.updateOmarFilters( $("startDate_day").value, $("startDate_month").value, $("startDate_year").value, $("startDate_hour").value, $("startDate_minute").value, $("endDate_day").value, $("endDate_month").value, $("endDate_year").value, $("endDate_hour").value, $("endDate_minute").value, numberOfNames, numberOfValues ); }
Map Center:



Geospatial Criteria:


Map Center:



Geospatial Criteria:


Map Center:



Geospatial Criteria:


Temporal Criteria:
Metadata Criteria:
Options:

${flash.message}
Select the pan button and click on the map.