comparison flys-artifacts/src/main/java/de/intevation/flys/utils/FLYSUtils.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 a8aa343799a2
children 5e9696c32f04
comparison
equal deleted inserted replaced
1791:e0e5a5b51a40 1792:49ad801076e4
341 } 341 }
342 342
343 logger.debug("Did not find a named main value for: " + value); 343 logger.debug("Did not find a named main value for: " + value);
344 return null; 344 return null;
345 } 345 }
346
347
348 /**
349 * Returns the URL of user mapfile for the owner of Artifact
350 * <i>artifactId</i>.
351 *
352 * @param artifactId The UUID of an artifact.
353 *
354 * @return the URL of the user wms.
355 */
356 public static String getUserWMSUrl(String artifactId) {
357 String url = getXPathString(XPATH_MAPSERVER_URL);
358 url = url + "user-wms";
359
360 return url;
361 }
346 } 362 }
347 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 363 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org