Select to view content in your preferred language

Create an Add Watermark SOI to WMS-GetMap-Output

844
0
11-05-2018 11:35 PM
MichaelBender1
New Contributor

Hello everybody. We work with ArcGIS Server 10.6.1 and require to imprint a company stamp on the WMS GetMap output. Under GITHUB there is a .NET-project https://github.com/Esri/arcobjects-sdk-community-samples/tree/master/Net/Server/ServerApplyWatermarkSOI. Unfortunately, this only works with maps that are generated directly via a REST-request. I want to provide this functionality for WMS-GetMap requests.

Here is an example from an ESRI-JS-API-based Viewer:

Example Output from an ESRI JS-API-based Viewer

Requests like "http://XXSERVER/arcgis/rest/services/XXSERVICE/MapServer/export?dpi=96&transparent=true&format=png8&..." works correctly.

.

An WMS-Request like https://XXSERVER/arcgis/services/XXSERVICE/MapServer/WMSServer?REQUEST=GetMap&FORMAT=image/gif&WIDTH... fails.

The sample-code from ServerApplyWatermarkSOI  contains a region "SOAP interceptors" i think here is the right place to solve this. But I do not have enough experience what I have to do here.

Can someone help me?

 

Tags (3)
0 Kudos
0 Replies