...
The <timeSeriesSet> will automatically be used for the imported shape, no idmapping will take place.
Code Block |
---|
xmltitle | xmlGA importShapeFileActivity |
|
<importActivities>
<importShapeFileActivity>
<shapeFileImportDir>import</shapeFileImportDir>
<fileDateTimePattern>'ImportShapeFileActivity_'dd MMM yyyy HH mm ss'.shp'</fileDateTimePattern>
<geoDatum>EPSG:102736</geoDatum>
<timeSeriesSet>
<moduleInstanceId>ImportShapeActivity</moduleInstanceId>
<valueType>polygon</valueType>
<parameterId>par</parameterId>
<locationId>Polygon</locationId>
<timeSeriesType>external historical</timeSeriesType>
<timeStep unit="nonequidistant"/>
<readWriteMode>read only</readWriteMode>
</timeSeriesSet>
</importShapeFileActivity>
</importActivities>
|
The (placeholder) location used for this polygon is defined in Locations.xls in the same way you define a placeholder location for a grid.
Code Block |
---|
title | polygon location definition Location.xls |
---|
|
<location id="RASMapper_Nickajack">
<description>Location to hold Nickajack polygon and raster results</description>
<shortName>RiverSystem</shortName>
<x>0</x>
<y>0</y>
<z>0</z>
</location>
|
Please note that you can not make use of the dataLayer element when displaying polygon data in the spatial display, see below for a config example. Also, it is not possible to view this data from the database viewer.
Code Block |
---|
title | gridDisplay config for polygons |
---|
|
<gridPlot id="Extents" name="Inundation Extent">
<mapExtentId>Chickamauga Reservoir</mapExtentId>
<timeSeriesSet>
<moduleInstanceId>RASMapper_Chickamauga</moduleInstanceId>
<valueType>polygon</valueType>
<parameterId>inundation_boundary</parameterId>
<locationId>RASMapper_Chickamauga</locationId>
<timeSeriesType>simulated forecasting</timeSeriesType>
<timeStep unit="hour" multiplier="1"/>
<relativeViewPeriod unit="hour" start="-240" end="240"/>
<readWriteMode>read only</readWriteMode>
</timeSeriesSet>
</gridPlot>
|
importCsvModuleRunTablesActivity (since 2015.01)
...