Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/wsplgen/FacetCreator.java @ 1792:49ad801076e4
Enabled the MapGenerator to create WMS layers with database datastore - riveraxis is the first layer that is no longer fetched from static WMS service but from user specific one.
flys-artifacts/trunk@3115 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 28 Oct 2011 13:48:02 +0000 |
parents | 0156105222c9 |
children | 71139016cd0f |
comparison
equal
deleted
inserted
replaced
1791:e0e5a5b51a40 | 1792:49ad801076e4 |
---|---|
57 protected String getRiver() { | 57 protected String getRiver() { |
58 return artifact.getDataAsString("river"); | 58 return artifact.getDataAsString("river"); |
59 } | 59 } |
60 | 60 |
61 protected String getUrl() { | 61 protected String getUrl() { |
62 String url = FLYSUtils.getXPathString(FLYSUtils.XPATH_MAPSERVER_URL); | 62 return FLYSUtils.getUserWMSUrl(artifact.identifier()); |
63 url = url + "user-wms"; | |
64 return url; | |
65 } | 63 } |
66 | 64 |
67 protected String getSrid() { | 65 protected String getSrid() { |
68 return FLYSUtils.getRiverSrid(artifact); | 66 return FLYSUtils.getRiverSrid(artifact); |
69 } | 67 } |