Home
The KSLOF GIS Data Portal - Khaled bin Sultan Living Oceans
Contents
1. 015 012 015 012 015 012 IconStyle lt scale gt 0 6 lt scale gt lt Icon gt lt Icon gt lt IconStyle gt lt Style gt 015 012 60 The KSLOF GIS Data Portal 2009 foreach Sdbh gt query Ssql as row create placemark for each record kml output lt Placemark gt kml output 015 012 kml output description CDATA kml output 015 012 kml output table width 360 border 0 cellspacing 0 cellpadding 0 style color 000066 font family times new roman times serif gt Skml_output 015 012 put title Skml_output lt tr gt Skml_output 015 012 kml output lt td colspan 2 bgcolor FFFFCC style color 000033 align left gt lt em gt lt span style font weight bold font size 14px gt Srow title lt span gt lt em gt lt td gt kml output 015 012 Skml_output lt tr gt Skml_output 015 012 put the author kml output lt tr gt Skml_output 015 012 Skml_output lt td style color 000033 align left gt em Author lt em gt lt td gt kml output 015 012 kml output td style color 000033 alignz left Srow author td kml output 4015012 kml output lt tr gt kml output 4015012 put publication date kml output tr kml output 015 0
2. kml output 015 012 Skml_output td style color 000033 alignz left Srow pubDate td kml output 4015012 kml output lt tr gt kml output 4015012 put data type kml output lt tr gt kml output 4015012 kml output td style color 000033 align left gt em Data Type lt em gt lt td gt kml output 4015012 Skml_output lt td style color 000033 alignz left Srow type lt td gt kml output 4015012 Skml_output lt tr gt kml output 015 012 put space Skml_output lt tr gt Skml_output 015 012 kml output td colspan 2 style color 000033 align left gt amp nbsp lt td gt Skml_output 015 012 kml output lt tr gt Skml_output 015 012 put link to more details Skml_output lt tr gt kml output 015 012 kml output lt td colspan 2 bgcolor FFFFCC style color 000033 font size 11px align left gt For more information visit http www kbslof org gisui DataPortal Details php map idz Srow id ftd 55 The KSLOF GIS Data Portal 2009 kml_output 015 012 kml output lt tr gt Skml_output 015 012 Skml_output lt table gt kml output 015 012 kml output gt lt description gt kml output 015 012 kml output lt styleUrl gt Srow
3. KDE if typeof document getElementByld undefined navigator vendor Apple Computer Inc amp amp typeof window XMLHttpRequest undefined isie amp amp typeof document uniquelD undefined bail on older unsupported browsers return load hover images now if opts for var k in opts var rollover new Image rollover src opts k if this element this currMenu this element var items this element getElementsByTagName li for var i 0 i lt items length i this initialize items i element isie if isie this addClassName items i MenuBarltemlE items i style position static if isie if this hasClassName this element MenuBarVertical 70 The KSLOF GIS Data Portal 2009 this element style position relative var linkitems this element getElementsByTagNamef a for var i 0 i lt linkitems length i linkitems i style position relative I Spry Widget MenuBar prototype getElement function ele if ele amp amp typeof ele string return document getElementByld ele return ele I Spry Widget MenuBar prototype hasClassName function ele className if lele className ele className ele className search new RegExp b className b 1 return false return true Spry Widget MenuBar prototype addClassName function ele className if
4. if G options backButtonEnabled this saveBackContext_ G options backButtonHTML false save the map context for back button 93 The KSLOF GIS Data Portal 2009 E Back Button functionality Function called when the back button s click event is captured calls the function to set the map context back to where it was before the zoom i DragZoomControl prototype backbuttonclick_ function var G this globals if G options backButtonEnabled amp amp G backStack length gt 0 this restoreBackContext_ invoke the callback if provided if G callbacks backbuttonclick null G callbacks backbuttonclick G methodCall y Back Button functionality Saves the map context and pushes it on the backStack for later use by the back button ui DragZoomControl prototype saveBackContext function text methodCall var G this globals var backFrame backFrame center G map getCenter backFrame zoom G map getZoom backFrame maptype G map getCurrentMapType backFrame text G backButtonDiv innerHTML this saves the previous button text backFrame methodCall methodCall This determines if it was an internal or method call G backStack push backFrame G backButtonDiv innerHTML text Back Button is turned on in resetDragZoom_ E JAX Back Button functionality Pops the previous map context off of the backStack and restores the map to that cont
5. end container gt lt div gt lt script type text javascript gt lt var MenuBar1 new Spry Widget MenuBar KSLOF_DP_Menu imgDown jscript SpryMenuBarDownHover gif imgRight jscript SpryMenuBarRightHover gif 1p lt script gt lt body gt lt html gt 40 The KSLOF GIS Data Portal 2009 DataPortal_Download php lt php Module DataPortal_Download php Purpose Form used to verify and effect data download Author Felimon Gayanilo felimon gayanilo net Date Last Update 23 June 2009 Copyright c 2009 Living Oceans Foundation MD All right reserved This module require user authentication include DataPortal_Authenticate php gt lt DOCTYPE HTML PUBLIC W3C DTD HTML 4 01 Transitional EN http www w3 org TR html4 loose dtd gt html head meta http equiv Content Type content text html charset utf 8 lt title gt KSLOF Data Portal lt title gt lt script src jscript SpryMenuBar js type text javascript gt lt script gt lt link href jscript SpryMenuBarHorizontal css rel stylesheet type text css gt lt link href css DataPortal_ Download css rel stylesheet type text css gt lt head gt lt body class twoColFixRtHdr gt lt div id container gt lt div gt lt div align center gt lt img src images kslof_header_01 png width 952 height 133 gt lt div gt lt div gt lt div id mainContent style
6. G cornerTopDiv style display block G cornerLeftDiv style left G startX G mapWidth px G cornerLeftDiv style top G startY px G cornerLeftDiv style display block G cornerRightDiv style left G startX px G cornerRightDiv style top G startY px G cornerRightDiv style display block G cornerBottomDiv style left G startX px G cornerBottomDiv style top G startY px G cornerBottomDiv style width Opx G cornerBottomDiv style display block invoke the callback if provided if G callbacks dragstart null G callbacks dragstart G startX G startY return false 90 The KSLOF GIS Data Portal 2009 E Function called when drag event is captured param Object e DragZoomControl prototype drag_ function e var G this globals if G draggingOn var pos this getRelPos e var rect this getRectangle G startX G startY pos G mapRatio if rect left addX rect width else addX 0 if rect top addY rect height selse addY 0 DragZoomUtil style G outlineDiv left G startX addX px top G startY addY px display block width 1px height 1px G outlineDiv style width rect width px G outlineDiv style height rect height px G cornerTopDiv style height G startY addY G startY G mapHeight px G cornerLeftDiv style top G startY addY px G co
7. Serror flag 015 012 65 The KSLOF GIS Data Portal 2009 Serror_flag gt The lastname is required for user identification if lisset S POST country if Serror flag none Serror flagz Serror flag 015 012 Serror flag gt The name of the country where the data will be copied is required if lisset S POST challenge if Serror flag none Serror flagz Serror flag 015 012 Serror_flag gt The challenge question was not selected Please provide an entry if lisset S POST response if Serror flag none Serror flagz Serror flag 015 012 Serror_flag gt The response to the challenge question cannot be null Please provide an entry if Serror flag none save the values db S_SERVER DOCUMENT_ROOT kslof data kslof_gis sqlite try DB conn new PDO sqlite Sdb SDB_conn gt beginTransaction SDB_conn gt setAttribute PDO ATTR_ERRMODE PDO ERRMODE EXCEPTION Susername POST username Spassword S_POST password Sfirstname POST firstname Slastname _POST lastname Sjob_title POST job Sorganization S_POST organization Saddress1 POST address1 Saddress2 POST address2 Scity S_POST city Sstate S_POST state Spcode POST pcode Scountry POST country Sphone POST phone Semail S_POST email d industry POST d indu
8. classified Soutput td colspan 2 align center gt lt a href mailto williams livingoceansfoundation org subject Data Request from Restricted List gt Contact KSLOF for Data Download lt a gt lt a href javascript window close gt Close Window lt a gt lt td gt else Soutput td colspan 2 align center gt lt a href DataPortal Download php map id S map id Download Data lt a gt lt a href javascript window close gt Close Window lt a gt lt td gt Soutput lt tr gt Soutput lt table gt echo Soutput gt lt div gt lt end mainContent gt lt div gt div class clearfloat gt lt img src images kslof_footer png gt lt div gt lt end container gt lt div gt lt script type text javascript gt I var MenuBar1 new Spry Widget MenuBar KSLOF DP Menu imgDown jscript SpryMenuBarDownHover gif imgRight jscript SpryMenuBarRightHover gif gt lt script gt lt body gt lt html gt 45 The KSLOF GIS Data Portal 2009 DataPortal_Map php lt Module DataPortal Map html Purpose This is the main interface Author Felimon Gayanilo felimon gayanilo net Date Last Update 23 June 2009 Copyright c 2009 Living Oceans Foundation MD All right reserved gt lt DOCTYPE HTML PUBLIC W3C DTD HTML 4 01 Transitional EN http www w3 org TR html4 loose dtd
9. SASS SSSSSS
10. block this currentTabIndex tpIndex Spry Widget TabbedPanels prototype attachBehaviors function element var tabs this getTabs var panels this getContentPanels var panelCount this getTabbedPanelCount for var i 0 i lt panelCount i this addPanelEventListeners tabs i panels i this showPanel this defaultTab 83 The KSLOF GIS Data Portal 2009 dragzoom js DragZoomControl Class v1 3 Copyright c 2005 2007 Andre Lewis andre earthcode com Back Button functionality Copyright c 2007 Richard Garland papabear newyork gmail com Licensed under the Apache License Version 2 0 the License you may not use this file except in compliance with the License You may obtain a copy of the License at 7 http www apache org licenses LICENSE 2 0 Unless required by applicable law or agreed to in writing software distributed under the License is distributed on an AS IS BASIS WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied See the License for the specific language governing permissions and limitations under the License This class lets you add a control to the map which will let the user zoom by dragging a rectangle More info on original GZoom at http earthcode com Back Button functionality provides the user with a one click means to return the map state to its state prior to the DragZoo
11. color 000000 gt lt hr gt lt p align left style font size 12px font weight bold color FFFFOO font family Times New Roman Times serif gt CONFIRM DATA DOWNLOAD lt p gt lt div align left gt lt php if isset S_GET map_id f Smap_id GET map id read database Sdb S_SERVER DOCUMENT_ROOT kslof data kslof_gis sqlite try DB conn new PDO sqlite Sdb SDB_conn gt beginTransaction DB conn setAttribute PDO ATTR ERRMODE PDO ERRMODE_EXCEPTION Ssql SELECT firstname lastname country FROM users WHERE username LIKE Slogin foreach SDB_conn gt query Ssql as Srecord Sfirstname Srecord firstname Slastname Srecord lastname Scountry Srecord country 41 The KSLOF GIS Data Portal 2009 Ssql1 SELECT FROM document WHERE id LIKE map id foreach SDB_conn gt query Ssql1 as Srecord1 SurlDownload Srecord1 urlDownload echo p lt p gt lt hr gt echo p style font size 12px color FFFFFF gt Data Requested by Sfirstname Slastname from Scountry lt p gt echo p style font size 12px color FFFFFF gt lt a href gisui data SurlDownload gt Click here lt a gt to start the data download of title size MB or a href javascript window close gt click here lt a gt to cancel and close window p echo hr gt register the download first
12. gt query Ssql as row create placemark for each record kml output lt Placemark gt Skml_output 015 012 kml output lt name gt row title name kml output 4015012 kml output description CDATA 54 The KSLOF GIS Data Portal 2009 kml output 015 012 kml output table width 360 border 0 cellspacing 0 cellpadding 0 style color 000066 font family times new roman times serif gt Skml_output 015 012 put title Skml_output lt tr gt kml output 015 012 kml output lt td colspan 2 bgcolor FFFFCC style color 000033 align left gt lt em gt lt span style font weight bold font size 14px gt Srow title lt span gt lt em gt lt td gt Skml_output 015 012 kml output lt tr gt Skml_output 015 012 put the author kml output lt tr gt Skml_output 015 012 Skml_output lt td style color 000033 align left gt em Author lt em gt lt td gt Skml_output 015 012 kml output lt td style color 000033 align left gt Srow author lt td gt Skml_output 015 012 kml output lt tr gt Skml_output 015 012 put publication date kml output lt tr gt Skml_output 015 012 kml output lt td style color 000033 align left gt lt em gt Pub Date lt em gt lt td gt
13. kml output gt lt description gt kml output 015 012 kml output styleUrl itviewer styleUrl kml output 4015012 kml output lt Point gt Skml_output 015 012 kml output coordinates Srow lon Srow lat 0 lt coordinates gt Skml_output 015 012 kml output lt Point gt Skml_output 015 012 kml output lt Placemark gt Skml_output 015 012 enter final footer Skml_output lt Document gt Skml_output 015 012 Skml_output kml kml output 015 012 close the database handler Sdbh null create the file header Content type application vnd google earth kml xml 57 The KSLOF GIS Data Portal 2009 header Content disposition kml filenamezkslof DataPortal kml print kml_output gt 58 The KSLOF GIS Data Portal 2009 DataPortal_GenerateKML php lt php Module DataPortal_GenerateKML php Purpose Recreates the KML files to be server light Author Felimon Gayanilo felimon gayanilo net Date Last Update 23 June 2009 Copyright c 2009 Living Oceans Foundation MD All right reserved echo GENERATING KML FILE lt br gt date default timezone set UTC Stoday getdate echo date DATE RFC822 lt br br gt Sdb SERVER DOCUMENT ROOT kslof data kslof gis sglite echo 1 Opening the d
14. lt input type text namez response id response size 50 maxlength 50 valuez lt td gt lt tr gt lt tr gt td colspan 2 align right gt lt br gt lt td gt lt tr gt lt tr gt lt tr gt lt td colspan 2 align left gt lt label gt lt input type checkbox name iagree id iagree onclick if this checked this form submit disabled 0 else this form submit disabled 1 gt Check this box if you lt span class style15 gt acknowledge lt span gt that you have read lt span class style15 gt and understand the lt a href DataPortal_EULA html target _blank style color CCCCCC gt License Agreement lt a gt and lt span gt you lt span class style15 gt are acknowledging the agreement to be bound by the terms and conditions of the License Agreement lt span gt lt br gt lt label gt lt label gt lt label gt lt td gt lt tr gt lt tr gt lt td colspan 2 align right gt lt br gt lt td gt lt tr gt lt tr gt lt td colspan 2 align right gt lt div align center gt input type submit namez submit value Submit disabled 1 gt amp nbsp input type reset name reset value Reset gt lt br gt lt div gt lt td gt lt tr gt lt table gt lt form gt lt blockquote gt lt end mainContent gt lt div gt 39 The KSLOF GIS Data Portal 2009 lt div class clearfloat gt lt img src images kslof_footer png gt lt div gt lt
15. lt option value HT gt Haiti lt option gt lt option value HM gt Heard and Mc Donald Islands lt option gt lt option value VA gt Holy See Vatican City State lt option gt lt option value HN gt Honduras lt option gt lt option value HK gt Hong Kong lt option gt lt option value HU gt Hungary lt option gt option value IS gt Iceland lt option gt lt option value IN gt India lt option gt option value ID gt Indonesia lt option gt option value IR gt Iran Islamic Republic of lt option gt option valuez IQ lraq option option value IE gt Ireland lt option gt option value IL gt Israel lt option gt option value IT gt Italy lt option gt option value JM gt Jamaica lt option gt option value JP gt Japan lt option gt option value JO gt Jordan lt option gt option value KZ gt Kazakhstan lt option gt option value KE gt Kenya lt option gt option value KI gt Kiribati lt option gt option value KP gt Korea Democratic People s Republic of lt option gt option value KR gt Korea Republic of lt option gt option value KW gt Kuwait lt option gt option value KG gt Kyrgyzstan lt option gt option value LA gt Lao People s Democratic Republic lt option gt option value LV gt Latvia lt option gt option value LB gt Lebanon lt option gt option value LS gt Lesotho lt option gt option value LR gt Liberia
16. lt option value NR gt Nauru lt option gt lt option value NP gt Nepal lt option gt lt option value NL gt Netherlands lt option gt lt option value AN gt Netherlands Antilles lt option gt lt option value NC gt New Caledonia lt option gt lt option value NZ gt New Zealand lt option gt option value NI gt Nicaragua lt option gt lt option value NE gt Niger lt option gt lt option value NG gt Nigeria lt option gt lt option value NU gt Niue lt option gt lt option value NF gt Norfolk Island lt option gt lt option value MP gt Northern Mariana Islands option lt option value NO gt Norway lt option gt lt option value OM gt Oman lt option gt lt option value PK gt Pakistan lt option gt lt option value PW gt Palau lt option gt lt option value PA gt Panama lt option gt lt option value PG gt Papua New Guinea lt option gt lt option value PY gt Paraguay lt option gt lt option value PE gt Peru lt option gt lt option value PH gt Philippines lt option gt lt option value PN gt Pitcairn lt option gt lt option value PL gt Poland lt option gt lt option value PT gt Portugal lt option gt lt option value PR gt Puerto Rico lt option gt lt option value QA gt Qatar lt option gt lt option value RE gt Reunion lt option gt lt option value RO gt Romania lt option gt lt option value RU gt Russian Federation lt option gt
17. option gt lt option value SE gt Sweden lt option gt lt option value CH gt Switzerland lt option gt lt option value SY gt Syrian Arab Republic lt option gt lt option value TW gt Taiwan Province of China lt option gt lt option value TJ gt Tajikistan lt option gt option value TZ gt Tanzania United Republic of lt option gt lt option value TH gt Thailand lt option gt lt option value TG gt Togo lt option gt lt option value TK gt Tokelau lt option gt lt option value TO gt Tonga lt option gt lt option value TT gt Trinidad and Tobago lt option gt lt option value TN gt Tunisia lt option gt lt option value TR gt Turkey lt option gt lt option value TM gt Turkmenistan lt option gt option value TC gt Turks and Caicos Islands lt option gt lt option value TV gt Tuvalu lt option gt lt option value UG gt Uganda lt option gt lt option value UA gt Ukraine lt option gt lt option value AE gt United Arab Emirates lt option gt lt option value GB gt United Kingdom lt option gt lt option value US gt United States lt option gt lt option value UM gt United States Minor Outlying Islands lt option gt lt option value UY gt Uruguay lt option gt lt option value UZ gt Uzbekistan lt option gt lt option value VU gt Vanuatu lt option gt lt option value VE gt Venezuela lt option gt lt option value VN gt Viet Nam lt option gt
18. stopTraversal func root if root hasChildNodes var child root firstChild while stopTraversal amp amp child stopTraversal this preorderTraversal child func try child child nextSibling catch e child null return stopTraversal I Spry Widget TabbedPanels prototype addPanelEventListeners function tab panel var self this Spry Widget TabbedPanels addEventListener tab click function e return self onTabClick e tab false Spry Widget TabbedPanels addEventListener tab mouseover function e return self onTabMouseOver e tab false Spry Widget TabbedPanels addEventListener tab mouseout function e return self onTabMouseOut e tab false if this enableKeyboardNavigation XXX IE doesn t allow the setting of tabindex dynamically This means we can t rely on adding the tabindex attribute if it is missing to enable keyboard navigation by default Find the first element within the tab container that has a tabindex or the first anchor tag var tabIndexEle null var tabAnchorEle null this preorderTraversal tab function node if node nodeType 1 NODE ELEMENT NODE var tabIndexAttr tab attributes getNamedltem tabindex if tabIndexAttr tabIndexEle node return true if ItabAnchorEle amp amp node nodeName toLowerCase a tabAnchorEle node 81 The KSLOF GIS Data Portal 2009 return f
19. Carolina lt option gt lt option value SD gt South Dakota lt option gt lt option value TN gt Tennessee lt option gt lt option value TX gt Texas lt option gt lt option value UT gt Utah lt option gt lt option value VT gt Vermont lt option gt lt option value VA gt Virginia lt option gt lt option value WA gt Washington lt option gt lt option value WV gt West Virginia lt option gt lt option value WI gt Wisconsin lt option gt lt option value WY gt Wyoming lt option gt lt select gt lt td gt lt tr gt lt tr gt lt td gt lt LABEL for pcode ACCESSKEY none gt Postal code lt td gt lt td gt lt input type text name pcode id pcode size 20 maxlength 20 value gt lt td gt lt tr gt lt tr gt lt td gt lt LABEL for country ACCESSKEY none gt Country lt td gt lt td gt lt select name country id country gt option value selected selected gt please select a country lt option gt option value gt none lt option gt option value AF gt Afghanistan lt option gt option value AL gt Albania lt option gt option value DZ gt Algeria lt option gt option value AS gt American Samoa lt option gt lt option value AD gt Andorra lt option gt lt option value AO gt Angola lt option gt option value Al gt Anguilla lt option gt lt option value AQ gt Antarctica lt option gt lt option value AG gt Antigua and Bar
20. Construction lt option gt option value Assessor Cadastral Records Assessor Cadastral Records lt option gt option value Banking Credit Unions Financial Services Banking Credit Unions Financial Services lt option gt option value Cartography gt Cartography lt option gt lt option value Conservation gt Conservation lt option gt lt option value Defense Intelligence gt Defense Intelligence lt option gt lt option value Demographics Census Election gt Demographics Census Election lt option gt lt option value Electric Gas Utility gt Electric Gas Utility lt option gt option value Coastal Environmental Management Coastal Environmental Management lt option gt lt option value Federal Solution gt Federal Solution lt option gt lt option value Forestry gt Forestry lt option gt lt option value Fisheries gt Fisheries lt option gt lt option value GIS Services gt GIS Services lt option gt lt option value Health and Human Services gt Health and Human Services lt option gt lt option value Higher Education gt Higher Education lt option gt option value Insurance gt Insurance lt option gt lt option value K 12 Education gt K 12 Education lt option gt option value Law Enforcement gt Law Enforcement lt option gt lt option value Library Museum gt Library Museum lt option gt lt option value Media Publishing gt Media Publishing lt option gt lt option value Mining gt Mining lt
21. E E 68 IWIENU BAM TERRI EI LOT LI QU ILLUD 69 The KSLOF GIS Data Portal 2009 TabbedP anel S aenn tre dee reor EE ETER EAA N A EAA 76 rH EE A E P E E EE E E T 84 ModsStatusConttol S 5 3 rte rhe tarte ee E Eara EEEE penus uU MS RR EAS 98 List of Tables IURATI 4 List of Figures Figure 1 System architechture of the KSLOF GIS data portal developed and deployed 1 Figure 2 The data portal user interface A Interactive Earth Google interface that displays the location of the data in the repository and maps B Tab functions to quickly move from a graphic interface to table listings C standard drop down menu toaccess and D tmessages epe Rm eon ee A 3 Figure 3 Pop up message when clicking on a data marker in the interface ccccsesssceceeeeessessnteeeeeeeens 4 Figure 4 Pop up message when clicking a marker for map viewers sese 5 Figure 5 A table listing of maps in the repository an alternative to the map interface when retrieving data Depending on the classification of the map some are ready for downloading while others may require special permission to download and use 6 Figure 6 List of viewers that uses the data in the repository or developed jointly with IRSEO SUPP OM ede RP E 7 Figure 7 User registration form iere a ee ta once a o Ene Re dado ccs 8 Figure 8 User authentication Page ccccc
22. created in main initialize code wf DragZoomControl prototype initBackButton_ function buttonContainerDiv var G this globals var backButtonDiv document createElement div backButtonDiv innerHTML G options backButtonHTML DragZoomUtil style backButtonDiv cursor pointer zIndex 200 DragZoomUtil style backButtonDiv G options buttonStartingStyle DragZoomUtil style backButtonDiv G options backButtonStyle buttonContainerDiv appendChild backButtonDiv return backButtonDiv E Sets button mode to zooming or otherwise changes CSS amp HTML param String mode Either zooming or not di DragZoomControl prototype setButtonMode function mode var G this globals if mode zooming G buttonDiv innerHTML G options buttonZoomingHTML DragZoomUtil style G buttonDiv G options buttonStartingStyle DragZoomUtil style G buttonDiv G options buttonZoomingsStyle else G buttonDiv innerHTML G options buttonHTML DragZoomUtil style G buttonDiv G options buttonStartingStyle DragZoomUtil style G buttonDiv G options buttonStyle s called by GMap2 s addOverlay method Creates the zoom control divs and appends to the map div param GMap2 map The map that has had this DragZoomControl added to it return DOM Object Div that holds the gzoomcontrol button DragZoomControl prototype initialize function map var G this globals var me this
23. even cancelled operation Ssql INSERT INTO downloads username map id downloadDate VALUES sql Slogin sql GET map id s sql nim date Y m d H i s myn SDB_conn gt exec Ssql SDB_conn gt commit SDB_conn null catch PDOException Se echo Error Se gt getMessage lt br gt die gt lt div gt lt end mainContent gt lt div gt div class clearfloat gt lt img src images kslof_footer png gt lt div gt lt end container gt lt div gt lt body gt lt html gt 42 The KSLOF GIS Data Portal 2009 DataPortal_Details php lt Module DataPortal Details php Purpose Display the metadata details of the data requested Author Felimon Gayanilo felimon gayanilo net Date Last Update 23 June 2009 Copyright c 2009 Living Oceans Foundation MD All right reserved gt lt DOCTYPE HTML PUBLIC W3C DTD HTML 4 01 Transitional EN http www w3 org TR html4 loose dtd gt lt html gt lt head gt meta http equiv Content Type content text html charset utf 8 gt lt title gt KSLOF Metadata lt title gt lt script src jscript SpryMenuBar js type text javascript gt lt script gt lt link href jscript SpryMenuBarHorizontal css rel stylesheet type text css gt lt link href jscript SpryMenuBarVertical css rel stylesheet type text css gt link href css Da
24. lt option gt option value LY gt Libyan Arab Jamahiriya lt option gt option value LI gt Liechtenstein lt option gt option value LT gt Lithuania lt option gt option value LU gt Luxembourg lt option gt option value MO gt Macau lt option gt option value MK gt Macedonia The Former Yugoslav Republic of lt option gt option value MG gt Madagascar lt option gt option value MW gt Malawi lt option gt option value MY gt Malaysia lt option gt 34 The KSLOF GIS Data Portal 2009 lt option value MV gt Maldives lt option gt lt option value ML gt Mali lt option gt lt option value MT gt Malta lt option gt lt option value MH gt Marshall Islands lt option gt lt option value MQ gt Martinique lt option gt lt option value MR gt Mauritania lt option gt lt option value MU gt Mauritius lt option gt lt option value YT gt Mayotte lt option gt lt option value MX gt Mexico lt option gt lt option value FM gt Micronesia Federated States of lt option gt option value MD gt Moldova Republic of lt option gt lt option value MC gt Monaco lt option gt lt option value MN gt Mongolia lt option gt lt option value MS gt Montserrat lt option gt lt option value MA gt Morocco lt option gt lt option value MZ gt Mozambique lt option gt lt option value MM gt Myanmar lt option gt lt option value NA gt Namibia lt option gt
25. lt option value CA gt Canada lt option gt lt option value CV gt Cape Verde lt option gt lt option value KY gt Cayman Islands lt option gt lt option value CF gt Central African Republic lt option gt lt option value TD gt Chad lt option gt lt option value CL gt Chile lt option gt lt option value CN gt China lt option gt lt option value CX gt Christmas Island lt option gt lt option value CC gt Cocos Keeling Islands lt option gt lt option value CO gt Colombia lt option gt lt option value KM gt Comoros lt option gt lt option value CG gt Congo lt option gt lt option value CD gt Congo the Democratic Republic of the lt option gt lt option value CK gt Cook Islands lt option gt lt option value CR gt Costa Rica lt option gt option value Cl gt Cote d Ilvoire lt option gt lt option value HR gt Croatia Hrvatska lt option gt lt option value CU gt Cuba lt option gt lt option value CY gt Cyprus lt option gt lt option value CZ gt Czech Republic lt option gt lt option value DK gt Denmark lt option gt lt option value DJ gt Djibouti lt option gt lt option value DM gt Dominica lt option gt lt option value DO gt Dominican Republic lt option gt lt option value TP gt East Timor lt option gt lt option value EC gt Ecuador lt option gt lt option value EG gt Egypt lt option gt option value SV gt El Salvador lt option gt lt opti
26. lt option value RW gt Rwanda lt option gt lt option value KN gt Saint Kitts and Nevis lt option gt lt option value LC gt Saint LUCIA lt option gt lt option value VC gt Saint Vincent and the Grenadines lt option gt lt option value WS gt Samoa lt option gt 35 The KSLOF GIS Data Portal 2009 lt option value SM gt San Marino lt option gt lt option value ST gt Sao Tome and Principe lt option gt lt option value SA gt Saudi Arabia lt option gt lt option value SN gt Senegal lt option gt lt option value SC gt Seychelles lt option gt lt option value SL gt Sierra Leone lt option gt lt option value SG gt Singapore lt option gt lt option value SK gt Slovakia Slovak Republic lt option gt option value Sl gt Slovenia lt option gt lt option value SB gt Solomon Islands lt option gt lt option value SO gt Somalia lt option gt lt option value ZA gt South Africa lt option gt option value GS gt South Georgia and the South Sandwich Islands lt option gt lt option value ES gt Spain lt option gt lt option value LK gt Sri Lanka lt option gt lt option value SH gt St Helena lt option gt lt option value PM gt St Pierre and Miquelon lt option gt lt option value SD gt Sudan lt option gt lt option value SR gt Suriname lt option gt lt option value SJ gt Svalbard and Jan Mayen Islands lt option gt option value SZ gt Swaziland lt
27. lt option value VG gt Virgin Islands British lt option gt lt option value VI gt Virgin Islands U S lt option gt lt option value WF gt Wallis and Futuna Islands lt option gt lt option value EH gt Western Sahara lt option gt 36 The KSLOF GIS Data Portal 2009 lt option value YE gt Yemen lt option gt lt option value YU gt Yugoslavia lt option gt lt option value ZM gt Zambia lt option gt option value ZW gt Zimbabwe lt option gt lt select gt lt td gt lt tr gt lt tr gt lt td gt lt LABEL for phone ACCESSKEY none gt Office phone lt td gt lt td gt lt input typez text name phone id phone size 50 maxlengthz 50 value gt lt td gt lt tr gt lt tr gt lt td gt lt LABEL for email ACCESSKEY none gt Email lt td gt lt td gt lt input type text name email idz email size 50 maxlength 50 valuez lt td gt lt tr gt lt tr gt td colspan 2 align right gt lt br gt lt td gt lt tr gt lt tr gt lt td gt lt LABEL for d_industry ACCESSKEY none gt What best describes your industry lt td gt lt td gt lt select name d_industry id d_industry gt option valuez selected selected select from the list lt option gt option value Administrator gt Administrator lt option gt option value Archaelogy gt Archaelogy lt option gt option value Architecture Engineering Construction gt Architecture Engineering
28. lt tr gt lt td gt lt LABEL for address1 ACCESSKEY none gt Street Address lt td gt lt td gt lt input typez text name address1 id address1 sizez 50 maxlength 50 value gt lt td gt lt tr gt lt tr gt lt td gt lt LABEL for address2 ACCESSKEY none gt lt td gt 30 The KSLOF GIS Data Portal 2009 lt td gt lt input type text name address2 id address2 size 50 maxlength 50 value gt lt td gt lt tr gt lt tr gt lt td gt lt LABEL forz city ACCESSKEY none gt City lt td gt lt td gt lt input type text name city idz city size 50 maxlengthz 50 value gt lt td gt lt tr gt lt tr gt lt td gt lt LABEL for state ACCESSKEY none gt State lt td gt lt td gt lt select namec state id state gt option value selected selected select from list if in U S lt option gt lt option value AL gt Alabama lt option gt lt option value AK gt Alaska lt option gt lt option value AZ gt Arizona lt option gt lt option value AR gt Arkansas lt option gt lt option value CA gt California lt option gt lt option value CO gt Colorado lt option gt lt option value CT gt Connecticut lt option gt lt option value DE gt Delaware lt option gt lt option value DC gt Dist of Columbia lt option gt lt option value FL gt Florida lt option gt lt option value GA gt Georgia lt option gt lt option value HI gt Hawaii l
29. map_id Srow id target _blank gt Ready for Download lt a gt lt td gt echo lt tr gt echo table catch PDOException Se Sdbh gt rollBack die delete object Sdbh null gt lt p gt amp nbsp lt p gt lt div gt lt div class TabbedPanelsContent gt lt p style margin left 20px font size 11px color 003366 font family Arial Helvetica sans serif gt NOTE These interactive map viewers are located in a different domain lt p gt lt php try db S_SERVER DOCUMENT_ROOT kslof data kslof_gis sqlite Sdbh new PDO sqlite Sdb start reading the database for viewers echo table width 90 border 1 cellpadding 10 cellspacing 0 style margin left 20px gt echo lt tr gt echo td width 80 align center style font size 11px color 003366 font family Arial Helvetica sans serif gt Viewer Details lt td gt echo lt td width 19 align center style font size 11px color 003366 font family Arial Helvetica sans serif gt External Link lt td gt echo lt tr gt sql SELECT FROM viewers foreach Sdbh gt query Ssql as row echo lt tr gt echo lt td align left style font size 11px color 003366 font family Arial Helvetica sans serif gt echo Title strong Srow label lt strong gt lt br gt 51 The KSLOF GIS Data Portal 2009 echo lt br gt echo Desc
30. modify vacate or enter judgment on the award entered by the arbitrator lt p gt lt p align justify class style2 gt c Restrictions You and Khaled bin Sultan Living Oceans Foundation agree that any arbitration shall be limited to the Dispute between Khaled bin Sultan Living Oceans Foundation and you individually To the full extent permitted by law 1 no arbitration shall be joined with any other 2 there is no right or authority for any Dispute to be arbitrated on a class action basis or to utilize class action procedures and 3 there is no right or authority for any Dispute to be brought in a purported representative capacity on behalf of the general public or any other persons lt p gt lt p align justify classz style2 d Exceptions to Informal Negotiations and Arbitration You and Khaled bin Sultan Living Oceans Foundation agree that the following Disputes are not subject to the above provisions concerning informal negotiations and binding arbitration 1 any Disputes seeking to enforce or protect or concerning the validity of any of your or Khaled bin Sultan Living Oceans Foundation s intellectual property rights 2 any Dispute related to or arising from allegations of theft piracy invasion of privacy or unauthorized use and 3 any claim for injunctive relief lt p gt lt p align justify class style2 gt e Location If you are a resident of the United States any arbitration will take place at any reasonab
31. option gt lt option value Natural Resources gt Natural Resources lt option gt lt option value Petroleum Pipeline gt Petroleum Pipeline lt option gt lt option value Planning Economic Development gt Planning Economic Development lt option gt lt option value Public Safety Emergency Management gt Public Safety Emergency Management lt option gt 37 The KSLOF GIS Data Portal 2009 lt option value Public Works gt Public Works lt option gt lt option value Real Estate gt Real Estate lt option gt lt option value Retail Commercial Business gt Retail Commercial Business lt option gt lt option value Survey gt Survey lt option gt lt option value Telecommunication gt Telecommunication lt option gt lt option value Transportation Fleet Management gt Transportation Fleet Management lt option gt lt option value Water Resources gt Water Resources lt option gt lt option value Others gt Others lt option gt lt select gt lt td gt lt tr gt lt tr gt lt td gt lt LABEL for d_company ACCESSKEY none gt What best describe your company organization lt td gt lt td gt lt select namez d company id d_company gt option value selected selected gt select from the list lt option gt option value City Town Country Government gt City Town Country Government lt option gt lt option value Commercial Private Business gt Commercial Private Business lt option gt lt option value E
32. output kml output 015 012 text S description text 015 012 lt BalloonStyle gt Skml_output Skml_output Skml_output Skml_output kml output kml output 015 012 lt IconStyle gt 015 012 lt scale gt 0 6 lt scale gt 015 012 lt Icon gt 015 012 lt href gt http www kbslof org gisui images open png lt href gt kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output 015 012 lt Icon gt 015 012 lt IconStyle gt 015 012 lt Style gt 015 012 lt Style id viewer gt 015 012 lt BalloonStyle gt 015 012 text S description text 015 012 lt BalloonStyle gt 015 012 lt IconStyle gt 015 012 lt scale gt 0 6 lt scale gt 015 012 lt Icon gt 015 012 lt href gt http www kbslof org gisui images viewer png lt href gt kml output kml output kml output kml output kml output kml output kml output 015 012 lt Icon gt 015 012 lt IconStyle gt 015 012 lt Style gt 015 012 sql SELECT FROM document foreach Sdbh
33. png gt lt div id container gt lt div gt lt div align center gt lt img src images kslof header 01 png width 952 height 133 gt lt ul id KSLOF_DP_Menu class MenuBarHorizontal gt lt li gt lt a href http livingoceansfoundation org target _self gt HOME lt a gt lt li gt lt li gt lt a hrefz DataPortal Map php target _self style Wwidth 180px gt Data Portal Home lt a gt lt li gt lt li gt lt a class MenuBarltemSubmenu href stylez width 250px Online Map Viewers lt a gt lt ul gt lt li gt lt a href http www livingoceansfoundation org index php option com_wrapper amp ltemid 163 target _blank gt St Croix and Buck Island Data Navigator lt a gt lt li gt lt li gt lt a href http lof towson edu LOF standard target _blank gt St Thomas and St John Habitat Mapper lt a gt lt li gt lt ul gt lt li gt lt li gt lt a href style Wwidth 400px height 15px lt a gt lt li gt lt ul gt lt p gt lt br gt lt img src images kslof_header_02 png width 952 height 29 gt lt p gt lt div gt lt div gt div id mainContent gt lt p align center gt lt strong gt END USER AGREEMENT FOR Geographic Information Products lt strong gt lt br gt lt p gt lt blockquote gt 23 The KSLOF GIS Data Portal 2009 lt h2 align justify class style1 style gt BY REGISTERING TO THIS PORTAL AND USING THE Khaled bin Sultan Living Oceans Foundation Geogr
34. provide the username and password created during registration Additionally users are reminded of the generic disclaimer condensed from the EULA Figure 8 Hyperlinks are also provided to register a user and to view the Privacy Statement The KSLOF GIS Data Portal 2009 The data and information contained in the Khaled bin Sultan Living Oceans Foundation KSLOF website is provided as a public service to the Internet community T S website are subject to periodic change Although every attempt will be made to ensure that the information is accurate and timely the data and information is presented as is and without warranties guaranties or representation as to the truth accuracy or completeness of the data provided Information contained on this website should not be mistaken for legal advice an ould not be used as the exclusive basis for decision making Any maps provided should not be used for navigation Use of this we s strictly voluntary and at the user s sole risk KSLOF shall not be held liable for any damages suffered as a result of using modifying contributing or distributing the materials Other resources linked from these pages cannot guarantee their accuracy Stateme the authors e maintained by independent providers KSLOF does not monitor all linked resources and s views and opinions included in an independent provider s material are strictly those of a n t All questions regarding specific contents of this website
35. restriction styleUrl kml output X015X012 kml output lt Point gt Skml_output 015 012 kml output coordinates Srow lon Srow lat 0 lt coordinates gt kml output 015 012 kml output lt Point gt Skml_output 015 012 kml output lt Placemark gt Skml_output 015 012 populate the viewers as well sql SELECT FROM viewers foreach Sdbh query Ssql as row create placemark for each record kml output lt Placemark gt Skml_output 015 012 kml output name Srow label lt name gt kml output 015 012 kml output description CDATA kml output 4015012 kml output table width 360 border 0 cellspacing 0 cellpadding 0 style color 000066 font family times new roman times serif align left gt Skml_output 015 012 put title kml output lt tr gt Skml_output 015 012 kml output lt td colspan 3 bgcolor FFFFCC style color 000033 align left gt lt em gt lt span style font weight bold font size 14px align left gt Srow label lt span gt lt em gt lt td gt Skml_output 015 012 kml output lt tr gt kml output 015 012 put space kml output lt tr gt kml output 015 012 kml output td colspan 3 style color 000033
36. to or arising from allegations of theft piracy invasion of privacy or unauthorized use and 3 any claim for injunctive relief e Location If you are a resident of the United States any arbitration will take place at any reasonable location convenient for you For residents outside the United States any arbitration shall be initiated in the County of San Diego State of California United States of America Any Dispute not subject to arbitration other than claims proceeding in any small claims court or where no election to arbitrate has been made shall be decided by a court of competent jurisdiction within the County of San Diego State of California United States of America and you and the Khaled bin Sultan LIVING OCEANS Foundation agree to submit to the personal jurisdiction of that court f Governing Law Except as expressly provided otherwise this End User License Agreement shall be is governed by and will be construed under the Laws of the United States of America and the law of the State of California without regard to choice of law principles g Severability You and the Khaled bin Sultan LIVING OCEANS Foundation agree that if any portion Section 10 is found illegal or unenforceable except any portion of 10 d that portion shall be severed and the remainder of the Section shall be given full force and effect If Section 10 d is found to be illegal or unenforceable then neither you nor the Khaled bin Sultan LIVING OCEANS Fou
37. var mapDiv map getContainer Create div for both buttons var buttonContainerDiv document createElement div DragZoomUtil style buttonContainerDiv cursor pointer ziIndex 150 create and init the zoom button DOM button var buttonDiv this initButton buttonContainerDiv create and init the back button DOM button var backButtonDiv this initBackButton buttonContainerDiv 88 The KSLOF GIS Data Portal 2009 Add the two buttons to the map mapDiv appendChild buttonContainerDiv DOM map covers var zoomDiv document createElement div var DIVS TO CREATE outlineDiv cornerTopDiv cornerLeftDiv cornerRightDiv cornerBottomDiv for var i0 i DIVS TO CREATE length i var id DIVS TO CREATE i var div document createElement div DragZoomutil style div position absolute display none zoomDiv appendChild div G id div DragZoomutil style zoomDiv position absolute display none overflow hidden cursor crosshair zIndex 101 mapDiv appendChild zoomDiv add event listeners GEvent addDomListener buttonDiv click function e me buttonclick_ e GEvent addDomListener backButtonDiv click function e f me backbuttonclick e GEvent addDomListener zoomDiv mousedown function e me coverMousedown_ e GEvent addDomListener document mousemove function e me drag e GEv
38. 007 0 classifi seyche NULL 5 88745 53 026 0 6 02 Seychelles startDate ji 8 Marie ESRIS Khaled 2007 0 1 This is 2005 0 2007 0 classifi seyche NULL 6 186 53 143 1 0 Seychelles endDate j Poivre ESRIS Khaled 2007 0 1 This is 2005 0 2007 0 classifi seyche NULL 5 757 53 306 0 13 6 Seychelles restriction 10 Remire ESRI S Khaled 2007 0 1 This is 2005 0 2007 0 classifi seyche NULL 5 097 53 349 0 16 2 Seychelles urlDownload 11 Sand C ESRI S Khaled 2007 0 1 This is 2005 0 2007 0 classifi seyche NULL 5 648 53 234 0 619 Seychelles urlinteractive 12 St Jos ESRIS Khaled 2007 0 1 This is 2005 0 2007 0 classifi seyche NULL 5430 53 340 0 119 Seychelles ii lat 13 St Joh ESRI S Khaled 2005 0 1 The go 2001 0 2005 0 open usvi_st http 18 344 64 71 0 129 USVI U S A lon 14 St Tho GeoTIF Khaled 2005 0 1 The go 2001 0 2005 0 open usvi_st http 18 333 64 90 0 184 USVI U S A ll status size location Jacu lt lt lt 1 to 14 of 14 gt gt b users 5 A SQLite3 6 7 Gecko 1 9 0 11 0 48 Shared Number of Rows Returned 6 ET 12 Figure 9 SQLite Manager interface with all of the basic modules needed to manage the kslof_gis sqlite database 11 The KSLOF GIS Data Portal 2009 Updating th
39. 12 Skml_output td style color 000033 align left gt em Pub Date lt em gt lt td gt Skml_output 015 012 kml output lt td style color 000033 align left gt Srow pubDate lt td gt Skml_output 015 012 kml output lt tr gt Skml_output 015 012 put data type kml output lt tr gt Skml_output 015 012 kml output lt td style color 000033 align left gt em Data Type lt em gt lt td gt Skml_output 015 012 Skml_output lt td style color 000033 align left gt Srow type lt td gt Skml_output 015 012 kml output lt tr gt Skml_output 015 012 put space Skml_output lt tr gt kml output 015 012 kml output td colspan 2 style color 000033 align left gt amp nbsp td kml output 4015012 kml output lt tr gt kml output 4015012 put link to more details 61 The KSLOF GIS Data Portal 2009 Skml_output lt tr gt kml output 015 012 Skml_output lt td colspan 2 bgcolor FFFFCC style color 000033 font size 11px align left gt a href http www kbslof org gisui DataPortal_Details php map_id Srow id gt Click here lt a gt for more information lt td gt Skml_output 015 012 Skml_output lt tr gt kml output 015 012 kml output lt table gt k
40. Administrative and user guide to the portal An interactive Graphic User Interface GUI was designed and developed to facilitate the access of GIS data from the Khaled bin Sultan Living Oceans Foundation data repositories This document describes the system developed for internet access and how to manage the dynamic pages via the supporting database Felimon Gayanilo and Amanda Williams Khaled bin Sultan Living Oceans Foundation MD 6 22 2009 The KSLOF GIS Data Portal 2009 The KSLOF GIS Data Portal Administrative and user guide to the portal Felimon Gayanilo Senior Software Engineer 10722 NW 11th St Pembroke Pines FL 33026 and Amanda Williams GIS Analyst Khaled bin Sultan Living Oceans Foundation 8181 Professional Place Suite 215 Landover MD 20785 2009 Bibliographic Citation Gayanilo F and A Williams 2009 The KSLOF GIS Data Portal Administrative and user guide to the portal Khaled bin Sultan Living Oceans Foundation Landover MD 105p DISCLAIMER Copyright 2009 Khaled bin Sultan Living Oceans Foundation MD All rights reserved You may print reproduce retrieve or use the information and images contained in this document and the software for noncommercial personal or educational purposes only provided that you 1 do not modify such information and 2 include both this notice and any copyright notices originally included with such information If material is used for other purposes you m
41. DING WITHOUT LIMITATION LOSS OF DATA LOSS OF GOODWILL WORK STOPPAGE COMPUTER FAILURE OR MALFUNCTION OR ANY AND ALL OTHER DAMAGES OR LOSSES KHALED BIN SULTAN LIVING OCEANS FOUNDATION SHALL NOT BE RESPONSIBLE FOR ANY INTERRUPTIONS OF SERVICE SOFTWARE OR HARDWARE FAILURES OR ANY OTHER EVENT WHICH MAY RESULT IN A LOSS OF DATA OR DISRUPTION OF SERVICE IN NO EVENT WILL KHALED BIN SULTAN LIVING OCEANS FOUNDATION BE LIABLE TO YOU FOR ANY INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES You hereby agree to defend indemnify and hold Khaled bin Sultan Living Oceans Foundation harmless from and against any claim liability loss injury damage cost or expense including reasonable attorneys fees incurred by Khaled bin Sultan Living Oceans Foundation arising out of or from your use of the downloaded data Some states do not allow the exclusion or limitation of incidental or consequential damages so the above limitations may not apply to you lt p gt p align justify class style2 gt 8 Equitable Remedies lt p gt lt p align justify class style2 gt You hereby agree that Khaled bin Sultan Living Oceans Foundation would be irreparably damaged if the terms of this License Agreement were not specifically enforced and therefore you agree that Khaled bin Sultan Living Oceans Foundation shall be entitled without bond other security or proof of damages to appropriate equitable remedies with respect to breaches of this License Agr
42. DO NOT AGREE TO THE TERMS OF THIS AGREEMENT YOU ARE NOT PERMITTED TO DOWNLOAD OR USE THIS PORTAL All data files that are delivered to you by the Khaled bin Sultan LIVING OCEANS Foundation Inc is the copyrighted work of the Khaled bin Sultan LIVING OCEANS Foundation Inc Any and all uses of the data downloaded from this portal are governed by the terms of this End User License Agreement License Agreement or Agreement The Khaled bin Sultan LIVING OCEANS Foundation data are distributed solely for use by authorized end users according to the terms of the License Agreement Any use reproduction modification or distribution of the data downloaded not expressly authorized by the terms of the License Agreement is expressly prohibited NOT FOR NAVIGATION All Khaled bin Sultan LIVING OCEANS Foundation GIS data are unsuitable for navigation and must not be used for navigation of any kind 1 Grant of a Limited Use License Subject to your agreement to and continuing compliance with this License Agreement Khaled bin Sultan LIVING OCEANS Foundation grants and you hereby accept a limited non exclusive license to a install the data on one or more computers owned by you or under your legitimate control and b use the software and data files in conjunction with the Service for your non commercial educational and scientific research purposes only All use of the data downloaded from this portal are subject to this License Agreement and to the Terms o
43. ElementByld organization value msg Organization n if document getElementByld address1 value msg Street address n if document getElementByld city value msg City n if document getElementByld email value msg Email n if document getElementByld d_industry value msg Best description of your industry n if document getElementByld d_organization value msg Best describe your company organization n if document getElementByld d_role value msg Best description of your role n if document getElementByld challenge value msg Challenge question n if document getElementByld response value msg Response to the challenge question n if document getElementByld country value msg Country n if msg alert The form is incomplete The following fields are empty or invalid n n msg return false Jelse return true lt script gt 29 The KSLOF GIS Data Portal 2009 lt blockquote class style2 gt lt p class style15 gt NOTE User registration is free lt a href DataPortal_Privacy html target _blank style color FFFFFF gt Click here lt a gt to view KSLOF privacy statement lt p gt form name registration action DataPortal_Save_User php method POST enctype application x www form urlencoded onsubmit return verifyMe style font size 12px font fami
44. F GIS Data Portal 2009 downloads INNER JOIN users ON downloads username users username WHERE users country US r 8 SQLite Manager Database Table Index View Trigger Tools Help 2 Refresh D Gp mop E m Directoy gt Select Profile Database Go Structure Browse amp Search Execute SQL DB Settings gt Master Table 1 Enter SQL Select Data Manipulation Create Alter Drop Relndex PRAGMA 4 Tables 4 SELECT document COUNT users country AS Total Count gt downloads FROM gt users gt viewers downloads INNER JOIN users ON downloads username users username gt Views 0 WHERE gt Indexes 1 users country US gt Triggers 0 Last Error notan error Total Count 64 SQLite3 6 7 Gecko 1 9 0 11 048 Shared Number of Rows Returned 1 Figure 11 SQLite Manager interface showing the results of the SOL execution to count records downloaded by a U S based user The following may also be used to query the database Figure 12 SELECT users firstname downloads downloaaDate document title users lastname FROM downloads INNER JOIN users ON downloads username users username INNER JOIN document ON downloads map_id document id GROUP BY downloads downloaaDate document title users firstname users lastname 13 The KSLOF GIS Data Portal 2009 ORDER BY users
45. Map Download Registration C E a Figure 1 System architechture of the KSLOF GIS data portal from development to deployment Monitoring User The KSLOF GIS Data Portal 2009 This system has three major modules Data Discovery Cataloging and Monitoring The Data Discovery module includes two dynamic interfaces the interactive Google Earth map with markers and links to the data a table listing of maps in the repository and a table listing of interactive map viewers The Cataloging module uses third party utilities to encode and manage the SQLite database backend SQLite the most widely deployed SQL database engine was selected for this portal as it is a self contained serverless zero configuration open source and easy to manage system The Monitoring module contains a series of user interfaces to facilitate the free registration of the users of the data and components to track files registered users have downloaded The Graphic User Interface This portal was designed to be deployed on a web server and tested with commonly used browsers e g Microsoft Internet Explorer 7 x and 8 x Mozilla Firefox Apple Safari Google Chrome and Opera Unite This means that if you can open a standard website this portal will also work albeit slow if the memory of the client s computer is slow and not enough hard disk space for temporary storage of data It is important to note that some of the portal modules
46. Mouse Click 18 370166 64 456787 Figure 3 Pop up message when clicking on a data marker in the interface The KSLOF GIS Data Portal 2009 A similar balloon message will be displayed when clicking on a marker for map viewers Figure 4 The pop up message provides a snapshot of the user interface of the interactive map viewer developed by KSLOF in partnership with other organizations Table Listing of Maps Table Listing of Map Viewers NOTE The geo markers in the map are areas vhere maps or interactive map viewers are available Some markers may overlap vith neighboring markers Zoom to the area of interest to reveal other maps St Thomas and St John Habitat Maps Satellite No Overlays z The goals were to improve the mapping of reefs to hn junderstand patterns and dynamics of reef communities and to improve the use of habitat maps for conservation During 2001 the Living Oceans Foundation supported Dr Mumby in collecting high resolution multi spectral imagery from an instrument 4 mounted on a seaplane Click here to open the interactive map viewer l TETTE I ITI IT Tete te ete te te tel Mouse LatLon 18 505657 63 976135 Mouse Click 19 217803 65 684509 Figure 4 Pop up message when clicking a map viewer marker It is important to note that these map viewers are hosted on a different domain Depending on the configuration of the Internet browser in use warning messages might be promp
47. MousePosition function e var posX 0 var posY 0 if 1e var e window event if e pageX e pageY posX e pageX posY e pageY else if e clientX e clientY posX e clientX document documentElement scrollLeft document documentElement scrollLeft document body scrollLeft posY e clientY document documentElement scrollTop document documentElement scrollTop document body scrollTop 96 The KSLOF GIS Data Portal 2009 return left posX top posY y Gets position of element param Object element return Object Describes position I DragZoomUtil getElementPosition function element var leftPos element offsetLeft initialize var to store calculations var topPos element offsetTop initialize var to store calculations var parElement element offsetParent identify first offset parent element while parElement null move up through element hierarchy leftPos parElement offsetLeft appending left offset of each parent topPos parElement offsetTop parElement parElement offsetParent until no more offset parents exist return left leftPos top topPos y Applies styles to DOM objects param String Object elements Either comma delimited list of ids or an array of DOM objects param Object styles Hash of styles to be applied f DragZoomUtil style function elements styles if typeof elements strin
48. OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE JS EEOEOOR a R AREAL ELAR LEA EL ALE LER AEA OIOIOR ORO IO e ION ioa a ii i e o SpryMenuBar js This file handles the JavaScript for Spry Menu Bar You should have no need to edit this file Some highlights of the MenuBar object is that timers are used to keep submenus from showing up until the user has hovered over the parent menu item for some time as well as a timer for when they leave a submenu to keep showing that submenu until the timer fires NIORACIORGEROEOIORDOESIORIOIOIOE NOEDIOIOE A aK e SETAE SELLA EASES ELLE EERE SELATAN EEE ERMA EA EE LEA Modified by Felimon Gayanilo University of Miami 2009 WARNING Do not distribute this version Always refer to original copy var Spry if ISpry Spry if ISpry Widget Spry Widget 69 The KSLOF GIS Data Portal 2009 Constructor for Menu Bar element should be an ID of an unordered list lt ul gt tag preloadimage1 and preloadimage2 are images for the rollover state of a menu Spry Widget MenuBar function element opts this init element opts E Spry Widget MenuBar prototype init function element opts this element this getElement element represents the current sub menu we are operating on this currMenu null var isie typeof document all undefined amp amp typeof window opera undefined amp amp navigator vendor
49. S IS WITHOUT WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF CONDITION UNINTERRUPTED USE MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT The entire risk arising out of use or performance of the downloaded data remains with the user 7 Limitation of Liability Indemnity THE KHALED BIN SULTAN LIVING OCEANS FOUNDATION SHALL NOT BE LIABLE IN ANY WAY FOR ANY LOSS OR DAMAGE OF ANY KIND ARISING OUT OF THE DOWNLOADED DATA OR ANY USE OF THIS DATA 16 The KSLOF GIS Data Portal 2009 PORTAL INCLUDING WITHOUT LIMITATION LOSS OF DATA LOSS OF GOODWILL WORK STOPPAGE COMPUTER FAILURE OR MALFUNCTION OR ANY AND ALL OTHER DAMAGES OR LOSSES THE KHALED BIN SULTAN LIVING OCEANS FOUNDATION SHALL NOT BE RESPONSIBLE FOR ANY INTERRUPTIONS OF SERVICE SOFTWARE OR HARDWARE FAILURES OR ANY OTHER EVENT WHICH MAY RESULT IN A LOSS OF DATA OR DISRUPTION OF SERVICE IN NO EVENT WILL THE KHALED BIN SULTAN LIVING OCEANS FOUNDATION BE LIABLE TO YOU FOR ANY INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES You hereby agree to defend indemnify and hold The Khaled bin Sultan LIVING OCEANS Foundation harmless from and against any claim liability loss injury damage cost or expense including reasonable attorneys fees incurred by the Khaled bin Sultan LIVING OCEANS Foundation arising out of or from your use of the downloaded data Some states do not allow the exclusion or
50. Skml_output td colspan 3 style color 000033 alignz left amp nbsp td Skml_output 015 012 kml output lt tr gt Skml_output 015 012 62 The KSLOF GIS Data Portal 2009 put the image and description Skml_output lt tr gt kml output 015 012 kml output lt td style color 000033 align left valign top gt lt img src Srow image width 100 height 98 gt lt td gt kml output 015 012 kml output td style color 000033 align left gt amp nbsp lt td gt kml output 015 012 kml output td style color 000033 align left gt lt div align justify style font size 11px font family Arial Helvetica sans serif gt Srow description lt div gt lt td gt Skml_output 015 012 Skml_output lt tr gt kml output 015 012 put space Skml_output lt tr gt Skml_output 015 012 Skml_output lt td colspan 3 style color 000033 align left gt amp nbsp lt td gt Skml_output 015 012 Skml_output lt tr gt kml output 015 012 put the link Skml_output lt tr gt Skml_output 015 012 Skml_output lt td colspan 3 bgcolor FFFFCC style color 000033 font size 11px align left gt a hrefz Srow url gt Click here lt a gt to open the interactive map viewer lt td gt kml output 015 012 Skml_outpu
51. Spry Widget TabbedPanels prototype getElement function ele if ele amp amp typeof ele string return document getElementByld ele return ele Spry Widget TabbedPanels prototype getElementChildren function element var children var child element firstChild while child if child nodeType 1 Node ELEMENT_NODE children push child child child nextSibling return children b Spry Widget TabbedPanels prototype addClassName function ele className if lele IclassName ele className amp amp ele className search new RegExp b className b 1 77 The KSLOF GIS Data Portal 2009 return ele className ele className className E Spry Widget TabbedPanels prototype removeClassName function ele className if lele className ele className amp amp ele className search new RegExp b className b 1 return ele className ele className replace new RegExp s b className b g E Spry Widget TabbedPanels setOptions function obj optionsObj ignoreUndefinedProps if loptionsObj return for var optionName in optionsObj if ignoreUndefinedProps amp amp optionsObj optionName undefined continue obj optionName optionsObj optionName Spry Widget TabbedPanels prototype getTabGroup function if this element var children this getElementChildren th
52. a statement of reasons unless requested by a party The arbitrator must follow applicable law and any award may be challenged if the arbitrator fails to do so Except as otherwise provided in this End User License Agreement you and the Khaled bin Sultan LIVING OCEANS Foundation may litigate in court to compel arbitration stay proceeding pending arbitration or to confirm modify vacate or enter judgment on the award entered by the arbitrator c Restrictions You and the Khaled bin Sultan LIVING OCEANS Foundation agree that any arbitration shall be limited to the Dispute between the Khaled bin Sultan LIVING OCEANS Foundation and you individually To the full extent permitted by law 1 no arbitration shall be joined with any other 2 there is no right or authority for any Dispute to be arbitrated on a class action basis or to utilize class action procedures and 3 there is no right or authority for any Dispute to be brought in a purported representative capacity on behalf of the general public or any other persons d Exceptions to Informal Negotiations and Arbitration You and the Khaled bin Sultan LIVING OCEANS Foundation agree that the following Disputes are not subject to the above provisions concerning informal negotiations and binding arbitration 1 any Disputes seeking to enforce or protect or concerning the validity of any of your or the Khaled bin Sultan LIVING OCEANS Foundation s intellectual property rights 2 any Dispute related
53. align left gt amp nbsp lt td gt kml output 4015012 kml output lt tr gt kml output 015 012 put the image and description kml output lt tr gt kml output 015 012 56 The KSLOF GIS Data Portal 2009 kml output lt td style color 000033 align left valign top gt lt img src row image widthz 100 height 98 gt lt td gt Skml_output 015 012 kml output lt td style color 000033 align left gt amp nbsp lt td gt Skml_output 015 012 kml output lt td style color 000033 align left gt lt div align justify style font size 11px font family Arial Helvetica sans serif gt Srow description lt div gt lt td gt kml output 015 012 kml output lt tr gt kml output 4015012 put space kml output lt tr gt kml output 015 012 kml output lt td colspan 3 style color 000033 alignz left amp nbsp td kml output 015 012 Skml_output lt tr gt Skml_output 015 012 put the link Skml_output lt tr gt kml output 015 012 Skml_output td colspan 3 bgcolor FFFFCC style color 000033 font size 11px align left gt URL Srow url lt td gt kml output 4015012 Skml_output lt tr gt kml output 015 012 kml output lt table gt kml output 015 012
54. alse if tabIndexEle this focusElement tablIndexEle else if tabAnchorEle this focusElement tabAnchorEle if this focusElement Spry Widget TabbedPanels addEventListener this focusElement focus function e return self onTabFocus e tab false Spry Widget TabbedPanels addEventListener this focusElement blur function e return self onTabBlur e tab false Spry Widget TabbedPanels addEventListener this focusElement keydown function e return self onTabKeyDown e tab false Spry Widget TabbedPanels prototype showPanel function elementOrlndex var tplndex 1 if typeof elementOrlndex number tplndex elementOrIndex else Must be the element for the tab or content panel tpIndex this getTabIndex elementOrIndex if Itplndex lt O tplndex gt this getTabbedPanelCount return var tabs this getTabs var panels this getContentPanels var numTabbedPanels Math max tabs length panels length for var i 0 i numTabbedPanels i if i tplndex if tabs i this removeClassName tabs i this tabSelectedClass if panels i this removeClassName panels i this panelVisibleClass panels i style display none this addClassName tabs tpIndex this tabSelectedClass 82 The KSLOF GIS Data Portal 2009 this addClassName panels tpIndex this panelVisibleClass panels tpIndex style display
55. alt width 16 height 16 gt User Registration lt strong gt lt p gt lt span gt lt p align justify gt lt span class style1 gt A users registration is required to download the data lt span gt lt span class style10 gt lt a href DataPortal_Registry html target _blank gt lt span class style1 gt Click here lt span gt lt a gt lt span gt lt span class style1 gt if you have not registered Registration is free lt span gt lt p gt lt hr gt lt span class style1 gt 49 The KSLOF GIS Data Portal 2009 lt p style color FFCC33 gt lt strong gt lt img src images pin png alt width 16 height 16 gt Direct KML Access lt strong gt lt p gt lt p align justify gt Direct KML call from Earth Google is also possible lt a href DataPortal_GenerateKML_Public php gt lt span class style1 gt Click here lt span gt lt a gt if you want to download the KML file lt p gt lt hr gt lt span gt lt div gt lt div id mainContent gt lt div id TabbedPanels1 class TabbedPanels gt lt ul class TabbedPanelsTabGroup gt lt li class TabbedPanelsTab style3 tabindex 0 gt Interactive Map lt li gt lt li class TabbedPanelsTab style3 tabindex 0 gt Table Listing of Maps lt li gt lt li class TabbedPanelsTab tabindex 0 gt Table Listing of Map Viewers lt li gt lt ul gt lt div class TabbedPanelsContentGroup gt lt span class TabbedPanelsContent gt p align justi
56. aphic Information Products YOU AGREE TO BE BOUND BY THE TERMS OF THIS AGREEMENT IF YOU DO NOT AGREE TO THE TERMS OF THIS AGREEMENT YOU ARE NOT PERMITTED TO DOWNLOAD OR USE THIS PORTAL lt h2 gt lt blockquote gt lt p align justify class style2 gt All data files that are delivered to you by Khaled bin Sultan Living Oceans Foundation Inc is the copyrighted work of Khaled bin Sultan Living Oceans Foundation Inc Any and all uses of the data downloaded from this portal are governed by the terms of this End User License Agreement amp quot License Agreement amp quot or amp quot Agreement amp quot The Khaled bin Sultan Living Oceans Foundation data are distributed solely for use by authorized end users according to the terms of the License Agreement Any use reproduction modification or distribution of the data downloaded not expressly authorized by the terms of the License Agreement is expressly prohibited NOT FOR NAVIGATION All Living Oceans Foundation GIS data are unsuitable for navigation and must not be used for navigation of any kind lt p gt p align justify class style2 gt 1 Grant of a Limited Use License Subject to your agreement to and continuing compliance with this License Agreement Khaled bin Sultan Living Oceans Foundation grants and you hereby accept a limited non exclusive license to a install the data on one or more computers owned by you or under your legitimate control and b use the software and data
57. ar cboGrid document createElement SELECT cboGrid id cboGrid this unique var o document createElement OPTION o text No Overlays o value 0 cboGrid options add o var o document createElement OPTION o text Labels o value 1 cboGrid options add o 47 The KSLOF GIS Data Portal 2009 cboGrid selectedIndex 0 cboGrid title Select an overlay container appendChild cboGrid var ReliefMap this ReliefMap GEvent addDomListener cboGrid change function map clearOverlays redraw the points with data var geoXml new GGeoxml http www kbslof org gisui data kslof_DataPortal kml map addOverlay geoXml var cboGrid document getElementByld cboGrid unique if cboGrid options cboGrid selectedIndex value 1 Radar map requested map addOverlay new GTileLayerOverlay G_HYBRID_MAP getTileLayers 1 Dr map getContainer appendChild container return container MapTypeControl prototype getDefaultPosition function return new GControlPosition G_ANCHOR_TOP_RIGHT new GSize 7 7 function load if GBrowserlsCompatible var geoXml new GGeoXml http www kbslof org gisui data kslof DataPortal kml var map new GMap2 document getElementByld map draggableCursor crosshair map addControl new MapTypeControl map addControl new GScaleControl map setCenter new GLatLng 3 2000 8 5000 2 map addControl new GOverviewMapContro
58. ar ne G map fromContainerPixelToLatLng nepx var se G map fromContainerPixelToLatLng sepx var sw G map fromContainerPixelToLatLng swpx var zoomAreaPoly new GPolyline nw ne se sw nw G style outlineColor G style outlineWidth 1 4 try G map addOverlay zoomAreaPoly setTimeout function G map removeOverlay zoomAreaPoly G options overlayRemoveTime catch e var polyBounds zoomAreaPoly getBounds var ne polyBounds getNorthEast var sw polyBounds getSouthWest var se new GLatLng sw lat ne Ing var nw new GLatLng ne lat sw Ing if G options rightMouseZoomOutEnabled amp amp G draggingRightMouse var mapSpan G map getBounds toSpan var polySpan polyBounds toSpan var dSize Math max mapSpan lat polySpan lat mapSpan Ing polySpan Ing var zoomLevel G map getZoom Math ceil Math log dSize 2 else var zoomLevel G map getBoundsZoomLevel polyBounds var center polyBounds getCenter G map setCenter center zoomLevel invoke callback if provided if G callbacks dragend null G callbacks dragend nw ne se sw nwpx nepx sepx swpx 92 The KSLOF GIS Data Portal 2009 re init if sticky if G options stickyZoomEnabled GLog write stickyZoomEnabled re initting this initCover_ if G options backButtonEnabled this saveBackContext_ G options backButtonHTML false save the map context for back b
59. atatbase br gt try Sdbh new PDO sqlite Sdb Sdbh gt setAttribute PDO ATTR_ERRMODE PDO ERRMODE_EXCEPTION catch PDOException Se Sdbh gt rollBack echo Error Se gt getMessage lt br gt die place the header inside a lt document gt tag echo 2 Memory writing the KML lt br gt Skml_output xml version 1 0 encoding UTF 8 gt Skml_output 015 012 Skml_output kml xmlnsz http www opengis net kml 2 2 kml output 015 012 Skml_output Document Skml_output 015 012 Skml_output Style id classified kml output 015 012 kml output BalloonStyle kml output 015 012 kml output lt text gt description lt text gt Skml_output 015 012 kml output lt BalloonStyle gt Skml_output 015 012 kml output lt IconStyle gt Skml_output 015 012 kml output lt scale gt 0 6 lt scale gt Skml_output 015 012 Skml_output lt Icon gt kml output 015 012 kml output lt href gt http www kbslof org gisui images classified png lt href gt Skml_output 015 012 kml output lt Icon gt Skml_output 015 012 59 kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output k
60. ateStatus function var center this map getCenter var zoom this map getZoom var bounds this map getBounds var SW bounds getSouthWest var NE bounds getNorthEast if this DMS this centerDisplay innerHTML Map amp nbsp Center amp nbsp amp nbsp amp nbsp this degToDms center lat amp nbsp this degToDms center Ing this swDisplay innerHTML Map amp nbsp SW amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp this degToDms SW lat amp nbsp this degToDms SW Ing this neDisplay innerHTML Map amp nbsp NE amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp this degToDms NE lat amp nbsp this degToDms NE Ing this zDisplay innerHTML Map amp nbsp Zoom amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp zoom else this centerDisplay innerHTML Map amp nbsp Center amp nbsp center lat toFixed 6 amp nbsp center Ing toFixed 6 this swDisplay innerHTML Map amp nbsp SW amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp SW lat toFixed 6 amp nbsp SW Ing toFixed 6 this neDisplay innerHTML Map amp nbsp NE amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp NE lat toFixed 6 amp nbsp NE Ing toFixed 6 this zDisplay innerHTML Map amp nbsp Zoom amp nbsp amp nbsp amp nbsp zoom this MUpdateStatus return this container MStatusContro
61. ated All rights reserved Redistribution and use in source and binary forms with or without modification are permitted provided that the following conditions are met Redistributions of source code must retain the above copyright notice this list of conditions and the following disclaimer Redistributions in binary form must reproduce the above copyright notice this list of conditions and the following disclaimer in the documentation and or other materials provided with the distribution Neither the name of Adobe Systems Incorporated nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES LOSS OF USE DATA OR PROFITS OR BUSINESS INTERRUPTION HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY OR TORT INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE
62. boMap id cboMap this unique map addMapType G PHYSICAL MAP var min 0 46 The KSLOF GIS Data Portal 2009 var max 12 var license lt a href http www maps for free com html about html target _blank gt License lt a gt var copyright new GCopyright 1 new GLatLngBounds new GLatLng 90 180 new GLatLng 90 180 0 license var copyrightCollection new GCopyrightCollection Relief Maps copyrightCollection addCopyright copyright Relief Map to the list var relief new GTileLayer copyrightCollection min max relief 0 getTileUrl function a b return http maps for free com layer relief z b row t ayt b t axt ay jpg reliefLayer new GMapType relief G SATELLITE MAP getProjection Relief minResolution min maxResolution max map addMapType reliefLayer map setMapType G_SATELLITE_MAP map removeMapType G_HYBRID_MAP var mts map getMapTypes for var i 0 i lt mts length i var o document createElement OPTION o text mts i getName o value i cboMap options add o cboMap selectedIndex 1 terrain map is the default cboMap title Select the basemap type container appendChild cboMap var unique this unique GEvent addDomListener cboMap change function var sel document getElementByld cboMap unique var mt1 map getMapTypes sel options sel selectedIndex value map setMapType mt1 v
63. buda lt option gt lt option value AR gt Argentina lt option gt lt option value AM gt Armenia lt option gt lt option value AW gt Aruba lt option gt lt option value AU gt Australia lt option gt lt option value AT gt Austria lt option gt lt option value AZ gt Azerbaijan lt option gt lt option value BS gt Bahamas lt option gt lt option value BH gt Bahrain lt option gt lt option value BD gt Bangladesh lt option gt lt option value BB gt Barbados lt option gt lt option value BY gt Belarus lt option gt lt option value BE gt Belgium lt option gt option value BZ gt Belize lt option gt option value BJ gt Benin lt option gt lt option value BM gt Bermuda lt option gt lt option value BT gt Bhutan lt option gt lt option value BO gt Bolivia lt option gt lt option value BA gt Bosnia and Herzegowina lt option gt 32 The KSLOF GIS Data Portal 2009 lt option value BW gt Botswana lt option gt lt option value BV gt Bouvet Island lt option gt lt option value BR gt Brazil lt option gt option value 1O gt British Indian Ocean Territory lt option gt lt option value BN gt Brunei Darussalam lt option gt lt option value BG gt Bulgaria lt option gt lt option value BF gt Burkina Faso lt option gt option value BI gt Burundi lt option gt lt option value KH gt Cambodia lt option gt lt option value CM gt Cameroon lt option gt
64. by a court of competent jurisdiction within the County of San Diego State of California United States of America and you and Khaled bin Sultan Living Oceans Foundation agree to submit to the personal jurisdiction of that court lt br gt lt p gt lt p class style2 gt 11 Miscellaneous lt p gt lt p align justify class style2 gt This License Agreement constitutes and contains the entire agreement between the parties with respect to the subject matter hereof and supersedes any prior oral or written agreements provided however that this Agreement shall coexist with and shall not supersede the Terms of Use To the extent that the provisions of this Agreement conflict with the provisions of the Terms of Use the conflicting provisions in the Terms of Use shall govern lt br gt lt p gt lt p align right class style2 gt lt span class style3 gt 2009 Khaled bin Sultan Living Oceans Foundation Inc All rights reserved lt span gt lt p gt lt p align center gt lt a href javascript window close onMouseOut MM swaplmgRestore onMouseOverz MM swaplmage CloseWindow images closeWindow down png 1 img src images closeWindow_up png alt Close Window name CloseWindow width 180 height 28 border 0 gt lt a gt lt p gt lt div gt div class clearfloat gt lt img src images kslof_footer png gt lt div gt 26 The KSLOF GIS Data Portal 2009 lt end container gt lt
65. cally swap images on mouse over Author Felimon Gayanilo felimon gayanilo net Date Last Update 23 June 2009 Copyright c 2009 Living Oceans Foundation MD All right reserved function MM swaplmgRestore v3 0 var i x azdocument MM sr for iz0 a amp amp i a length amp amp x a i amp amp x oSrc i x src x oSrc function MM preloadImages v3 0 var d document if d images if Id MM p d MM pznew Array var i j d MM_p length a MM_preloadimages arguments for i 0 i lt a length i if a i indexOf 0 d MM_p jJ new Image d MM_p j src al i function MM_findObj n d v4 01 var p i x if d d document if p n indexOf gt O amp amp parent frames length d parent frames n substring p 1 document n n substring 0 p if x d n amp amp d all x d all n for i 0 x amp amp i lt d forms length i x d forms i n for i 0 x amp amp d layers amp amp i lt d layers length i x MM_findObj n d layers i document if Ix amp amp d getElementByld x d getElementByld n return x function MM swaplmage v3 0 var i j 0 x a MM_swaplmage arguments document MM sr new Array for i 0 i lt a length 2 i 3 if x MM_findObj a i null document MM_sr j x if x oSrc x oSrc x src x src a i 2 68 The KSLOF GIS Data Portal 2009 MenuBar js SpryMenuBar js Revision Spry Preview Release 1 4 Copyright c 2006 Adobe Systems Incorpor
66. ckDisplay document createElement td this setStyleValue this clickDisplay oRow appendcChild this clickDisplay HM this mouseDisplay innerHTML Mouse amp nbsp LatLon amp nbsp this centerDisplay innerHTML Mouse amp nbsp LatLon amp nbsp this mousePxDisplay innerHTML Mouse amp nbsp Px amp nbsp this mouseTileDisplay innerHTML Mouse amp nbsp Tile amp nbsp this clickDisplay innerHTML Mouse amp nbsp Click amp nbsp this mouseDisplay innerHTML Mouse amp nbsp Click amp nbsp if this parent this parent appendChild container else this map getContainer appendChild this container GEvent addListener this map click function ol pt globalThis_3456 MMapClick pt GEvent addListener this map moveend function globalThis_3456 MMoveEnd GEvent addListener this map zoomend function globalThis_3456 MZoomEnd 102 The KSLOF GIS Data Portal 2009 GEvent addListener this map mousemove function pt globalThis_3456 MMouseMove pt this MMapClick function pt var point pt pt null if point if this DMS this clickDisplay innerHTML Mouse amp nbsp Click amp nbsp amp nbsp this degToDms point lat amp nbsp this degToDms point Ing this mouseDisplay innerHTML Mouse amp nbsp Click amp nbsp amp nbsp this degToDms point lat amp nbsp this degToDms point Ing else this clickDisplay innerHTML Mou
67. cted individuals to read and write to the database The permission to allow authorized individuals to manually edit the should also be set 10 The KSLOF GIS Data Portal 2009 Managing the Database The most commonly used SQLite editor is the Mozilla Firefox add on SQLite Manager This utility can be downloaded from https addons mozilla org en US firefox addon 5817 or directly from http code google com p sqlite manager and will require that the Firefox browser be installed The other notable freeware includes among others Habanero developed and distributed by ChilliSoft http habanero chillisoft qarchive org and DatAdmin developed and managed by JenaSoft http datadmin jenasoft com en download There are other more commercial software tools available that may also be used Figures 9 12 are screen captures from the SQLite Manager and users are encouraged to read the User Manual Adding and Modifying Data The SQLite Manager s primary user interface includes a button to add a record Figure 9 Clicking on the Add Record button will open another window which facilitates the adding of the data within tables Figure 10 Clicking on a record followed by clicking on the Edit Selected button will open the same window but fields are pre populated by what was saved in previous operations It is important to note that the downloads table is auto updated by the portal and SHOULD NOT be edited unless absolutely necessary
68. d GET map id 43 The KSLOF GIS Data Portal 2009 read database Sdb S_SERVER DOCUMENT_ROOT kslof data kslof_gis sqlite try SDB_conn new PDO sqlite Sdb SDB_conn gt beginTransaction DB_conn gt setAttribute PDO ATTR_ERRMODE PDO ERRMODE EXCEPTION Sflag 0 sql SELECT FROM document WHERE id LIKE Smap_id foreach SDB_conn gt query Ssql as Srecord Stitle Srecord title Stype Srecord type Sauthor Srecord author SpubDate Srecord pubDate Sedition Srecord edition SstartDate Srecord startDate SendDate Srecord endDate Sabstract Srecord abstract Ssize Srecord size Surl Srecord urlDownload Srestriction Srecord restriction SDB_conn null catch PDOException Se echo Error Se gt getMessage lt br gt die Soutput lt table width 100 border 0 style font size 12px color 000000 font family Times New Roman Times serif gt Soutput tr Soutput lt td width 20 bgcolor FFFFCC style color 000000 gt Title lt td gt Soutput lt td width 80 bgcolor FFFFCC style color 000000 gt lt strong gt Stitle lt strong gt lt td gt Soutput lt tr gt Soutput tr Soutput lt td bgcolor CCCCCC style color 000000 gt Data Type lt td gt Soutput lt td bgcolor CCCCCC style color 000000 gt type lt t
69. d gt Soutput lt tr gt Soutput tr Soutput lt td bgcolor CCCCCC style color 000000 gt Author lt td gt Soutput lt td bgcolor CCCCCC style color 000000 gt Sauthor lt td gt Soutput lt tr gt Soutput lt tr gt Soutput lt td bgcolor CCCCCC style color 000000 gt Publication Date lt td gt Soutput lt td bgcolor CCCCCC style color 000000 gt SpubDate lt td gt Soutput lt tr gt Soutput lt tr gt Soutput lt td bgcolor CCCCCC style color 000000 gt Collection Period lt td gt Soutput lt td bgcolor CCCCCC style color 000000 SstartDate to SendDate lt td gt 44 The KSLOF GIS Data Portal 2009 Soutput lt tr gt Soutput lt tr gt Soutput lt td valign top bgcolor CCCCCC style color 000000 gt Abstract lt td gt output lt td bgcolor CCCCCC style color 000000 gt Sabstract lt td gt Soutput lt tr gt Soutput lt tr gt Soutput lt td bgcolor CCCCCC style color 000000 gt File size lt td gt Soutput lt td bgcolor CCCCCC style color 000000 gt size MB lt td gt Soutput lt tr gt Soutput lt tr gt Soutput lt td gt amp nbsp lt td gt Soutput lt td gt amp nbsp lt td gt Soutput lt tr gt Soutput lt tr gt if Srestriction
70. db S_SERVER DOCUMENT_ROOT kslof data kslof_gis sqlite Sdbh new PDO sglite Sdb Sdbh gt setAttribute PDO ATTR_ERRMODE PDO ERRMODE EXCEPTION Sdbh gt beginTransaction Ssql SELECT FROM document ORDER BY location title foreach Sdbh gt query Ssql as row echo lt tr gt echo lt td align center style font size 11px color 003366 font family Arial Helvetica sans serif Srow location lt td gt 50 The KSLOF GIS Data Portal 2009 echo lt td align left style font size 11px color 003366 font family Arial Helvetica sans serif gt echo Title strong Srow title lt strong gt lt br gt echo Author Srow author br gt echo Publication Date Srow pubDate br gt echo Data Type Srow type br gt lt br gt echo lt div align justify gt lt u gt Abstract u Srow abstract div br gt echo lt td gt if Srow restriction classified echo lt td align center style font size 11px color 003366 font family Arial Helvetica sans serif gt Restricted Please lt a href mailto williams livingoceansfoundation org subject Data Request from Restricted List gt contact KSLOF lt a gt for permission lt td gt else echo lt td align center style font size 11px color 003366 font family Arial Helvetica sans serif gt lt a href DataPortal_Details ohp
71. der the License Note This script contains code to prevent hotlinking marked with REMOVE You need to remove it when saving the file to your server Usage map addControl new MStatusControl map addControl new MStatusControl options map addControl new MStatusControl DMS true MStatusControl options DMS Boolean Default false Show Degrees Minutes Seconds Position GControlPosition vertical Boolean Default false Make the control taller and more narrow background HTML color Default Heeeeee foreground HTML color Default 000000 gi Modified by Felimon Gayanilo University of Miami 2009 WARNING Do not distribute this version Always refer to original copy ILI function MStatusControl MOptions MOptions MOptions MOptions this DMS MOptions DMS MOptions DMS false this background MOptions background MOptions background eeeeee this foreground MOptions foreground MOptions foreground 000000 this vertical MOptions vertical MOptions vertical false this position MOptions position MOptions position new GControlPosition G ANCHOR BOTTOM LEFT new GSize 0 45 98 The KSLOF GIS Data Portal 2009 this parent MOptions container MOptions container null MsStatusControl prototype new GControl true true MStatusControl prototype initialize function map var globalThis_3456 this this map map this projection this map
72. div gt lt script type text javascript gt I var MenuBar1 new Spry Widget MenuBar KSLOF DP Menu imgDown jscript SpryMenuBarDownHover gif imgRight jscript SpryMenuBarRightHover gif gt lt script gt lt body gt lt html gt 27 The KSLOF GIS Data Portal 2009 Data_Portal_Registry html lt Module DataPortal Registry html Purpose The user registry form Author Felimon Gayanilo felimon amp gayanilo net Date Last Update 23 June 2009 Copyright c 2009 Living Oceans Foundation MD All right reserved gt lt DOCTYPE HTML PUBLIC W3C DTD HTML 4 01 Transitional EN http www w3 org TR html4 loose dtd gt lt html gt lt head gt meta http equiv Content Type content text html charset utf 8 gt lt title gt KSLOF Data Portal Registration lt title gt lt script src jscript SpryMenuBar js type text javascript gt lt script gt lt link href jscript SpryMenuBarHorizontal css rel stylesheet type text css gt lt link href jscript SpryMenuBarVertical css rel stylesheet type text css gt lt link href css DataPortal_Registry css rel stylesheet type text css gt lt head gt lt body class twoColFixRtHdr gt lt div id container gt lt div gt lt div align center gt img src images kslof_header_01 png width 952 height 133 gt lt ul id KSLOF_DP_Menu class MenuBarHorizontal gt lt li gt lt a href http liv
73. ducation Faculty Staff gt Education Faculty Staff lt option gt lt option value Education Student gt Education Student lt option gt lt option value Non Profit Organization gt Non Profit Organization lt option gt lt option value Non U S National Government gt Non U S National Government lt option gt lt option value Regional Agency Government gt Regional Agency Government lt option gt lt option value State Agency Govenrmnet gt State Agency Govenrmnet lt option gt lt option value U S Federal Government Tribes gt U S Federal Government Tribes lt option gt lt select gt lt td gt lt tr gt lt tr gt lt td gt lt LABEL for d_role ACCESSKEY none gt What best describe your role within organization lt td gt lt td gt lt select name d_role id d_role gt lt option value selected selected gt select from the list lt option gt lt option value C Level Executive gt C Level Executive lt option gt lt option value Sr Executive gt Sr Executive lt option gt lt option value GIS Manager Supervisor gt GIS Manager Supervisor lt option gt lt option value GIS Analyst gt GIS Analyst lt option gt lt option value IT Manager Supervisor gt IT Manager Supervisor lt option gt lt option value IT Technician gt IT Technician lt option gt option value Non GIS IT Manager Supervisor gt Non GIS IT Manager Supervisor lt option gt lt option value System Software Developer gt Syst
74. e database will not automatically update the KML files that were created from this database To complete the process of adding a record to the portal run the DataPortal_GenerateKML php from a browser For example if the domain is http www livingoceansfoundation org and this portal was moved to a folder gis then the following URL http www livingocenasfoundation org gis DataPortal_GenerateKML php will re create the KML files Add New Record oe ee om Table Name document 3 Enter Field Values 1 id integer gt oO F 2 title varchar 150 a l 3 type varchar 50 ESRI Shapefile d i 4 author varchar 100 ap V 5 pubDate datetime ap i 6 edition double ap i 7 abstract text L4 L Figure 10 SQLite Manager interface to add a record on the table document Querying the Database As with adding or editing a record the database can be queried using SQLite Manager or other similar tools In SQLite Manager clicking on a table name will automatically list the records of that table In some instances this may be insufficient SQLite understands most of the standard SQL language to query the database The system is able to accomodate simple queries which displays the total number of files downloaded by U S based users along with the advanced SQL statements Figure 11 An example is as such SELECT COUNT users country AS Total Count FROM 12 The KSLO
75. ecssssssecececessesesssseceseceeseseaeseceeecesseseaaeseceeecesseseuaeaeeeeesusseseaeaeeeesens 9 The KSLOF GIS Data Portal 2009 Introduction The Khaled bin Sultan Living Oceans Foundation hereafter will be referred to as KSLOF has been collecting and analyzing spatial data Since its inception in 2000 as a 501 c 3 public benefit Private Operating Foundation KSLOF has collected a number of spatial data that are valuable in the formulation of strategies and policies to protect the environment These collections are available to scientists and researchers around the world for free via user friendly web based interfaces as a testament to their over arching theme of Science Without Borders which is a dedication to research conservation and restoration of marine ecosystems More data are expected to be archived with scheduled activities The number of visitors to the current portal has steadily increased and is expected to increase exponentially with the upcoming Global Reef Expedition beginning in 2010 The request for information of what data are available and how to access these data is expected to increase as well In order to manage the request and monitor the users of the data an Internet based data portal has been designed and developed to assist clients retrieve geographic information system GIS data that are in the repository of the KSLOF Figure 1 Cataloging Metadata a Data Discovery ELI Visual Map Search
76. eement in addition to such other remedies as Khaled bin Sultan Living Oceans Foundation may otherwise have available to it under applicable laws In the event any litigation is brought by either party in connection with this License Agreement the prevailing party in such litigation shall be entitled to recover from the other party all the costs attorneys fees and other expenses incurred by such prevailing party in the litigation lt p gt p alignz justify class style2 gt 9 Changes to the Agreement lt p gt p alignz justify class style2 gt Khaled bin Sultan Living Oceans Foundation reserves the right at its sole discretion to change modify add to supplement or delete any of the terms and conditions of this License Agreement If any future changes to this License Agreement are unacceptable to you or cause you to no longer be in compliance with this License Agreement you may terminate this License Agreement in accordance with Section 4 herein You have no interest monetary or otherwise in any feature or content contained in the downloaded data or associated files p p alignz justify class style2 gt 10 Dispute Resolution and Governing Law lt p gt p alignz justify class style2 gt a Informal Negotiations To expedite resolution and control the cost of any dispute controversy or claim related to this License Agreement amp quot Dispute amp quot you and Khaled bin Sultan Living Oceans Foundation agree to
77. em Software Developer lt option gt lt option value Educator gt Educator lt option gt lt option value Others gt Others lt option gt lt select gt lt td gt lt tr gt lt tr gt lt td colspan 2 align right gt lt div align left gt lt p gt amp nbsp lt p gt lt p gt lt span class style5 gt The following is for password retrieval only if needed lt span gt lt br gt lt p gt lt div gt lt td gt lt tr gt 38 The KSLOF GIS Data Portal 2009 lt tr gt lt td gt lt LABEL for challenge ACCESSKEY none gt Select a challenge question lt td gt lt td gt lt select name challenge id challenge gt lt option value selected selected gt select from the list lt option gt lt option value What street did you grow up on gt What street did you grow up on lt option gt lt option value What city were you born in gt What city were you born in lt option gt lt option value What was the name of your favorite pet gt What was the name of your favorite pet lt option gt lt option value What was the name of the first school you went to gt What was the name of the first school you went to lt option gt option value What was your father s middle name gt What was your father s middle name lt option gt lt select gt lt td gt lt tr gt lt tr gt lt td gt lt LABEL for response ACCESSKEY none gt Answer to challenge question lt td gt lt td class gt
78. ense Agreement EULA Appendix A to download any data from this portal The Submit button will only be enabled if the check box signifying that the EULA was read and understood and user acknowledges the agreement to be bound by the terms and conditions of the EULA If the user cannot agree with any part of the EULA users should not download the data Users are encouraged to communicate with KSLOF if there are parts of the EULA that cannot be understood or would like to request exceptions The KSLOF GIS Data Portal NOTE User registration is free Click here to view KSLOF privacy statement Username Password First name Lastname Job title Organization Street Address City State select from list if in U S JE Postal code E Country please select a country Office phone Email What best describes your industry select from the list What best describe your company organization select from the list select from the list What best describe your role within organization The following is for password retrieval only if needed Select a challenge question select from the list Answer to challenge question Wl Check this box if you acknowledge that you have read and understand the L Agreement and you are acknowledging the agreement to be bound by the terms and conditions of the License Agreement Suomi Reset Prior to any download of data the user will be prompted to
79. ent addDomListener document mouseup function e f me mouseup e get globals G mapPosition DragZoomUtil getElementPosition mapDiv G buttonDiv buttonDiv G backButtonDiv backButtonDiv G mapCover zoomDiv G map map G borderCorrection G style outlineWidth 2 this setDimensions styles this initStyles_ disable text selection on map cover G mapCover onselectstart function return false return buttonContainerDiv 89 The KSLOF GIS Data Portal 2009 E Required by GMaps API for controls return GControlPosition Default location for control DragZoomControl prototype getDefaultPosition function return new GControlPosition G_ANCHOR_TOP_LEFT new GSize 3 120 E Jos Function called when mousedown event is captured param Object e Ei DragZoomControl prototype coverMousedown_ function e var G this globals var pos this getRelPos e G startX pos left G startY pos top if e which var rightMouse e which 1 else if e button var rightMouse e button 1 G draggingRightMouse rightMouse DragZoomUtil style G mapCover background transparent opacity 1 filter alpha opacity 100 DragZoomUtil style G outlineDiv left G startX px top G startY px display block width 1px height 1px G draggingOn true G cornerTopDiv style top G startY G mapHeight px
80. ent createElement td this setStyleValue this clickDisplay oRow appendcChild this clickDisplay HM else Fe var oRow document createElement tr oTableBody appendChild oRow this centerDisplay document createElement td this setStyleValue this centerDisplay this centerDisplay style width iWidth px oRow appendChild this centerDisplay this mouseDisplay document createElement td this setStyleValue this mouseDisplay this mouseDisplay style width iWidth px oRow appendChild this mouseDisplay var oRow document createElement tr oTableBody appendChild oRow this swDisplay document createElement td this setStyleValue this swDisplay oRow appendcChild this swDisplay 101 The KSLOF GIS Data Portal 2009 this mousePxDisplay document createElement td this setStyleValue this mousePxDisplay oRow appendChild this mousePxDisplay He var oRow document createElement tr oTableBody appendChild oRow this neDisplay document createElement td this setStyleValue this neDisplay oRow appendcChild this neDisplay this mouseTileDisplay document createElement td this setStyleValue this mouseTileDisplay oRow appendcChild this mouseTileDisplay HM var oRow document createElement tr oTableBody appendChild oRow this zDisplay document createElement td this setStyleValue this zDisplay oRow appendChild this zDisplay this cli
81. ext f DragZoomControl prototype restoreBackContext function var G this globals var backFrame G backStack pop G map setCenter backFrame center backFrame zoom backFrame maptype G backButtonDiv innerHTML backFrame text G methodCall backFrame methodCall if G backStack length 0 G backButtonDiv style display none if we re at the top of the stack hide the back botton ae Shows the cover over the map 94 The KSLOF GIS Data Portal 2009 DragZoomControl prototype initCover_ function var G this globals G mapPosition DragZoomUtil getElementPosition G map getContainer this setDimensions_ this setButtonMode_ zooming DragZoomUtil style G mapCover display block background G style fillColor DragZoomUtil style G outlineDiv width Opx height Opx invoke callback if provided if G callbacks buttonclick null G callbacks buttonclick Gets position of the mouse relative to the map param Object e DragZoomControl prototype getRelPos function e var pos DragZoomUtil getMousePosition e var G this globals return top pos top G mapPosition top left pos left G mapPosition left i Figures out the rectangle the user s trying to draw param Number startX param Number startY param Object pos param Number ratio return Object Describes the rectangle DragZoomContro
82. f element addEventListener element addEventListener eventType handler capture else if element attachEvent element attachEvent on eventType handler 79 The KSLOF GIS Data Portal 2009 catch e li Spry Widget TabbedPanels prototype onTabClick function e tab this showPanel tab Spry Widget TabbedPanels prototype onTabMouseOver function e tab this addClassName tab this tabHoverClass Spry Widget TabbedPanels prototype onTabMouseOut function e tab this removeClassName tab this tabHoverClass Spry Widget TabbedPanels prototype onTabFocus function e tab this hasFocus true this addClassName this element this tabFocusedClass Spry Widget TabbedPanels prototype onTabBlur function e tab this hasFocus false this removeClassName this element this tabFocusedClass y Spry Widget TabbedPanels ENTER KEY 13 Spry Widget TabbedPanels SPACE KEY 32 Spry Widget TabbedPanels prototype onTabKeyDown function e tab var key e keyCode if Ithis hasFocus key Spry Widget TabbedPanels ENTER KEY amp amp key Spry Widget TabbedPanels SPACE KEY return true this showPanel tab if e stopPropagation e stopPropagation if e preventDefault e preventDefault return false E Spry Widget TabbedPanels prototype preorderTraversal function root func 80 The KSLOF GIS Data Portal 2009 var stopTraversal false if root
83. f Use agreement both of which you must accept before you can use this software and associated data 2 Ownership A All title ownership rights and intellectual property rights in and to the data downloaded from this portal and all copies thereof are owned by the Khaled bin Sultan LIVING OCEANS Foundation The downloaded data are protected by the copyright laws of the United States international treaties and conventions and other laws The downloaded data contains materials licensed by third parties and the licensors of those materials may enforce their rights in the event of any violation of this End User License Agreement B You may not transfer your rights and obligations under the End User License Agreement to another without the express written consent of the Khaled bin Sultan LIVING OCEANS Foundation 15 The KSLOF GIS Data Portal 2009 3 Responsibilities of End User A Subject to the license granted hereunder you may create derivative products from the downloaded data with stipulation that you acknowledge the Khaled bin Sultan LIVING OCEANS Foundation in any derivative product or publication in which you use the data or files B You agree that you shall not under any circumstances i sell grant a security interest in or transfer reproductions of the downloaded data to other parties in any way not expressly authorized herein nor shall you rent lease or license the downloaded data to others nor ii exploit the do
84. files in conjunction with the Service for your non commercial educational and scientific research purposes only All use of the data downloaded from this portal are subject to this License Agreement and to the Terms of Use agreement both of which you must accept before you can use this software and associated data lt p gt lt p class style2 gt 2 Ownership lt p gt lt p align justify class style2 gt A All title ownership rights and intellectual property rights in and to the data downloaded from this portal and all copies thereof are owned or Khaled bin Sultan Living Oceans Foundation The downloaded data is protected by the copyright laws of the United States international treaties and conventions and other laws The downloaded data contains materials licensed by third parties and the licensors of those materials may enforce their rights in the event of any violation of this License Agreement lt p gt p align justify class style2 gt B You may not transfer your rights and obligations under the License Agreement to another without the express without the express written consent of Khaled bin Sultan Living Oceans Foundation p p alignz justify class style2 gt 3 Responsibilities of End User lt p gt p alignz justify class style2 gt A Subject to the license granted hereunder you may create derivative products from the downloaded data with stipulation that you lt strong gt acknowledge Khaled bin Sultan Liv
85. first attempt to negotiate any Dispute except those Disputes expressly provided below informally for at least 30 days before initiating any arbitration or court proceeding Such informal negotiations commence upon written notice from one person to the other You will send your notice to Khaled bin Sultan Living Oceans Foundation 8181 Professional Place Suite 215 Landover MD 20785 p p alignz justify classz style2 b Binding Arbitration If you and Khaled bin Sultan Living Oceans Foundation are unable to resolve a Dispute through informal negotiations either you or Khaled bin Sultan Living Oceans Foundation may elect to have the Dispute finally and exclusively resolved by binding arbitration Any election to arbitrate by one party shall be final and binding on the other YOU UNDERSTAND THAT ABSENT THIS PROVISION YOU WOULD HAVE THE RIGHT TO SUE IN COURT AND HAVE A JURY TRIAL The arbitration may be conducted in person through the submission of documents by phone or online The arbitrator will make a decision in writing but need not provide a statement of reasons unless requested by a party The arbitrator must 25 The KSLOF GIS Data Portal 2009 follow applicable law and any award may be challenged if the arbitrator fails to do so Except as otherwise provided in this License Agreement you and Khaled bin Sultan Living Oceans Foundation may litigate in court to compel arbitration stay proceeding pending arbitration or to confirm
86. fy gt lt span class style5 style margin top 0 gt lt strong style color 990000 gt NOTE lt strong gt The geo markers in the map are areas where maps or interactive map viewers are available Some markers may overlap with neighboring markers Zoom to the area of interest to reveal other maps lt span gt lt p gt div id map style width 725px height 450px align center gt lt div gt lt span gt lt div gt lt p style margin left 20px font size 11px color 003366 font family Arial Helvetica sans serif gt NOTE Some maps are still being cleared from their sources and as such will require special permission to download the file When requesting data from restricted list please specify how and where the data will be used lt p gt lt php create the dynamic table from the database echo lt table width 90 border 1 cellpadding 10 cellspacing 0 style margin left 20px gt echo tr echo td width 15 align center style font size 11px color 003366 font family Arial Helvetica sans serif gt Location lt td gt echo lt td width 65 align center style font size 11px color 003366 font family Arial Helvetica sans serif gt Metadata lt td gt echo lt td width 19 align center style font size 11px color 003366 font family Arial Helvetica sans serif gt Link to Download lt td gt echo lt tr gt start reading the database for documents try
87. g elements DragZoomUtil getManyElements elements for var i 0 i lt elements length i for var s in styles elements i style s styles s k Gets DOM elements array according to list of IDs param String elementsString Comma delimited list of IDs return Array Array of DOM elements corresponding to s J DragZoomUtil getManyElements function idsString var idsArray idsString split var elements for var i 0 i idsArray length i elements elements length DragZoomUtil gE idsArray i ii return elements E 97 The KSLOF GIS Data Portal 2009 ModStatusControl js ModStatusControl Original is MStatus by Marcelo Montagana Copyright 2008 Marcelo Montagna http maps forum nu Free to use as long as copyright notices are left unchanged Please save the file to your own server Do not link directly or unexpected things might happen to your control Licensed under the Apache License Version 2 0 the License you may not use this file except in compliance with the License You may obtain a copy of the License at http www apache org licenses LICENSE 2 0 Unless required by applicable law or agreed to in writing software distributed under the License is distributed on an AS IS BASIS WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied See the License for the specific language governing permissions and limitations un
88. getCurrentMapType getProjection this container document createElement div if Ithis vertical var w this map getContainer clientWidth 2 this container style width w px this container style backgroundColor this background this container style border 1px solid gray var innerDiv document createElement div this container appendChild innerDiv var crDiv document createElement div this container appendChild crDiv crDiv innerHTML Marcelo Montagna amp copy 2008 lt a style color aaaaaa href http maps forum nu target _blank gt http maps forum nu lt a gt crDiv style padding 2px crDiv style marginTop 2px crDiv style textAlign right crDiv style color aaaaaa crDiv style backgroundColor teeeeee crDiv style font normal 10px verdana var oTable document createElement table oTable setAttribute cellSpacing 0 oTable setAttribute cellPadding 0 oTable setAttribute border 0 if this vertical oTable style width 10096 innerDiv appendChild oTable var oTableBody document createElement tbody oTable appendChild oTableBody 99 The KSLOF GIS Data Portal 2009 if this vertical var oRow document createElement tr oTableBody appendChild oRow this centerDisplay document createElement td this setStyleValue this centerDisplay this centerDisplay sty
89. gistry Author Felimon Gayanilo felimon gayanilo net Date Last Update 23 June 2009 Copyright c 2009 Living Oceans Foundation MD All right reserved set error flag Serror flag none check is username is already take if isset S POST username open and check database Susername POST username db S_SERVER DOCUMENT_ROOT gisui data kslof_gis sqlite try DB conn new PDO sqlite Sdb SDB_conn gt beginTransaction DB conn setAttribute PDO ATTR ERRMODE PDO ERRMODE EXCEPTION Ssql SELECT username FROM users WHERE username LIKE username Scount 0 foreach SDB_conn gt query Ssql as Srecord Scount 1 if Scount gt 1 Serror flag gt The username has already been taken Please try another one catch PDOException Se echo Error Se gt getMessage lt br gt die selse Serror_flag gt The username is required check if password firstname lastname country challenge response are not null if lisset S POST password if Serror flag none Serror_flag Serror flag 015 012 Serror flag gt The password value is required if lisset S POST firstname if Serror flag none Serror_flag Serror flag 015 012 Serror_flag gt The firstname is required for user identification if lisset S POST lastname if Serror flag none Serror_flag
90. gt lt html gt lt head gt lt meta name description content KSLOF data portal to their GIS data repository gt lt meta name keywords content KSLOF gis data portal interactive GUI living oceans gt lt meta name author content Felimon Gayanilo felimon gayanilo net gt lt meta http equiv Content Type content text html charset utf 8 gt lt title gt KSLOF GIS Data Portal lt title gt lt script src http maps google com maps file api amp amp v 2 amp amp key ABQIAAAAOeEdgK_7eAuWZBYoYFiWURQVXmG3 54ieVKhEZXOTx8GFduzZ3xRToSRbx8a80TUUJiIIO7_jhAxWKwe type text javascript gt lt script gt lt script src jscript dragzoom js type text javascript gt lt script gt lt script src jscript ModStatusControl js type text javascript gt lt script gt lt script src jscript SpryTabbedPanels js type text javascript gt lt script gt lt script src jscript SpryMenuBar js type text javascript gt lt script gt lt script type text javascript gt lt CDATA var mtUnique function MapTypeControl if mtUnique null mtUnique 0 else mtUnique 1 this unique mtUnique toString MapTypeControl prototype new GControl MapTypeControl prototype initialize function map var container document createElement div container style fontFamily Arial container style fontSizez x small add Terrain to the list var cboMap document createElement SELECT c
91. iami 2009 WARNING Do not distribute this version Always refer to original copy var Spry if Spry Spry if ISpry Widget Spry Widget Spry Widget TabbedPanels function element opts this element this getElement element this defaultTab 0 Show the first panel by default this bindings this tabSelectedClass TabbedPanelsTabSelected this tabHoverClass TabbedPanelsTabHover this tabFocusedClass TabbedPanelsTabFocused this panelVisibleClass TabbedPanelsContentVisible this focusElement null this hasFocus false this currentTabIndex 0 this enableKeyboardNavigation true Spry Widget TabbedPanels setOptions this opts 76 The KSLOF GIS Data Portal 2009 If the defaultTab is expressed as a number index convert it to an element if typeof this defaultTab number if this defaultTab lt 0 this defaultTab 0 else var count this getTabbedPanelCount if this defaultTab gt count this defaultTab count gt 1 count 1 0 this defaultTab this getTabs this defaultTab The defaultTab property is supposed to be the tab element for the tab content to show by default The caller is allowed to pass in the element itself or the element s id so we need to convert the current value to an element if necessary if this defaultTab this defaultTab this getElement this defaultTab this attachBehaviors
92. ing Oceans Foundation in any derivative product or publication in which you use the data or files lt strong gt lt p gt p align justify class style2 gt B You agree that you shall not under any circumstances lt p gt p alignz justify class style2 gt i sell grant a security interest in or transfer reproductions of the downloaded data to other parties in any way not expressly authorized herein nor shall you rent lease or license the downloaded data to others p p alignz justify class style2 gt ii exploit the downloaded data or any of its parts for any commercial purpose whatsoever p p alignz justify class style2 gt 4 Termination lt p gt p alignz justify class style2 gt This License Agreement is effective until terminated You may terminate the License Agreement at any time by i permanently destroying all copies of the downloaded data in your possession or control ii removing the downloaded data from your hard drive and iii notifying Khaled bin Sultan Living Oceans Foundation of your intention to terminate this License Agreement Khaled bin Sultan Living Oceans Foundation may terminate this Agreement at any time for any reason or no reason In such event you must immediately and permanently destroy all copies of the downloaded data in your possession and control and remove the associated data files from your hard drive Upon termination of this Agreement for any reason all license
93. ingoceansfoundation org target _self gt HOME lt a gt lt li gt lt li gt lt a hrefz DataPortal Map php target _self style Wwidth 180px gt Data Portal Home lt a gt lt li gt lt li gt lt a class MenuBarltemSubmenu href stylez width 250px Online Map Viewers lt a gt lt ul gt lt li gt lt a href http www livingoceansfoundation org index php option com_wrapper amp ltemid 163 target _blank gt St Croix and Buck Island Data Navigator lt a gt lt li gt lt li gt lt a href http lof towson edu LOF standard target _blank gt St Thomas and St John Habitat Mapper lt a gt lt li gt lt ul gt lt li gt lt li gt lt a href stylez width 400px height 15px gt lt a gt lt li gt lt ul gt lt p gt lt br gt lt img src images kslof_header_02 png width 952 height 29 gt lt p gt lt div gt lt div gt div id mainContent gt lt span class style14 gt User Registration lt span gt lt script language javascript function verifyMe var msg if document getElementByld username value 28 The KSLOF GIS Data Portal 2009 msg User name n if document getElementByld password value msg Password n if document getElementByld firstname value msg First name n if document getElementByld lastname value msg Last name n if document getElementByld job value msg Job title n if document get
94. ion are permitted provided that the following conditions are met Redistributions of source code must retain the above copyright notice this list of conditions and the following disclaimer Redistributions in binary form must reproduce the above copyright notice this list of conditions and the following disclaimer in the documentation and or other materials provided with the distribution Neither the name of Adobe Systems Incorporated nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission H THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES LOSS OF USE DATA OR PROFITS OR BUSINESS INTERRUPTION HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY OR TORT INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE Modified by Felimon Gayanilo University of M
95. is element if children length return children 0 return null Spry Widget TabbedPanels prototype getTabs function var tabs var tg this getTabGroup if tg tabs this getElementChildren tg return tabs Spry Widget TabbedPanels prototype getContentPanelGroup function if this element var children this getElementChildren this element if children length gt 1 return children 1 78 The KSLOF GIS Data Portal 2009 return null Spry Widget TabbedPanels prototype getContentPanels function var panels var pg this getContentPanelGroup if pg panels this getElementChildren pg return panels Spry Widget TabbedPanels prototype getlndex function ele arr ele this getElement ele if ele amp amp arr amp amp arr length for var i 0 i lt arr length i if ele arr i return i return 1 Spry Widget TabbedPanels prototype getTablndex function ele var i this getIndex ele this getTabs if i lt 0 i this getIndex ele this getContentPanels return i Spry Widget TabbedPanels prototype getCurrentTablndex function return this currentTablndex iB Spry Widget TabbedPanels prototype getTabbedPanelCount function ele return Math min this getTabs length this getContentPanels length y Spry Widget TabbedPanels addEventListener function element eventType handler capture try i
96. l map enableContinuousZoom map enableDoubleClickZoom add zoom control var boxStyleOpts opacity 2 border 2px solid yellow var otherOpts buttonHTML lt img src images zoom_inactive gif gt buttonZoomingHTML lt img src images zoom_active gif gt buttonStartingStyle width Opx height Opx overlayRemoveTime 0 map addControl new DragZoomControl boxStyleOpts otherOpts new GControlPosition G ANCHOR TOP LEFT new GSize 5 10 this is the zoom botton var topLeft new GControlPosition G_ANCHOR_TOP_LEFT new GSize 10 40 var mapTypeControl new GLargeMapControl map addControl mapTypeControl topLeft 48 The KSLOF GIS Data Portal 2009 map addControl new MStatusControl DMS false position new GControlPosition G_ANCHOR_BOTTOM_LEFT new GSize 0 30 map addOverlay geoXml gt lt script gt lt link href jscript SpryMenuBarHorizontal css rel stylesheet type text css gt lt link href jscript SpryTabbedPanels css rel stylesheet type text css gt lt link href css DataPortal_Map css rel stylesheet type text css gt lt head gt lt body class twoColFixRtHdr onLoad load onUnload GUnload gt lt div id container gt lt div gt lt div align center gt img src images kslof_header_01 png width 952 height 133 gt lt ul id KSLOF_DP_Menu class MenuBarHorizontal gt lt li gt lt a href http livingoceansfou
97. l prototype degToDms function dec var deg Math floor Math abs dec var min Math floor Math abs dec deg 60 var sec Math round Math abs dec deg min 60 60 60 100 100 var len String deg length deg Array 3 1 len join 0 deg var len String min length min Array 2 1 len join 0 min var len String sec length sec Array 5 1 len join 0 sec deg dec lt 0 deg deg 104 The KSLOF GIS Data Portal 2009 var dms deg amp deg min sec return dms MStatusControl prototype getDefaultPosition function return this position IMM LT MStatusControl prototype setStyleValue function obj obj style padding Opx obj style paddingRight 2px obj style paddingLeft 2px obj style textAlign left obj style color this foreground obj style backgroundColor this background obj style font normal 12px courier new obj style lineHeight 14px obj setAttribute noWrap true if this vertical obj style width 50 MStatusControl prototype show function this container style display MStatusControl prototype hide function this container style display none MStatusControl prototype toggle function this container style display this container style display none MINH END MStatusControl 1 1 1 1 105 AX AX
98. l prototype getRectangle_ function startX startY pos ratio var left false var top false var dX pos left startX var dY pos top startY if dX lt 0 dX dX 1 left true if dY lt 0 dY dY 1 top true delta dX gt dY dX dY return startX startX startY startY endX startX delta 95 The KSLOF GIS Data Portal 2009 endY startY parselnt delta ratio width delta height parselnt delta ratio left left top top Resets CSS and button display when drag zoom done f DragZoomControl prototype resetDragZoom function var G this globals DragZoomUtil style G mapCover G cornerTopDiv G cornerRightDiv G cornerBottomDiv G cornerLeftDiv display none opacity G style opacity filter G style alphalE G outlineDiv style display none this setButtonMode_ normal if G options backButtonEnabled amp amp G backStack length gt 0 G backButtonDiv style display block show the back button utility functions in DragZoomUtil namespace var DragZoomUtil gos Alias function for getting element by id param String sld return Object DOM object with sld id ui DragZoomUtil gE function sld return document getElementByld sld E y A general purpose function to get the absolute position of the mouse param Object e Mouse event return Object Describes position ui DragZoomUtil get
99. lastname users firstname Database Table Index View Trigger Tools Help Gt ih ee ee ee Structure Browse amp Search Execute SQL DB Settings gt Master Table 1 Enter SQL Select Data Manipulation Create Alter Drop Relndex PRAGMA 4 Tables 4 SELECT b document users firstname gt downloads users lastname P users downloads downloadDate b viewers documenttitle gt Views 0 users lastname gt Indexes 1 FROM gt Triggers 0 i downloads firstname lastname downloadDate title 8 a o c 0 0 o9 o X I a o lt o 4 m SQLite 3 6 7 Gecko 1 9 0 11 04 8 Shared Number of Rows Returned 6 Figure 12 The SQLite Manager interface shows the results of the SQL execution as a list of what users have downloaded to date results were intentionally blurred Users are encouraged to read the online manual http www sglite org lang html for details on how to construct the SQL statements 14 The KSLOF GIS Data Portal 2009 Appendices Appendix A End User License Agreement END USER AGREEMENT FOR Geographic Information Products BY REGISTERING TO THIS PORTAL AND USING THE KHALED BIN SULTAN LIVING OCEANS FOUNDATION GEOGRAPHIC INFORMATION PRODUCTS YOU AGREE TO BE BOUND BY THE TERMS OF THIS AGREEMENT IF YOU
100. le location convenient for you For residents outside the United States any arbitration shall be initiated in the County of San Diego State of California United States of America Any Dispute not subject to arbitration other than claims proceeding in any small claims court or where no election to arbitrate has been made shall be decided by a court of competent jurisdiction within the County of San Diego State of California United States of America and you and Khaled bin Sultan Living Oceans Foundation agree to submit to the personal jurisdiction of that court lt p gt lt p align justify class style2 gt f Governing Law Except as expressly provided otherwise this License Agreement shall be is governed by and will be construed under the Laws of the United States of America and the law of the State of California without regard to choice of law principles lt p gt lt p align justify class style2 gt g Severability You and Khaled bin Sultan Living Oceans Foundation agree that if any portion Section 10 is found illegal or unenforceable except any portion of 10 d that portion shall be severed and the remainder of the Section shall be given full force and effect If Section 10 d is found to be illegal or unenforceable then neither you nor Khaled bin Sultan Living Oceans Foundation will elect to arbitrate any Dispute falling within that portion of Section 10 d found to be illegal or unenforceable and such Dispute shall be decided
101. le width iWidth px oRow appendChild this centerDisplay var oRow document createElement tr oTableBody appendChild oRow this zDisplay document createElement td this setStyleValue this zDisplay oRow appendcChild this zDisplay var oRow document createElement tr oTableBody appendChild oRow this swDisplay document createElement td this setStyleValue this swDisplay oRow appendcChild this swDisplay var oRow document createElement tr oTableBody appendChild oRow this neDisplay document createElement td this setStyleValue this neDisplay oRow appendChild this neDisplay var oRow document createElement tr oTableBody appendChild oRow this mouseDisplay document createElement td this setStyleValue this mouseDisplay this mouseDisplay style width iWidth px oRow appendChild this mouseDisplay 100 The KSLOF GIS Data Portal 2009 var oRow document createElement tr oTableBody appendChild oRow this mousePxDisplay document createElement td this setStyleValue this mousePxDisplay oRow appendChild this mousePxDisplay HMM var oRow document createElement tr oTableBody appendChild oRow this mouseTileDisplay document createElement td this setStyleValue this mouseTileDisplay oRow appendcChild this mouseTileDisplay HMM var oRow document createElement tr oTableBody appendChild oRow this clickDisplay docum
102. lele className this hasClassName ele className return ele className ele className className Spry Widget MenuBar prototype removeClassName function ele className if lele className this hasClassName ele className return ele className ele className replace new RegExp s b className Nb g addEventListener for Menu Bar attach an event to a tag without creating obtrusive HTML code Spry Widget MenuBar prototype addEventListener function element eventType handler capture try if element addEventListener element addEventListener eventType handler capture 71 The KSLOF GIS Data Portal 2009 else if element attachEvent element attachEvent on eventType handler catch e E createlframeLayer for Menu Bar creates an IFRAME underneath a menu so that it will show above form controls and ActiveX Spry Widget MenuBar prototype createlframeLayer function menu var layer document createElement iframe layer tablndex 1 layer src javascript false menu parentNode appendChild layer layer style left menu offsetLeft px layer style top menu offsetTop px layer style width menu offsetWidth px layer style height menu offsetHeight px b removelframeLayer for Menu Bar removes an IFRAME underneath a menu to reveal any form controls and ActiveX Spry Widget Me
103. limitation of incidental or consequential damages so the above limitations may not apply to you 8 Equitable Remedies You hereby agree that the Khaled bin Sultan LIVING OCEANS Foundation would be irreparably damaged if the terms of this End User License Agreement were not specifically enforced and therefore you agree that the Khaled bin Sultan LIVING OCEANS Foundation shall be entitled without bond other security or proof of damages to appropriate equitable remedies with respect to breaches of this End User License Agreement in addition to such other remedies as the Khaled bin Sultan LIVING OCEANS Foundation may otherwise have available to it under applicable laws In the event any litigation is brought by either party in connection with this End User License Agreement the prevailing party in such litigation shall be entitled to recover from the other party all the costs attorneys fees and other expenses incurred by such prevailing party in the litigation 9 Changes to the Agreement The Khaled bin Sultan LIVING OCEANS Foundation reserves the right at its sole discretion to change modify add to supplement or delete any of the terms and conditions of this End User License Agreement If any future changes to this End User License Agreement are unacceptable to you or cause you to no longer be in compliance with this End User License Agreement you may terminate this End User License Agreement in accordance with Section 4 herein You ha
104. ly Arial Helvetica sans serif gt lt table id table_form_1 cellspacing 0 gt lt tr gt lt td colspan 2 align right gt lt hr gt lt td gt lt tr gt lt tr gt lt td gt lt LABEL for username ACCESSKEY none Username lt td gt lt td gt lt input type text name username id username size 20 maxlength 20 value gt lt td gt lt tr gt lt tr gt lt td gt lt LABEL for password ACCESSKEY none gt Password lt td gt lt td gt lt input type password name password id password size 20 maxlength 20 value gt lt td gt lt tr gt lt tr gt lt td gt lt LABEL for firstname ACCESSKEY none gt First name lt td gt lt td gt lt input type text namez firstname id firstname size 50 maxlength 50 value gt lt td gt lt tr gt lt tr gt lt td gt lt LABEL for lastname ACCESSKEY none Last name lt td gt lt td gt lt input typez text namez lastname idz lastname size 50 maxlength 50 value gt lt td gt lt tr gt lt tr gt lt td gt lt LABEL forz job ACCESSKEY none gt Job title lt td gt lt td gt lt input typez text namez job idz job size 50 maxlength 50 value gt lt td gt lt tr gt lt tr gt lt td gt lt LABEL forz organization ACCESSKEY none gt Organization lt td gt lt td gt lt input typez text name organization id organization size 50 maxlength 50 value gt lt td gt lt tr gt
105. m Sequential DragZooms are backed out in reverse order t Constructor for DragZoomControl which takes 3 option hashes and uses them to customize the control param opts boxStyle Named optional arguments opts boxStyle opacity Number Opacity from 0 1 opts_boxStyle fillColor String Hex value of fill color opts boxStyle border String CSS style declaration of border param opts other Named optional arguments opts other buttonHTML String The zoom button HTML in non activated state opts other buttonStartingStyle Object A hash of css styles for the zoom button which are common to both un activated and activated state opts other buttonStyle Object A hash of css styles for the zoom button which will be applied when the button is in un activated state opts other rightMouseZoomOutEnabled Boolean Whether to zoom out when a drag with the right mouse button occurs opts_other buttonZoomingHTML String HTML which is placed in the zoom button when the button is activated opts_other buttonZoomingStyle Object A hash of css styles for the zoom button which will be applied when the button is activated opts other overlayRemoveTime Number The number of milliseconds to wait before removing the rectangle indicating the zoomed in area after the zoom has happened opts other stickyZoomEnabled Boolean Whether or not the control stays in zoom mode until turned off When true the user can zoom repeatedly until clicking on the zo
106. ml output kml output kml output kml output kml output lt BalloonStyle gt kml output lt href gt http www kbslof org gisui images open png lt href gt Skml_output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output kml output lt BalloonStyle gt kml output lt href gt http www kbslof org gisui images viewer png lt href gt Skml_output Skml_output kml output kml output kml output kml output kml output Ssql SELECT FROM document 015 012 The KSLOF GIS Data Portal 2009 lt IconStyle gt lt Style gt 015 012 lt Style id open gt 015 012 lt BalloonStyle gt 015 012 text S description text 015 012 015 012 015 012 015 012 015 012 015 012 015 012 015 012 lt IconStyle gt lt scale gt 0 6 lt scale gt lt Icon gt lt Icon gt lt IconStyle gt lt Style gt 015 012 lt Style id viewer gt 015 012 lt BalloonStyle gt 015 012 text S description text 015 012 015 012 015 012 015 012 015 012
107. ml output 015 012 kml output gt lt description gt kml output 015 012 kml output lt styleUrl gt Srow restriction styleUrl kml output 015 012 kml output lt Point gt kml output 015 012 kml output coordinates Srow lon Srow lat 0 lt coordinates gt Skml_output 015 012 kml output lt Point gt Skml_output 015 012 kml output lt Placemark gt Skml_output 015 012 populate the viewers as well sql SELECT FROM viewers foreach Sdbh gt query Ssql as row create placemark for each record kml output lt Placemark gt Skml_output 015 012 Skml_output description CDATA kml output 4015012 kml output table width 360 border 0 cellspacing 0 cellpadding 0 style color 000066 font family times new roman times serif align left gt Skml_output 015 012 put title kml output lt tr gt Skml_output 015 012 kml output lt td colspan 3 bgcolor FFFFCC style color 000033 align left gt lt em gt lt span style font weight bold font size 14px align left gt Srow label lt span gt lt em gt lt td gt Skml_output 015 012 kml output lt tr gt kml output 4015012 put space kml output lt tr gt kml output 015 012
108. n 2005 Landsat data is from the Millennium Cora Reefs Landsat Archive USF Millennium Global Coral Reef Mapping Project Image pre processing classification and mapsheet production was completed by Cambridge Coastal Research Unit and the Unit for Landscape Modeling University of Cambridge 2006 Title St Thomas Habitat Map USVI Author Khaled bin Sultan Living Oceans Foundation Publication Date 2005 07 08 00 00 00 Data Type GeoTF Abstract The goals of this project wr t USVI reefs to understand patterns and dynamics the use of habfat maps for conservation Princ University of Exeter UK Data was collected ar jimas and St John During 2001 the Living Oceat Ready for Download hby to gather CASI and ground truthing data arout h mbarkec on the logistical support and resear rk a th UD USVLUSA aimed to generate marine habitat maps present Such maps and databases provide important i fo monitor change Brag fn Dowrbag both before and after 2001 A total of 402 Sm sf John and St Thomas were visited between 2nd and 16th Apri 2001 f each site geographical coordinates using a Global Positioning System depth and benthic community type were recorded to facilitaste ground truthing of remotely sensed imagery Al a subse of 34 sites randomly placed 0 25 sq meter quadrats were used to provide data on the species present within each benthic community The subset of sites was chosen to ensure a data from each benthic comm
109. n or folder it is important to maintain the folder structure and contents However there is still a need to manually edit the path calls to the database Using a text editor Notepad for Windows based editors or vi for Unix based editor edit the following files that read and or write to the database File Line Remarks DataPortal_Authenticate php 12 Change or remove the gisui path DataPortal GenerateKML php 10 Change or remove the gisui path 183 201 DataPortal GenerateKML php 14 Change or remove the gisui path 47 Chage absolute URL to proper URL 69 91 153 DataPortal GenerateKML Public php 9 Change or remove the gisui path 40 Chage absolute URL to proper URL 62 84 148 DataPortal Map php 19 Change the Google API key 109 Chage absolute URL to proper URL 128 DataPortal Downwload php 58 Change or remove the gisui path in the href attribute DataPortal Save User php 15 Change or remove the gisui path Since the portal utilizes a SQLite database no additional procedures or installation is needed to install the database files Simply copy the kslof gis sglite file to the data folder and set permission see below to allow editing of this file Step 3 Edit Permissions The data portal actively reads and writes to the SQLite database kslof_gis sqlite Appendix C in the folder called data Edit the permission to this folder and file to allow the web server and sele
110. ndation org target _self gt HOME lt a gt lt li gt lt li gt lt a hrefz DataPortal Map php target _self style Wwidth 180px gt Data Portal Home lt a gt lt li gt lt li gt lt a class MenuBarltemSubmenu href style width 250px gt Online Map Viewers lt a gt lt ul gt lt li gt lt a href http www livingoceansfoundation org index php option com_wrapper amp ltemid 163 target _blank gt St Croix and Buck Island Data Navigator lt a gt lt li gt lt li gt lt a href http lof towson edu LOF standard target _blank gt St Thomas and St John Habitat Mapper lt a gt lt li gt lt ul gt lt li gt lt li gt lt a href style Wwidth 400px height 15px lt a gt lt li gt lt ul gt lt p gt lt br gt lt img src images kslof_header_02 png width 952 height 29 gt lt p gt lt div gt lt div gt lt div id sidebar1 gt lt span class style1 style margin top 0 gt lt hr style margin top 0 gt p style margin top 0 color FFCC33 gt lt strong gt lt img src images pin png width 16 height 16 gt Pop up Blockers lt strong gt lt p gt lt p align justify gt Please note that some of the functions in this portal and the interactive user interfaces uses pop up windows To use this portal effectively please disable all pop up blockers or set exemptions to this URL lt p gt lt hr gt p align justify style color FFCC33 gt lt strong gt lt img src images pin png
111. ndation will elect to arbitrate any Dispute falling within that portion of Section 10 d found to be illegal or unenforceable 18 The KSLOF GIS Data Portal 2009 and such Dispute shall be decided by a court of competent jurisdiction within the County of San Diego State of California United States of America and you and the Khaled bin Sultan LIVING OCEANS Foundation agree to submit to the personal jurisdiction of that court 11 Miscellaneous This End User License Agreement constitutes and contains the entire agreement between the parties with respect to the subject matter hereof and supersedes any prior oral or written agreements provided however that this End User License Agreement shall coexist with and shall not supersede the Terms of Use To the extent that the provisions of this End User License Agreement conflict with the provisions of the Terms of Use the conflicting provisions in the Terms of Use shall govern 19 The KSLOF GIS Data Portal 2009 Appendix B KSLOF Privacy Statement June 2009 The Khaled bin Sultan LIVING OCEANS Foundation KSLOF will never use any information you may provide as a marketing tool The list of users will not be sold or revealed to others except to follow a court order for its release The information gathered is only that necessary to identify the user allow KSLOF to execute statistical analysis of users using the basic demographic parameters collected and allow KSLOF to improve its prod
112. nuBar prototype removelframeLayer function menu var layers menu parentNode getElementsByTagName iframe while layers length O layers 0 parentNode removeChild layers 0 clearMenus for Menu Bar root is the top level unordered list lt ul gt tag Spry Widget MenuBar prototype clearMenus function root var menus root getElementsByTagName ul for var i 0 i lt menus length i this hidesubmenu menus i this removeClassName this element MenuBarActive bubbledTextEvent for Menu Bar identify bubbled up text events in Safari so we can ignore them Spry Widget MenuBar prototype bubbledTextEvent function 72 The KSLOF GIS Data Portal 2009 return navigator vendor Apple Computer Inc amp amp event target event relatedTarget parentNode event eventPhase 3 amp amp event target parentNode event relatedTarget E showSubmenu for Menu Bar set the proper CSS class on this menu to show it Spry Widget MenuBar prototype showSubmenu function menu l if this currMenu this clearMenus this currMenu this currMenu null if menu this addClassName menu MenuBarSubmenuvisible if typeof document all undefined amp amp typeof window opera undefined amp amp navigator vendor KDE if Ithis hasClassName this element MenuBarHorizontal menu parentNode parentNode this element menu st
113. ode parentNode need to save this for scope further down var self this this addEventListener listitem mouseover function e if self bubbledTextEvent ignore bubbled text events return clearTimeout closetime if self currMenu listitem self currMenu null 74 The KSLOF GIS Data Portal 2009 show menu highlighting self addClassName link hasSubMenu MenuBarltemSubmenuHover MenuBarltemHover if menu amp amp self hasClassName menu MenuBarSubmenuvisible opentime window setTimeout function self showSubmenu menu 250 false this addEventListener listitem mouseout function e if self bubbledTextEvent ignore bubbled text events return var related typeof e relatedTarget undefined e relatedTarget e toElement if listitem contains related clearTimeout opentime self currMenu listitem remove menu highlighting self removeClassName link hassubMenu MenuBarltemSubmenuHover MenuBarltemHover if menu closetime window setTimeout function self hideSubmenu menu 600 false 75 The KSLOF GIS Data Portal 2009 TabbedPanels js SpryTabbedPanels js Revision Spry Preview Release 1 4 Copyright c 2006 Adobe Systems Incorporated All rights reserved Redistribution and use in source and binary forms with or without modificat
114. om button again to turn zoom mode off 84 The KSLOF GIS Data Portal 2009 opts_other backButtonEnabled Boolean enables Back Button functionality opts_other backButtonHTML String The back button HTML opts_other backButtonStyle Object A hash of css styles for the back button which will be applied when the button is created opts_other minDragSize Number The minimum size of the rectangle when it is released for a zoom to happen param opts_callbacks Named optional arguments opts_callbacks buttonclick Function Called when the DragZoom is activated by clicking on the zoom button opts_callbacks dragstart Function Called when user starts to drag a rectangle Callback args are x y the PIXEL values relative to the upper left hand corner of the map where the user began dragging opts_callbacks dragging Function Called repeatedly while the user is dragging Callback args are startX startY currentX currentY the PIXEL values of the start of the drag and the current drag point respectively opts_callbacks dragend Function Called when the user releases the mouse button after dragging the rectangle Callback args are NW GLatLng NE GLatLng SE GLatLng SW GLatLng NW GPoint NE GPoint SE GPoint SW GPoint The first 4 are the latitudes longitudes the last 4 are the pixel coords on the map opts_callbacks backbuttonclick Function Called when the back button is activated after the map conte
115. on value GQ gt Equatorial Guinea lt option gt lt option value ER gt Eritrea lt option gt lt option value EE gt Estonia lt option gt lt option value ET gt Ethiopia lt option gt lt option value FK gt Falkland Islands Malvinas lt option gt lt option value FO gt Faroe Islands lt option gt option value FJ gt Fiji lt option gt lt option value FI gt Finland lt option gt lt option value FR gt France lt option gt lt option value FX gt France Metropolitan lt option gt option value GF gt French Guiana lt option gt lt option value PF gt French Polynesia lt option gt lt option value TF gt French Southern Territories lt option gt lt option value GA gt Gabon lt option gt 33 The KSLOF GIS Data Portal 2009 lt option value GM gt Gambia lt option gt lt option value GE gt Georgia lt option gt lt option value DE gt Germany lt option gt lt option value GH gt Ghana lt option gt option value Gl gt Gibraltar lt option gt lt option value GR gt Greece lt option gt lt option value GL gt Greenland lt option gt lt option value GD gt Grenada lt option gt lt option value GP gt Guadeloupe lt option gt lt option value GU gt Guam lt option gt lt option value GT gt Guatemala lt option gt lt option value GN gt Guinea lt option gt lt option value GW gt Guinea Bissau lt option gt lt option value GY gt Guyana lt option gt
116. require auto executed ActiveX modules to be allowed to run This portal was developed using JavaScript and a combination of other technology that are often times referred to as ActiveX modules to facilitate data discovery The portal also incorporates a number of calls to pop up windows as they become necessary This means that all pop up blockers to this domain should be disabled to use it effectively The main GUI provides an interactive user interface with the following components A working area that changes depending on the active tab B tab function to quickly move to different views of the same data C navigation menu to move to other link of interest such as the available interactive map viewers and D messages and reminders to users Figure 2 The Interactive Map Interface The first tab on the portal entry page called the Interactive Map contains a world map based on Google Earth API technology with georeferenced markers displaying where data are available via the KSLOF repository These markers signify the status of the data and may either be red yellow or green Table 1 Clicking on a green or red marker will open a balloon message describing the data Figure 3 The pop up message provides a hyperlink to display the full abstract of the data from which data can also be downloaded http www sqlite org The KSLOF GIS Data Portal G KSLOF GS Data Porta 93 C Qcoos rsmas miami edu e r lin wm No Cwsibe
117. ription Srow description br gt echo lt td gt echo lt td align center style font size 11px color 003366 font family Arial Helvetica sans serif gt lt a href Srow url target _blank gt Open Viewer lt a gt lt td gt echo lt tr gt echo lt table gt catch PDOException Se Sdbh gt rollBack die delete object Sdbh null gt lt p gt amp nbsp lt p gt lt div gt lt div gt lt div gt lt end mainContent gt lt div gt div class clearfloat gt lt img src images kslof_footer png gt lt div gt lt end container gt lt div gt lt script type text javascript gt lt var TabbedPanels1 new Spry Widget TabbedPanels TabbedPanels1 var MenuBar1 new Spry Widget MenuBar KSLOF DP Menu imgDown jscript SpryMenuBarDownHover gif imgRight jscript SpryMenuBarRightHover gif f lt script gt lt body gt lt html gt 52 The KSLOF GIS Data Portal 2009 DataPortal_GenerateKML_Public php lt php Module DataPortal_GenerateKML_Public php Purpose Dynamically generates the KML files for Earth Google application Author Felimon Gayanilo felimon gayanilo net Date Last Update 23 June 2009 Copyright c 2009 Living Oceans Foundation MD All right reserved Sdb S_SERVER DOCUMENT_ROOT kslof data kslof_gis sqlite try Sdbh new PDO sqlite Sdb Sdbh gt setAttribu
118. rnerLeftDiv style width G startX addX G startX G mapWidth px G cornerRightDiv style top G cornerLeftDiv style top G cornerRightDiv style left G startX addX rect width G borderCorrection px G cornerBottomDiv style top G startY addY rect height G borderCorrection px G cornerBottomDiv style left G startX G mapWidth G startX addX G startX G mapWidth px G cornerBottomDiv style width rect width G borderCorrection px invoke callback if provided if G callbacks dragging null G callbacks dragging G startX G startY rect endX rect endY return false in Function called when mouseup event is captured param Event e Ju 91 The KSLOF GIS Data Portal 2009 DragZoomControl prototype mouseup_ function e var G this globals if G draggingOn var pos this getRelPos e G draggingOn false var rect this getRectangle G startX G startY pos G mapRatio if rect left rect endX rect startX rect width if rect top rect endY rect startY rect height this resetDragZoom if rect width gt G options minDragSize amp amp rect height gt G options minDragSize var nwpx new GPoint rect startX rect startY var nepx new GPoint rect endX rect startY var sepx new GPoint rect endX rect endY var swpx new GPoint rect startX rect endY var nw G map fromContainerPixelToLatLng nwpx v
119. rove the mapping of reefs to understand patterns and dynamics of reef communities and to improve the use of habitat maps for conservation During 2001 the Living Oceans Foundation supported Dr Mumby in collecting high resolution multi spectral imagery from an instrument mounted on a seaplane Open Viewer Figure 6 Table List of Map Viewers that display data developed jointly by other organizations with KSLOF support User Registry Downloading data from this portal will require that users register to a central registry which is maintained by KSLOF KSLOF makes it clear through their Privacy Statement Appendix B to users that data collected will not be used for marketing tools sold or revealed to others except to follow a court order for its release Users are encouraged to provide accurate registration information in order for KSLOF to serve its client better Registration is free to all who wish to access and use the data The link to the user registration form is found in the list of messages Figure 2D or when attempting to download data Figure 8 The required inputs are self explanatory however it should be noted that there are other required fields KSLOF uses these to understand demographic statistics of their users which can be used to better serve the clients Additionally there are challenge questions to answer for security purposes when retrieving lost passwords Importantly users will have to agree to the End User Lic
120. s Eve vare eV sea eoo RN 11 Querying the Database tente redes ta keen Pha geo nha uae ee Chas cove abavedssaedecceaubivedsedatedessubaccessdedecee 12 ADDCNGICES fence s 2enscszzdeceaa terest ER T EL UEM 15 Appendix A End User License Agreement cccsecssssececeeecesseeaaececeescessesaeaecececeseesesaeaeeeescessesnsaeaeeeeeens 15 Appendix B KSLOF Privacy Statement June 2009 ccc ecccessececssseeeecsesaececsssaececsesaececeesaeeeesesaeeeeseaaes 20 Appendix C KSLOF Database Tables and SQL Structure ccsccccscsssececeeneeceeseaececeeaeeeseeaeeeeeeaaeeeeeenaes 21 Appendix C PHP Source COdeS c cccccccesssssssscecececessesnsaesececscesseseaaeeeceessesseseeaeeeseceseeseaaeaeeeeeceseesesaeaeeeeeens 23 DataPortal EULA HENI st ee dee tete eoe edente Ward tst dee ade ERU 23 Data Portal Registry html sess eene nnne eE Taer en entra sa nass sss EE is asas ases nnne nan 28 DataPortal Download Php iiic aee venie tiennent caede tuve twr toe eye EEEE EENS 41 DataPortal Detalls Dip zx uo tetto Itera ks teleavapnvest et ert NEUE 43 IP cideaciM EsimeE 46 DataPortal GenerateKML Public php eseeseeeeeeeeeeneeer eene ne nnns nn nian 53 DataPortal GerierateKML php et d ente aa cette aa dea etes tui denn ee EERS 59 DataPortal Save User php ie iei t te aec e etl ede dn ead etd ce eae oc ete dz danke 65 I mageswap S 5 vore ri Ee E EXE eee eterne iue niei eate eu Ier tore eie N
121. s granted herein shall immediately terminate br p p alignz justify class style2 gt 5 Export Controls lt p gt p alignz justify class style2 gt The downloaded data may not be re exported posted or otherwise exported into or to a national or resident of any country to which the U S has embargoed goods or to anyone on the U S 24 The KSLOF GIS Data Portal 2009 Treasury Department s list of Specially Designated Nationals or the U S Commerce Department s Table of Denial Orders You represent and warrant that you are not located in under the control of or a national or resident of any such country or on any such list lt p gt lt p class style2 gt 6 Limited Warranty lt p gt lt p align justify class style2 gt THE DATA DISTRIBUTED IN THIS PORTAL IS PROVIDED amp quot AS IS amp quot WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS OR IMPLIED INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF CONDITION UNINTERRUPTED USE MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT The entire risk arising out of use or performance of the downloaded data remains with the user lt p gt p align justify class style2 gt 7 Limitation of Liability Indemnity lt p gt lt p align justify class style2 gt KHALED BIN SULTAN LIVING OCEANS FOUNDATION SHALL NOT BE LIABLE IN ANY WAY FOR ANY LOSS OR DAMAGE OF ANY KIND ARISING OUT OF THE DOWNLOADED DATA OR ANY USE OF THIS DATA PORTAL INCLU
122. se amp nbsp Click amp nbsp amp nbsp point lat toFixed 6 amp nbsp point Ing toFixed 6 this mouseDisplay innerHTML Mouse amp nbsp Click amp nbsp amp nbsp point lat toFixed 6 amp nbsp point Ing toFixed 6 this MMoveEnd function this MUpdateStatus this MZoomEnd function this MUpdateStatus this MMouseMove function mousePt var zoom this map getZoom var mousePx this projection fromLatLngToPixel mousePt zoom if this DMS this mouseDisplay innerHTML Mouse amp nbsp LatLon amp nbsp this degToDms mousePt lat amp nbsp this degToDms mousePt Ing this centerDisplay innerHTML Mouse amp nbsp LatLon amp nbsp this degToDms mousePt lat amp nbsp this degToDms mousePt Ing else this mouseDisplay innerHTML Mouse amp nbsp LatLon amp nbsp mousePt lat toFixed 6 amp nbsp mousePt Ing toFixed 6 this centerDisplay innerHTML Mouse amp nbsp LatLon amp nbsp mousePt lat toFixed 6 amp nbsp mousePt Ing toFixed 6 this mousePxDisplay innerHTML Mouse amp nbsp Px amp nbsp amp nbsp amp nbsp amp nbsp amp nbsp mousePx x amp nbsp mousePx y this mouseTileDisplay innerHTML Mouse amp nbsp Tile amp nbsp amp nbsp amp nbsp Math floor mousePx x 256 amp nbsp Math floor mousePx y 256 103 The KSLOF GIS Data Portal 2009 this MUpd
123. should be directed to the webmaster General comments from the public on the usefulness of our website are welcome KSLOF requires users to register before downloading GIS materials from this Registration is free If you are a registered user enter the username and passcode Click here to register Click here to view the OF s Privacy Statement Figure 8 User authentication page Successful authentication is done only once per session This means that if you have already entered your username and password then the portal will remember you as long as you do not close your browser However if you are inactive for over 1 minute the portal will request that you re enter these parameters again Moving the Data Portal The portal may be moved to a new location as the need arises The following is the step by step procedure on how to do this A person with substantial experience in installing setting up web servers is required Also you may refer to system manual on how to setup a web server Step 1 The Folder Structure The following folders should be created on the web server structure S_SERVER DOCUMENT_ROOT root directory for all PHP and HTML files LD css for Cascading Style Sheets data for KML and SQLITE files L gt images for all images JPG PNG GIF L jscript for all Java scripts and Spry supporting files The KSLOF GIS Data Portal 2009 Step 2 Edit Database Paths When moving the portal to another domai
124. stry d company POST d company d role POST d_role Schallenge POST challenge Sresponse POST response Ssql INSERT INTO users username password firstname lastname job organization address1 address2 city state pcode country phone emai l d industry d company d role challenge response VALUES sql username sql password Ssql Sfirstname 66 The KSLOF GIS Data Portal 2009 sql Slastname sql Sjob title sql Boigahization sql Saddress1 asl sql Saddress2 sql Scity sql S tates mus sql Sbcode mas sql B counties s sgl phone sql email sql d industry as sgl d company sql d role sql eehallenges sql Sresponse ae echo sql lt br gt SDB_conn gt exec Ssql SDB_conn gt commit SDB_conn null echo The user profile is saved lt a href javascript window close gt Close this Window lt a gt and proceed with login to download catch PDOException Se echo The user profile was not saved Please contact KSLOF if the following error persist Se gt getMessage lt br gt echo a href javascript window close gt Close this Window lt a gt and try registering again die gt 67 The KSLOF GIS Data Portal 2009 imageswap js Module imageswap js Purpose Dynami
125. t lt tr gt Skml_output 015 012 Skml_output lt table gt Skml_output 015 012 kml output gt lt description gt kml output 015 012 kml output lt styleUrl gt viewer lt styleUrI gt kml output 015 012 kml output lt Point gt Skml_output 015 012 kml output coordinates Srow lon Srow lat 0 lt coordinates gt Skml_output 015 012 kml output lt Point gt kml output 015 012 kml output lt Placemark gt kml output 015 012 enter final footer Skml_output lt Document gt Skml_output 015 012 Skml_output lt kmI gt Skml_output 015 012 close the database handler Sdbh null 63 The KSLOF GIS Data Portal 2009 create the file Sfile S_SERVER DOCUMENT_ROOT kslof data kslof_DataPortal kml echo 3 Overwrite any existing file lt br gt if file_exists Sfile unlink Sfile Sfdh fopen Sfile x or die Cannot create Sphp_errormsg echo 4 Writing updated file file lt br gt fwrite Sfdh Skml output echo 5 Closing the new file and now ready for use br br gt fclose Sfdh echo Done gt 64 The KSLOF GIS Data Portal 2009 DataPortal_Save_User php lt php Module DataPortal_Save_User php Purpose To save the _POSRT parameters from the user re
126. t option gt lt option value ID gt Idaho lt option gt lt option value IL gt IIlinois lt option gt lt option value IN gt Indiana lt option gt option value IA gt lowa lt option gt lt option value KS gt Kansas lt option gt lt option value KY gt Kentucky lt option gt lt option value LA gt Louisiana lt option gt lt option value ME gt Maine lt option gt lt option value MD gt Maryland lt option gt lt option value MA gt Massachusetts lt option gt lt option value MI gt Michigan lt option gt lt option value MN gt Minnesota lt option gt lt option value MS gt Mississippi lt option gt lt option value MO gt Missouri lt option gt lt option value MT gt Montana lt option gt lt option value NE gt Nebraska lt option gt lt option value NV gt Nevada lt option gt lt option value NH gt New Hampshire lt option gt lt option value NJ gt New Jersey lt option gt option value NM gt New Mexico lt option gt lt option value NY gt New York lt option gt lt option value NC gt North Carolina lt option gt lt option value ND gt North Dakota lt option gt lt option value OH gt Ohio lt option gt lt option value OK gt Oklahoma lt option gt lt option value OR gt Oregon lt option gt lt option value PA gt Pennsylvania lt option gt lt option value RI gt Rhode Island lt option gt 31 The KSLOF GIS Data Portal 2009 lt option value SC gt South
127. taPortal_Details css rel stylesheet type text css gt lt head gt lt body class twoColFixRtHdr gt lt div id container gt lt div gt lt div align center gt img src images kslof_header_01 png width 952 height 133 gt lt ul id KSLOF_DP_Menu class MenuBarHorizontal gt lt li gt lt a href http livingoceansfoundation org target _self gt HOME lt a gt lt li gt lt li gt lt a hrefz DataPortal Map php target _self style width 180px gt Data Portal Home lt a gt lt li gt lt li gt lt a class MenuBarltemSubmenu href stylez width 250px Online Map Viewers lt a gt lt ul gt lt li gt lt a href http www livingoceansfoundation org index php option com_wrapper amp ltemid 163 target _blank gt St Croix and Buck Island Data Navigator lt a gt lt li gt lt li gt lt a href http lof towson edu LOF standard target _blank gt St Thomas and St John Habitat Mapper lt a gt lt li gt lt ul gt lt li gt lt li gt lt a href style Wwidth 400px height 15px gt lt a gt lt li gt lt ul gt lt p gt lt br gt lt img src images kslof_header_02 png width 952 height 29 gt lt p gt lt div gt lt div gt div idz mainContent style color 000000 gt p align left style font size 12px font weight bold color KFFFF00 font family Times New Roman Times serif gt METADATA lt p gt lt div align left gt lt php if isset S_GET map_id f Smap_i
128. te PDO ATTR_ERRMODE PDO ERRMODE_EXCEPTION catch PDOException Se Sdbh gt rollBack echo Error Se gt getMessage lt br gt die place the header inside a lt document gt tag Skml_output xml version 1 0 encoding UTF 8 gt Skml_output 015 012 Skml_output kml xmlnsz http www opengis net kml 2 2 kml output 015 012 Skml_output Document Skml_output 015 012 kml output Style id classified gt Skml_output 015 012 kml output lt BalloonStyle gt kml output 015 012 kml output text S description text kml output 4015012 kml output lt BalloonStyle gt Skml_output 015 012 kml output lt IconStyle gt Skml_output 015 012 kml output lt scale gt 0 6 lt scale gt Skml_output 015 012 kml output Icon kml output 015 012 kml output lt href gt http www kbslof org gisui images classified png lt href gt Skml_output 015 012 Skml_output lt Icon gt Skml_output 015 012 kml output lt IconStyle gt Skml_output 015 012 kml output lt Style gt Skml_output 015 012 kml output Style id open gt kml output 4015012 kml output lt BalloonStyle gt 53 The KSLOF GIS Data Portal 2009 kml output kml output kml output kml output kml
129. ted to the user The Table Listings There are two table listings that represent the same set of data as presented in the interactive map as shown in Figure 2 These are 1 Table Listing of Maps and 2 Table Listing of Map Viewers The Table Listing of Maps provides a catalog of maps in the repository sorted by location oftentimes country and title Figure 5 The KSLOF GIS Data Portal 2009 Table Listing of Map Viewers NOTE Some maps are still being cleared from ther sources and as such will require special permission to download the file When requesting data from restricted Est please specify how and where the data wil be used Location Metadata Link to Download Tite African Banks Habitat Map Seychelles Author Khaled bin Sultan Living Oceans Foundation Publication Date 2007 08 01 00 00 00 Data Type ESRI Shapefile Abstract This is a collaborative benthic har ne Khaled bin Sultan Living Oceans Foundation Un d Centre for Marine Research and Technology Ms Restricted Please dws the key shallow water benthic habtats of A contact KSLOF for island group southern Seychelles Westem permission Cet by performing a classification on 17 bands fy 2009 Where data are missing due to cloud cov dassitying georeferenced Landsat data 2000 Proje 4nd Datum WGS 1964 Sensor Compact Arborne Spectr s 0s 1m pixels 434 849nm electromagnetic spectrum region Origins copyright Khaled bin Sultan Living Oceans Foundatio
130. text text string for the back button f DragZoomControl prototype saveMapContext function text if this globals options backButtonEnabled this saveBackContext text true this globals backButtonDiv style display block p Method called to initiate a dragZoom as if the user had clicked the dragZoom button DragZoomControl prototype initiateZoom function this buttonclick_ Method called to initiate a dragZoom back operation as if the user had clicked the dragZoom back button Back Button functionality of DragZoomControl prototype initiateZoomBack function if this globals options backButtonEnabled this backbuttonclick_ fae Creates a new button to control gzoom and appends to the button container div param DOM Node buttonContainerDiv created in main initialize code DragZoomControl prototype initButton_ function buttonContainerDiv var G this globals var buttonDiv document createElement div buttonDiv innerHTML G options buttonHTML DragZoomUtil style buttonDiv cursor pointer zindex 200 DragZoomUtil style buttonDiv G options buttonStartingStyle DragZoomUtil style buttonDiv G options buttonStyle buttonContainerDiv appendChild buttonDiv return buttonDiv Creates a second new button to control backup zoom and appends to the button container div 87 The KSLOF GIS Data Portal 2009 param DOM Node buttonContainerDiv
131. tion 0 E box style options this globals style opacity 2 fillColor 000 border 2px solid blue y var style this globals style for var s in opts boxStyle style s opts_boxStyle s var borderStyleArray style border split style outlineWidth parselnt borderStyleArray 0 replace D g style outlineColor borderStyleArray 2 style alphalE alpha opacity style opacity 100 map context stack for back button this globals backStack Other options this globals options buttonHTML zoom buttonStartingStyle width 52px border 1px solid black padding 2px buttonStyle background FFF backButtonHTML zoom back backButtonStyle background FFF display none buttonZoomingHTML Drag a region on the map buttonZoomingStyle background FFO overlayRemoveTime 6000 backButtonEnabled false stickyZoomEnabled false rightMouseZoomOutEnabled false minDragSize 0 b for var s in opts other this globals options s opts_other s callbacks buttonclick dragstart dragging dragend backbuttonclick if opts_callbacks null 86 The KSLOF GIS Data Portal 2009 opts_callbacks this globals callbacks opts_callbacks y DragZoomControl prototype new GControl Methods Method called to save the map context before the zoom Back Button functionality param
132. to correct a problem e g a corrupted table Cw Li iO kL in i Sa Database Table Index View Trigger Tools Help Eee mem aM OME omm e kslof giss v Structure Browse amp Search Execute SQL DB Settings b Master Table 1 z fees TABLE TEETEET Add Record Duplicate Record Edit Selected Delete Selected Adocument id title type author pubD edition abstract startD endD restric urlDo urllnt lat lon status size locati R j id 1 Alpho ESRI S Khaled 2007 0 1 This is 2005 0 2007 0 classifi seyche NULL 7 021 52 737 0 345 Seychelles title 2 Africa ESRIS Khaled 2007 0 1 This is 2005 0 2007 0 classifi seyche NULL 4901 53 378 0 9 69 Seychelles type 3 Bijouti ESRIS Khaled 2007 0 1 This is 2005 0 2007 0 classifi seyche NULL 7118 52 749 0 296 Seychelles author 4 Boude ESRIS Khaled 2007 0 1 This is 2005 0 2007 0 classifi seyche NULL 6 081 52 835 0 411 Seychelles pubDate n 5 Darros ESRI S Khaled 2007 0 1 This is 2005 0 2007 0 classifi seyche NULL 5416 53 297 0 549 Seychelles edition ij 6 Desno ESRIS Khaled 2007 0 1 This is 2005 0 2007 0 classifi seyche NULL 5416 53 297 0 251 Seychelles abstract n Etoile ESRIS Khaled 2007 0 1 This is 2005 0 2
133. ucts and services KSLOF will occasionally update this Statement of Privacy to reflect the organization and user feedback 20 The KSLOF GIS Data Portal 2009 Appendix C KSLOF Database Tables and SQL Structure The system employs an SQLite database engine to store all data of the portal It has the following tables Table Name Purpose SQL document Core storage for the CREATE TABLE document metadata of the data id integer PRIMARY KEY NOT NULL available title varchar 150 NOT NULL type varchar 50 NOT NULL DEFAULT ESRI Shapefile author varchar 100 pubDate datetime edition double abstract text startDate datetime endDate datetime restriction text urlDownload text urlinteractive text lat double lon double status integer size double location text pubdatedownloads Monitor what users are CREATE TABLE downloads downloading username varchar 50 NOT NULL map_id integer NOT NULL downloadDate datetime NOT NULL y users Details about the CREATE TABLE users registered user username varchar 50 PRIMARY KEY NOT NULL password varchar 10 NOT NULL firstname varchar 150 NOT NULL lastname varchar 150 NOT NULL job varchar 150 organization varchar 150 address1 text city varchar 100 state varchar 100 pcode varchar 10 country varchar 50 NOT NULL email varchar 150 d industry varchar 100 d company varchar 100 d role varchar 100 challenge
134. unity observed in the U S Virgin Islands b repicate data from benthic communities at different sites around both islands and Figure 5 The Table Listing of Maps in the repository is an alternative to the map interface when retrieving data Depending on the classification of the map some are ready for downloading while others may require special permission to download and use The other table is the Table Listing of Map Viewers that KSLOF developed in partnership with other organizations Figure 6 These viewers while also developed to be deployed via the web may have entirely different system requirements from this portal Please refer to their user manuals if problems are encountered when retrieving these modules as they are maintained by their original authors You may also contact KSLOF if there are difficulties contacting the original authors of these modules The KSLOF GIS Data Portal 2009 Interactive Map Table Listing of Maps NOTE These interactive map viewers are located in a different domain Viewer Details External Link Title St Croix and Buck Island Data Navigator Description This project was a continuation of our work in the USVI In partnership with the University of Open Viewer Miami we gathered all of the available marine data around St Croix and Buck Island to put into a user friendly Geographic Information System Data Navigator Title St Thomas and St John Habitat Maps Description The goals were to imp
135. ust obtain permission from the Khaled bin Sultan Living Oceans Foundation MD to use the copyrighted material prior to its use The KSLOF GIS Data Portal 2009 Table of Contents list of Tables riensi icnn aa e a teas side EEE EE tan ET EE E E E aa iv BiSE Ol FBUrE S eare ere emu EM iv PMTFOCUCTION S 1 The Graphic User Interface sn t t ert eredi breve a tae tu a RO EE ev EE NE 2 The Interactive Map Interface esses eene en than en thaa sien tasa sien nada sisi tasas senes ases na dis 2 THE Table Listing S asorot anaana cet ote E ree recorded Dee ke eu n Me aestas RR 5 User RESISUIY c 7 Downloading and Using the Data cccccssssscececessesesneseeeeecesseseeaeseeeesessseeaaeeesecssessesasaeseesessseseaaeaeeeeeens 8 Moving the Data Portal ccccccccssssssccececessesesseaecesecessesesaesecesecessesesaeaeceeecesseseeaeaeeeessussessuaeaeeeeecuseessaeaeeeeeens 9 Step Tne Folder Str ct te oin e ERE RE Eee e papi E A ES 9 Step 2 Edit Database Paths e ece i inen e aerate e ve dek Wa tender vance ce da obe cd etx Ranas 10 Step 3 Edit PermilssiOriS cid tuse terere ce aere ox eed eet uem neri eaa adt eC ug e eut nga ee Uva ERR PEE RE EVER Rd eu Ex A 10 Managing the Databases nitet eet deat EREE REEE queen emu dnos aene eiee Eeee aE EEES cenae Ee eara qd 111 Adding and Modifying Data tete e e eerte erste totus eese pere
136. utton G backButtonDiv style display none y m Set the cover sizes according to the size of the map DragZoomControl prototype setDimensions_ function var G this globals var mapSize G map getSize G mapWidth mapSize width G mapHeight mapSize height G mapRatio G mapHeight G mapWidth set left Opx in next lt div gt s in case we inherit text align center from map lt div gt in IE DragZoomUtil style G mapCover G cornerTopDiv G cornerRightDiv G cornerBottomDiv G cornerLeftDiv top Opx left Opx width G mapWidth px height G mapHeight px J Initializes styles based on global parameters DragZoomControl prototype initStyles function var G this globals DragZoomUtil style G mapCover G cornerTopDiv G cornerRightDiv G cornerBottomDiv G cornerLeftDiv ffilter G style alphalE opacity G style opacity background G style fillColor G outlineDiv style border G style border y Function called when the zoom button s click event is captured DragZoomControl prototype buttonclick function var G this globals G backButtonDiv style display none if G mapCover style display block reset if clicked before dragging this resetDragZoom_ if G options backButtonEnabled this restoreBackContext_ pop the backStack on a button reset if G backStack length 0 G backButtonDiv style display none selse this initCover_
137. varchar 100 NOT NULL 21 The KSLOF GIS Data Portal 2009 response varchar 100 NOT NULL address2 text phone text y viewers List of all associated CREATE TABLE viewers interactive map lat double NOT NULL viewers lon double NOT NULL label text description text url text image text y 22 The KSLOF GIS Data Portal 2009 Appendix C PHP Source Codes DataPortal_EULA html lt l Module DataPortal EULA html Purpose The End User License Agreement EULA Author Felimon Gayanilo felimon gayanilo net Date Last Update 23 June 2009 Copyright c 2009 Living Oceans Foundation MD All right reserved gt lt DOCTYPE HTML PUBLIC W3C DTD HTML 4 01 Transitional EN http www w3 org TR html4 loose dtd gt lt html gt lt head gt meta http equiv Content Type content text html charset utf 8 gt lt title gt KSLOF Data Portal lt title gt lt script src jscript SpryMenuBar js type text javascript gt lt script gt lt script src jscript imageswap js type text javascript gt lt script gt link href css DataPortal_EULA css rel stylesheet type text css gt lt link href jscript SpryMenuBarHorizontal css rel stylesheet type text css gt lt link href jscript SpryMenuBarVertical css rel stylesheet type text css gt lt head gt body class twoColFixRtHdr onLoad MM_preloadimages images closeWindow_down
138. ve no interest monetary or otherwise in any feature or content contained in the downloaded data or associated files 10 Dispute Resolution and Governing Law a Informal Negotiations To expedite resolution and control the cost of any dispute controversy or claim related to this End User License Agreement Dispute you and the Khaled bin Sultan LIVING OCEANS Foundation agree to first attempt to negotiate any Dispute except those Disputes expressly provided below informally for at least 30 days before initiating any arbitration or court proceeding Such informal negotiations commence upon written notice from one person to the other You will send your notice to Khaled bin Sultan LIVING OCEANS Foundation 8181 Professional Place Suite 215 Landover MD 20785 U S A 17 The KSLOF GIS Data Portal 2009 b Binding Arbitration If you and the Khaled bin Sultan LIVING OCEANS Foundation are unable to resolve a Dispute through informal negotiations either you or the Khaled bin Sultan LIVING OCEANS Foundation may elect to have the Dispute finally and exclusively resolved by binding arbitration Any election to arbitrate by one party shall be final and binding on the other YOU UNDERSTAND THAT ABSENT THIS PROVISION YOU WOULD HAVE THE RIGHT TO SUE IN COURT AND HAVE A JURY TRIAL The arbitration may be conducted in person through the submission of documents by phone or online The arbitrator will make a decision in writing but need not provide
139. wnloaded data or any of its parts for any commercial purpose whatsoever 4 Termination This End User License Agreement is effective until terminated You may terminate the End User License Agreement at any time by i permanently destroying all copies of the downloaded data in your possession or control ii removing the downloaded data from your hard drive and iii notifying the Khaled bin Sultan LIVING OCEANS Foundation of your intention to terminate this End User License Agreement The Khaled bin Sultan LIVING OCEANS Foundation may terminate this End User License Agreement at any time for any reason or no reason In such an event you must immediately and permanently destroy all copies of the downloaded data in your possession and remove the associated data files from your hard drive Upon termination of this End User License Agreement for any reason all licenses granted herein shall immediately terminate 5 Export Controls The downloaded data may not be re exported posted or otherwise exported into or to a national or resident of any country to which the U S has embargoed goods or to anyone on the U S Treasury Department s list of Specially Designated Nationals or the U S Commerce Department s Table of Denial Orders You represent and warrant that you are not located in under the control of or a national or resident of any such country or on any such list 6 Limited Warranty THE DATA DISTRIBUTED IN THIS PORTAL ARE PROVIDED A
140. xt is restored Callback args methodCall boolean set true if this backbuttonclick was to restore context set by the mathod call else false Method this saveMapContext text Call to push map context onto the backStack and set the button text this initiateZoom Call to simulate clicking the dragZoom button this initiateZoomBack Call to simulate clicking the dragZoom back button 0 0 0 0 0 0X 0 X X X X HF X X X FF nA Versions 1 0 original version v 189 5 24 2007 1 1 backbutton functionality added v 211 7 30 2007 1 2 bug fixes and 2 new methods 9 6 2007 fix text selection conflict in IE fix align text center inheritance problem in IE create methods initiateZoom and initiateZoomBack which call buttonclick and backbuttonclick X WARNING This version was modified by F Gayanilo University of Miami 2009 Do not distribute version Always refer to http gmaps utility library googlecode com svn trunk dragzoom release src dragzoom js function DragZoomControl opts_boxStyle opts other opts callbacks Holds all information needed globally Not all globals are initialized here this globals draggingOn false cornerTopDiv null cornerRightDiv null cornerBottomDiv null cornerLeftDiv null mapPosition null 85 The KSLOF GIS Data Portal 2009 outlineDiv null mapWidth 0 mapHeight 0 mapRatio 0 startX 0 startY 0 borderCorrec
141. yle top menu parentNode offsetTop px if typeof document uniquelD undefined this createlframeLayer menu this addClassName this element MenuBarActive E hidesubmenu for Menu Bar remove the proper CSS class on this menu to hide it Spry Widget MenuBar prototype hideSubmenu function menu if menu this removeClassName menu MenuBarSubmenuvisible if typeof document all undefined amp amp typeof window opera undefined amp amp navigator vendor KDE menu style top menu style left this removelframeLayer menu y initialize for Menu Bar 73 The KSLOF GIS Data Portal 2009 create event listeners for the Menu Bar widget so we can properly show and hide submenus Spry Widget MenuBar prototype initialize function listitem element isie var opentime closetime var link listitem getElementsByTagName a 0 var submenus listitem getElementsByTagName ul var menu submenus length gt 0 submenus 0 null var hasSubMenu false if menu this addClassName link MenuBarltemSubmenu hasSubMenu true if lisie define a simple function that comes standard in IE to determine if a node is within another node listitem contains function testNode this refers to the list item if testNode null return false if testNode this return true else return this contains testN
142. ys e A bugery W207 IicneMcira RASA Lue al U45 The KSLOF GIS Data Portal 2009 Marker Type Remarks 3 Classified This marker implies that geographic data is available for this area is available but KSLOF requires the user to email KSLOF williams livingoceansfoundation org where the data will be used and distributed as it applies before a link is provided Open This marker implies that a geographic data is available for this area and these maps may be downloaded without special permissions from the authors Viewer These markers represent online interactive map viewers available to users Table 1 Georeferenced and color coded markers are used to identify the type of data available Table Listing of Maps Table Listing of Map Viewers NOTE The geo markers in the map are areas where maps or interactive map viewers are available Some markers may overlap with neighboring markers Zoom to the area of interest to reveal other maps Satellite No Overlays St John Habitat Map USVI Author Khaled bin Sultan Living Oceans Foundation Pub Date 2005 07 08 00 00 00 Data Type ESRI Shapefile Click here for more information Te le te te te te te te bet Peter Ve te te te te te te tet British Viro Islands aor Rico PN inguina 9 TerraMetrics Map data 2009 Tele Atlas Europa Technologies Terms of Use Mouse LatLon 18 641040 63 690491
Download Pdf Manuals
Related Search
Related Contents
vitavit® edition LIMITED WARRANTY Mode d`emploi HVL Manual de instrucciones Copyright © All rights reserved.
Failed to retrieve file