Laserfiche WebLink
TSTool Documentation Inst allation and Configuration <br />6.4 Map Configuration <br /> <br />TSTool can display maps configured as GeoView project files. See the GeoView Mapping Tools <br />Appendix for more information about these files. To allow a link between time series and map layers, <br />use the TimeSeriesMapLayerLook property in the TSTool.cfg file to specify a time series to map <br />layer lookup file (see the TSTool Configuration File section above). The following example file <br />illustrates the contents of the lookup file: <br /> <br /># This file allows time series in TSTool to be 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 /># possible 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 interval (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 series. <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, whereas <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 - the 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,"Evaporation 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",id_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,"Streamflow Gages - Historical",station_id,"" <br /> <br />Example Time Series Map Layer Lookup File <br /> <br />The columns in the lookup file indicate how informati on in the time series input/query list can be matched <br />against time series in map layers. In particular, the TS* columns define values that are seen in the <br />TSTool interface and the Layer* columns define the layer and attribute names for map layers. The <br />Layer_Interval and Layer_DataSource are optional but if specified result in more specific <br />links between time series and map layers. <br /> <br /> Appendix - Installation and Configuration - 17 153