[Mapserver-dev] mapwms.c and mapwfs.c hacks for LegendURL, MetadataURL,
and DataURL
Daniel Morissette
dmorissette at dmsolutions.ca
Mon Jul 19 17:10:39 EDT 2004
Kralidis,Tom [Burlington] wrote:
>
> - wms_legendurl_width and wms_legendurl_height not used/integrated.
> There should be a test to test for these in mapfile, if not there, go
> with default (20x10?).
Um... I don't like returning a hardcoded default (e.g. 20x10) that is
not going to be accurate 99% of the time anyway. False information is
worse than no information in my opinion. Perhaps in this case we could
just return nothing (ie. no LegendURL element) and produce a
<!--WARNING:...--> in the capabilities output saying that width/height
are required and were missing, and therefore the LegendURL could not be
included. Same thing when format is missing with the other URL types
> I didn't know how to fit more than one mapfile
> parameter as an argument in msOWSPrintEncodeMetadata -- is there a way?
>
No, there is no way. Perhaps in this specific case we should implement a
msOWSPrintURLType() that would be re-used for LegendURL, LogoURL,
MetadataURL, etc.
I'll copy this to bug 438
(http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=438). Let's continue
the discussion there.
--
------------------------------------------------------------
Daniel Morissette dmorissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the mapserver-dev
mailing list