Pacific Rim Snapshot
<%'die("
System Upgrade
As we conduct a critical software upgrade, our database will not be available. Please check these pages for an update. ")%>
Click on an Ecoregion polygon to view local statistics.
Go to the SalmonServe Query Tool to get more detailed data.
<%Dim mMap,mLayers,mConnector, recset,svcsvc="eco"Set mConnector = Server.CreateObject("aims.ArcIMSConnector")'ArcIMSConnector object creationSet mMap = Server.CreateObject("aims.Map") 'Map object creationmConnector.ServerName = "wanda" 'Server's namemConnector.ServerPort = 5300 'Server's portmMap.Width = 725 'Width of the map in pixelsmMap.Height = 450 'Height of the map in pixelsmMap.BackColor = 15130848 'Set background color for the mapresultInit = mMap.InitMap( mConnector, svc ) 'Initializationif not resultinit then Response.Write mConnector.GetLastError() Response.End End if mMap.Layers.Nodefault=true 'Set nodefault to true as we want to extract layer 1(Blockgroups)x = Request.QueryString("x")y = Request.QueryString("y")dim blSet pnt = Server.CreateObject("aims.PointObject") 'Create new pointSet loc2 = mMap.ToMapPoint(x,y) 'Convert coordinate to database unitspnt.X = loc2.x 'Set X coordinatepnt.Y = loc2.y 'Set Y coordinate Set bl = mMap.Layers.Item(2).Clone() 'Create clone of the 1 layer bl.Filter.ClearGObjects() 'Clear spatial filter collectionbl.Filter.AddGObject(pnt) 'Add point to the spatial filtermMap.Layers.Add bl 'Add layer to the layers collectionbl.Renderer.Symbol.FillColor = CLng("255") 'Set fill color mMap.Layers.Item(2).Recordset.Filter.ClearGObjects 'Clear spatial filter collectionmMap.Layers.Item(2).Recordset.Filter.AddGObject(pnt) 'Add point object to the spatial filter collectionif mMap.Layers.Item(2).Recordset.MoveFirst then 'Move to the first recordset row = row & "
| Ecoregion | " Set fds = mMap.Layers.Item(2).Recordset.Fields 'Get Fields object row = row & "" & fds.FieldValueAsString(14) & " |
" eID = fds.FieldValueAsString(16) 'row = row & "" else row = "
| No features have been selected. Use the mouse to select features. |
" end ifsq = "select * from clickeco where lvl4_id='" & eID & "'"mMap.Refresh 'Refresh the mapif mMap.Layers.Count > 3 Then mMap.Layers.Remove mMap.Layers.Count 'Remove just added layerend ifurlimage= mMap.GetImageAsUrl() 'Get map picture address%>
"Out of range" means that the species is not native to this region.
Complete descriptions of the datasets that provide information for this map can be found here

This work is licensed under a Creative Commons License.