Laserfiche WebLink
TSTool Documentation S patial Data Integration <br /> S patial Data Integration - 5 <br />The following example illustrates the time series to map layer configuration file: <br /> <br /># This file allows time series in TSTool to b e linked to stations in spatial <br /># data layers. The columns are used as appropriate, depending on the direction <br /># of the select (from time series list or from the map). <br /># <br /># This file has been tested with the \CDSS \GIS \CO \co_TSTool.gvp file. Not all <br /># poss ible combinations of time series and map layers have been defined - only <br /># enough to illustrate the configuration. <br /># Additional attributes need to be added to the point files to allow more <br /># extensive functionality. For example, if attributes for data int erval (time <br /># step) and data source are added to the attributes, then a definition query <br /># can be defined on the layer for displays to use the same data file. The <br /># configuration below can then use the different names to configure the link <br /># to time serie s. <br /># <br /># This file is discussed in the TSTool documentation. <br /># <br /># TS_InputType - the time series input type, as used in TSTool <br /># TS_DataType - the data type shown in TSTool, specific to an input type <br /># For example, TSTool uses "Streamflow" for HydroBase, whe reas <br /># for other input types a different data type string may be used. <br /># TS_Interval - time series interval of interest (e.g.,"Month", "Day", "1Hour" <br /># "Irregular") <br /># Layer_Name - the layer name used in the map layer list <br /># Layer_Location - the attribute that is used to identify a location, to be <br /># matched against the time series data location <br /># Layer_DataType - the attribute that is used to indicate the data type for a <br /># station's time series (CURRENTLY NOT USED - UNDER EVALUATION) <br /># Layer_Interval - t he attribute that is used to indicate the interval for a <br /># station's time series <br /># Layer_DataSource - the attribute that is used to indicate the data source for <br /># a station's time series. <br /># <br /># When matching time series in the TSTool time series query list with features <br /># on the map, the TS_* values are matched with the time series identifier <br /># values and the Layer_* attributes are matched against specific time series. <br /># <br /># Data layers are listed from largest interval to smallest. <br />"TS_InputType","TS_DataType ","TS_Interval","Layer_Name","Layer_Location","Layer_DataSource" <br />HydroBase,DivTotal,Day,"Diversions",id_label_7,”” <br />HydroBase,DivTotal,Month,"Diversions",id_label_7,”” <br />HydroBase,EvapPan,Day,"Evaporation Stations",station_id,”” <br />HydroBase,EvapPan,Month,"Evapo ration Stations",station_id,”” <br />HydroBase,Precip,Irregular,"Precipitation Stations",station_id,”” <br />HydroBase,Precip,Day,"Precipitation Stations",station_id,”” <br />HydroBase,Precip,Month,"Precipitation Stations",station_id,”” <br />HydroBase,RelTotal,Day,"Reservoirs",i d_label_7,”” <br />HydroBase,RelTotal,Month,"Reservoirs",id_label_7,”” <br />HydroBase,Streamflow -DISCHRG,Irregular,"Streamflow Gages - Real -time",station_id,”” <br />HydroBase,Streamflow,Day,"Streamflow Gages - Historical",station_id,”” <br />HydroBase,Streamflow,Month,"Streamfl ow Gages - Historical",station_id,”” <br /> <br /> <br />Example Time Series to Map Layer Lookup File <br /> <br />The intent of the file is to allow lookup of map layers from time series and to allow lookup of time series <br />from map layers. The ability to perform these actions depends on the number of layers in the map and the <br />attributes in map layers. For example, in the last two lines of the above example, historical streamflow <br />time series are both linked to a single “Streamflow Gages – Historical” layer on the map. Consequently, <br />i t will not be possible from the map layer to indicate to TSTool that specifically day or month interval <br />103