Hi,
I'm having trouble getting correct rendering when issuing a GetMap POST.
I've modified the example data for the layer group tiger-ny so that the
poi-layer uses the default point style instead of the default poi style.

When using GET GeoServer renders correctly. But with POST the default style
is used despite the change in configuration.

So, there is something wrong in the parsing/lookup of configuration from
request parameters in the XML.

For POST the resolve of parameters gives me
Styles = [StyleImpl[ name=giant_polygon], StyleImpl[ name=poly_landmarks],
StyleImpl[ name=tiger_roads], StyleImpl[ name=poi]]

For GET it resolves correctly to
Styles = [StyleImpl[ name=giant_polygon], StyleImpl[ name=poly_landmarks],
StyleImpl[ name=tiger_roads], StyleImpl[ name=point]]

For GET I can see that the merge is done in GetMapKvpRequestReader:L337-245.

For POST the merge seems to be done (or should be done) in
GetMapXmlRequestReader.addStyles.

If anyone would care to give me some pointers to what the code in addStyles
should to in order to correctly merge the style information for layergroups
with layers that have non-default styles I would be glad to produce tests
to exercise the bug and provide a patch.
I looked at the GeoServer codebase the first time today so I'm a bit
uncertain of how to go about.

Regards,
Olle Markljung
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to