Hi,
are you also specifying other parameters such as styles or cql_filter in
the wms getmap request? These usually requires that the number of values
match the ones used in layers.
You are probably adding a new layer, without supplying the needed values
for one of those. Could you share the complete url with 3 layers you are
using?

Thanks
Mauro

2014-09-24 8:38 GMT+02:00 邓冲 <[email protected]>:

> Hello, I met a problem when i use wms to get map. As there are multiple
> layers in server, when i create URL, i give layers three or more values,
> then server return "indexoutofboundsexception: Index:2, size:2
> index:2,size:2". Then i just give layers two values, like
> this"layers=SM:road,SM:poi", the result is good as a png picture.
> So, i wanna ask two questions here:  How can i use wms to get multi-layer
> map? Is the fault above result from wms limitation?
> Any help is appreciated, thanks a lot!
>
> 发自我的 Windows Phone
>
>
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to