[OpenLayers-Users] WMS request too long

Christopher Schmidt crschmidt at metacarta.com
Tue Dec 2 10:29:04 EST 2008


On Tue, Dec 02, 2008 at 07:24:53AM -0800, Lasse Larsson wrote:
> 
> Is there a way to set a layer use the POST method instead? something like
> Layer.useRequestMethod("POST"), If URI gets to long? (If I don´t want to
> create SLD separate via url)?

No.

Specifically, this would mean a significant change in behavior, from
using <img> requests which the browser handles asynchronously, to using
more complex XMLHttpRequests. Additionally, doing this would require a 
proxy to load data from different WMS servers, and proxies/same origin
policy violations are among the things *most* misunderstood by users in
OpenLayers. Making this problem worse by making it apply to the one
place it historically hasn't -- WMS requests -- sounds like begging for
pain.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list