view backend/contrib/spatial-info.sh @ 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
line wrap: on
line source
#!/bin/bash

mvn -e \
    -Dlog4j.configuration=file://`readlink -f contrib/log4j.properties` \
    -Dflys.backend.user=USER \
    -Dflys.backend.password=PASSWORD \
    -Dflys.backend.url=jdbc:postgresql://THE.DATABASE.HOST:PORT/DBNAME \
    -Dflys.backend.spatial.river=Saar \
    -Dexec.mainClass=de.intevation.flys.backend.SpatialInfo \
    exec:java

http://dive4elements.wald.intevation.org