<?xml version="1.0" encoding="UTF-8"?>
<FlowConfiguration>
	<EventConsumerConfiguration>
		<performBackup>true</performBackup>
        <TaskExecutorConfiguration>
			<serviceID>TaskExecutorService</serviceID>
			<errorFile>config/errorlog.txt</errorFile>
			<timeOut>1200000</timeOut> <!-- milliseconds -->
			<executable>C:\Program Files\FWTools2.2.8\bin\gdal_contour.exe</executable>
			<defaultScript>config/gdalcontour.xml</defaultScript>
			<outputName>*.tif</outputName>
		    <variables>
				 <entry>
				    <string>GDAL_DATA</string>
				    <string>C:/Program Files/FWTools2.2.8/data</string>
				  </entry>
				  <entry>
				    <string>PATH</string>
				    <string>C:/Program Files/FWTools2.2.8/bin</string>
				  </entry>
			</variables>
			<xsl>config/gdalcontour.xsl</xsl>
			<id>gdalcontour</id>
			<description>Flow to run gdalcontour operations</description>
			<name>gdalcontour flow</name>
		</TaskExecutorConfiguration>		
		<id>gdalcontourflow</id>
	</EventConsumerConfiguration>
	<EventGeneratorConfiguration>
		<wildCard>*.*</wildCard>
		<watchDirectory>gdalcontourflow/in</watchDirectory>
		<osType>OS_UNDEFINED</osType>
		<eventType>FILE_ADDED</eventType>
		<id>id</id>
        <serviceID>fsEventGeneratorService</serviceID>
	</EventGeneratorConfiguration>
	<id>gdalcontourflow</id>
	<description>Flow to run gdalcontour operations</description>
	<name>gdalcontourflow</name>
</FlowConfiguration>
