Menu

#145 Maps: LegendGen action should get map URL from config file

Accepted
nobody
None
Medium
Defect
2012-02-02
2012-02-02
Anonymous
No

Originally created by: mark.tun... (code.google.com)@gmail.com
Originally owned by: mark.tun... (code.google.com)@gmail.com

The LegendGen.action (which creates the legend images on the maps) is passed the ncWMS URL in the parameter request.

This is needlessly complicated and a possible source of problems. The legendGen action is in the Java backend and could read the ncWMS URL from the configuration file.

One question is where to read the URL from, as it is currently in two places in the configuration files
* In the carbones.properties file
* In the CarbonesConfig.XML file. A bit difficult to pick it out from here as there are a number of MapService nodes. How should they best be distinguished? Code name or the alias?

Discussion


Log in to post a comment.

MongoDB Logo MongoDB