[OpenLayers-Dev] Ticket #2174: Format.WMC write sld:Min/MaxScaleDenominator in the right place

Trond Michelsen trondmm-openlayers at crusaders.no
Fri Jul 10 10:24:09 EDT 2009


Hi.

In write_wmc_layer in Format.WMC.v1_1_0.js the elements
sld:MinScaleDenominator and sld:MaxScaleDenominator are placed
before the fourth element in the layer node. If there are any
Abstract, DataURL or MetaDataURL elements present in the layer node,
the scaledenominator elements will be placed out of sequence,
according to the schema.

My patch fixes this and makes sure that sld:MinScaleDenominator and
sld:MaxScaleDenominator are written in the right place.


Please review
http://trac.openlayers.org/ticket/2174

-- 
Trond Michelsen



More information about the Dev mailing list