120 likes | 267 Views
L- Thia Overview. L-THIA Area Process. Mobile App. Input Latitude/Longitude. o utput2.py. snapping. Display polygon as WMS map layer. Watershed delineation. Index.html. Geoserver : Display Outline. Select Existing (HUC) Watershed. Tabulate L-THIA Inputs. huc.py.
E N D
L-THIA Area Process Mobile App Input Latitude/Longitude output2.py snapping Display polygon as WMS map layer Watershed delineation Index.html Geoserver: Display Outline Select Existing (HUC) Watershed Tabulate L-THIA Inputs huc.py Tabulate land use data by polygon of selected area manual.py Draw an Area of Interest (Box) Determine Area
L-Thia Modeling Tools Run L-Thia model landuse.py Editing landuse lthia.py Tabulated input from selected polygon editcn.cgi Change CN OR EMC input table cstdisplay.py editemc.cgi Display graphical and tabular results Edit L-THIA Inputs
Outputs WMS and WFS (XML) Map Output Polygon selection or delineation Polygons with tabulated landuse and results stored in DB L-THIA Model L-THIA NPS Outputs Tabulated edited landuse Graph and Tabular Output
Library Scripts • constants.py • databasetablenames.py • dbmodule_pg.py • tools.py • Arcpy Contains output string templates and other constant variables Contains names of database tables Contains database interaction functionsContains commonly used non-database functions ESRI geoprocessing library (licensed)
Other Scripts • deleteoldsessions.py • timer.py Run daily; deletes all temporary files more than one day old Used to time how long processes take
Javascript • floating controls.js • tabs.js • supertabs.js • tools.js • standard.js Javascript floating boxes Tabbed menus within floating boxes A copy of tabs.js that allows for two layers of tabs Handles zooming to a watershed; editing land use (the map-side part) A library of functions used in other Javascripts
Javascript Continued Contains the Google Maps key that lets us use their service Used for drawing polygons on the Google Map (for the select polygon tool) Allows display of data from a Geoserver onto a Google Map • key.js • polygon.js • wms236.js
HTML Documents Main page, contains all site functionality Description page about the project A blank html file (used for some Javascript display purposes) Contains data for the tools tab Displays the waiting message • index.html • about_us.html • blank.html • tools_minitemplate.html • wait.html