# HG changeset patch # User Bjoern Ricks # Date 1348221461 0 # Node ID cfed96c53e9ade83230b235aeddbca6fad67c7f6 # Parent 1dc658c3306b5f97ebf393b58938c54b7aa60253 Return also the river and gauge info-url in a service response flys-artifacts/trunk@5549 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 1dc658c3306b -r cfed96c53e9a flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Fri Sep 21 09:22:51 2012 +0000 +++ b/flys-artifacts/ChangeLog Fri Sep 21 09:57:41 2012 +0000 @@ -1,3 +1,8 @@ +2012-09-21 Björn Ricks + + * src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java: + Return also the gauge and river info-url in a service response. + 2012-09-20 Felix Wolfsteller Fix issue886 (do not show waterline if out of range). diff -r 1dc658c3306b -r cfed96c53e9a flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java Fri Sep 21 09:22:51 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java Fri Sep 21 09:57:41 2012 +0000 @@ -67,6 +67,7 @@ ec.addAttr(r, "kmup", Boolean.toString(river.getKmUp()), true); ec.addAttr(r, "minq", Double.toString(minmaxq[0]), true); ec.addAttr(r, "maxq", Double.toString(minmaxq[1]), true); + ec.addAttr(r, "info-url", river.getInfoURL(), true); Element egs = ec.create("gauges"); @@ -83,6 +84,7 @@ if (name != null) { ec.addAttr(eg, "name", gauge.getName(), true); } + ec.addAttr(eg, "info-url", gauge.getInfoURL(), true); String aeo = getGaugeValue(gauge.getAeo()); if (aeo != null) {