view artifacts/doc/conf/artifact-db.xml @ 6061:e9a76ffa0f9a

Use maxOverlap to get the correct gauge for the MainValues Previously just the first matching gauge was taken even if it's range ended with the minimum value. This code is clearly intended to get one gauge for one range so the best match should be taken.
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 22 May 2013 18:10:48 +0200
parents 5aa05a7a34b7
children 308a0d822d18
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8" ?>
<database>
    <!-- This Section configures the Settings for connecting to the
         Artifact-Database instance. e.g. SQLite -->
    <user>SA</user>
    <password></password>
    <!-- For use with a postgresql database use the appropriate driver-->
    <!--driver>org.postgresql.Driver</driver-->
    <url>jdbc:h2:${artifacts.config.dir}/../artifactsdb/artifacts</url>
</database>

http://dive4elements.wald.intevation.org