...
Content
None
Examples
Code Block |
---|
<!-- create the source for the data to be cached in this case we're using an WFS service --> <spatial:spatialengine id="spatialengine.wfsng.source"> <dbtype>wfs-ng</dbtype> <url><![CDATA[http://vmrunout:8080/geoserver/ows]]></url> <protocol>get</protocol> <username>username</username> <password>password</password> <timeout>60000</timeout> <buffersize>100000</buffersize> <gzip>false</gzip> <lenient>true</lenient> </spatial:spatialengine> <!-- create the cache referring to the WFS spatial engine this is what you should refer in the rest of the config --> <spatial:spatialengine id="spatialengine.wfsng> <dbtype>cache</dbtype> <datasource>spatialengine.wfsng.source</datasource> <maxAgeSeconds>3600</maxAgeSeconds> </spatial:spatialengine> |
...