Re: [Geoserver-users] WMS GetMap XML-POST VendorParameter
On Mon, May 14, 2012 at 4:49 PM, Olle Markljung olle.marklj...@astando.se wrote: Thank you for responding! Unfortunately I've already tried that. (using i.e. http://localhost:8080/geoserver/wms?format_options=dpi:600). From the logs I see that the first action is to filter my request and no query string is listed there DEBUG [geoserver.filters] - filtering http://localhost:8080/geoserver/wms In the following WMS-requests for layers contained in the posted SLD the logs tell me that the format_options are not passed since they are empty (FormatOptions = {}). If I really need this, do you have any ideas of how to accomplice it? My options are,as I see it, to 1. have some more GeoServer-savvy developer to do it 2. develop it myself 3. tell my client it is not possible right now Am I right? Yep, that sounds right 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 Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] WMS GetMap XML-POST VendorParameter
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_optionsdpi:600/VendorParameter and even VendorOption name=format_optionsdpi: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? Regards, Olle Markljung -- 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 Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] WMS GetMap XML-POST VendorParameter
On Fri, May 11, 2012 at 11:07 AM, Olle Markljung olle.marklj...@astando.se 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_optionsdpi:600/VendorParameter and even VendorOption name=format_optionsdpi: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 Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users