comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java @ 5304:ffa5eaad3a7b

Fix river_axes maps when using oracle. Oraclespatial always needs an SRID in the Data string
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 14 Mar 2013 16:49:32 +0100
parents dc0d37715e16
children ae60bb7b8085
comparison
equal deleted inserted replaced
5303:08b3109c637b 5304:ffa5eaad3a7b
143 } 143 }
144 144
145 @Override 145 @Override
146 protected String getDataString() { 146 protected String getDataString() {
147 if (FLYSUtils.isUsingOracle()) { 147 if (FLYSUtils.isUsingOracle()) {
148 return "geom FROM river_axes"; 148 return "geom FROM river_axes USING SRID " + getSrid();
149 } 149 }
150 else { 150 else {
151 return "geom FROM river_axes USING UNIQUE id"; 151 return "geom FROM river_axes USING UNIQUE id";
152 } 152 }
153 } 153 }

http://dive4elements.wald.intevation.org