On Fri, May 11, 2012 at 11:07 AM, Olle Markljung
<[email protected]> wrote:
> Hello all,
>
> I'm trying to use the possibility to pass a dpi format option in a WMS
> GetMap request using XML-POST.
> When using a GET-request the documentation is very clear and all is well,
> just pass a query parameter like so: format_options=dpi:600
> But, how do you pass this information in a POST request using XML?
> In the same request I'm also sending an SLD specifying the layers and
> features to be rendered. But this is not a VendorOption of an SLD, it's an
> vendor option of the WMS-request.
>
> I've tried to pass the format_options as an attribute of GetMap (<GetMap
> format_options="dpi:600">) as a child node of GetMap (<VendorParameter
> name="format_options">dpi:600</VendorParameter> and even <VendorOption
> name="format_options">dpi:600</VendorOption>) but no luck.
> I've also tried to look for an xsd for the GetMap request to see how the
> information should be specified but haven't found any.
>
> Does anyone know how to pass these vendor specific parameters
> using GetMap XML-POST request?

The xml accepts no vendor paramters. Have you tried adding the vendor
parameters (and only those) in the URL regardless (aka mixed more request)?

Cheers
Andrea


-- 
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to