Select to view content in your preferred language

Clipping parameter available in "export-map" not available in "exportwebmap" print task specification?

214
2
03-06-2025 06:08 PM
GertConradie
Frequent Contributor

Hi, I need to clip a MapServer layer with my own polygon geometry  as part of a print task.

I'm able to set a test up with a clipping parameter for a normal "export-map" call (export-map reference ), but it does not work when included in a "exportwebmap" call (exportwebmap reference ) 

I dont see it in the print task reference - so just confirming: The clipping is not available in the print tasks? 

 

2 Replies
Noah-Sager
Esri Regular Contributor

Hi @GertConradie, thanks for the question here. Correct, clipping is not available in the print task. I think part of the confusion comes from the naming convention. MapServer has a Export method to export an image of the service, and Printing is actually called ExportWebMap that consumes a printing service publishing from ArcGIS Pro, and can consume images of data and/or actual layer data. They are two completely different methods.

0 Kudos
GertConradie
Frequent Contributor

Thanks Noah, its good to get the confirmation that it is not possible. (At this stage at least)

 

Correct Export is different than ExportWebMap, but I'm 99% sure ExportWebMap use/call Export internally during the print process for each map service url specified to be included in the print. That is why most of the older functionality of Export can be included in the ExportWebMap parameters.

 

Happy with your answer though, its good to know. (Hopefully the newer Export parameters are included in ExportWebMap in the near future. If you can fw that to the person that manage the backlog of requirements it would be much appreciated)

0 Kudos