Select to view content in your preferred language

Exporting WMS Imagery Issue

3029
8
02-02-2023 06:55 AM
CurtKleist
Occasional Contributor

I am trying to export a layout, a county wms layer. When i export the imagery does not appear in the pdf. Any specific settings that would help? I attempted to play around with a ton of settings with no luck. 

8 Replies
TomBole
Esri Regular Contributor

Hi Curt, 

I'm not aware of any known issues specific to WMS layers and exporting to a PDF. The problem you are running into may be specific to the specific WMS service and or the workflow you are using. 

Can you contact Esri Support? They are better equipped to handle troubleshooting steps and gather bug data. They can be contacted at https://support.esri.com/en/contact-tech-support.

Thanks,

Tom

0 Kudos
NasosAlexis
Emerging Contributor

Did you ever get to figure this out? I am experiencing the same behaviour from ArcGIS Pro (3.1.1).

I have tried with multiple WMSs which ArcMap has no issue rendering to a pdf from a layout but ArcGIS Pro simple refuses to perform this very basic task. All the other layers render like they should, but no WMS-basemap showing.

0 Kudos
TomBole
Esri Regular Contributor

Hi @NasosAlexis,

I don't believe an issue has been logged with support - at least one has not made it's way to my desk.  I am able to export a WMS service to PDF without issue. 

Screenshot.PNG

The problem you are running into may be specific to the specific WMS service and or the workflow you are using. Without this information we would only be guessing at what the problem could be. Generally, we cannot fix bugs if we cannot reproduce.

Please contact Esri Support where they can gather the specifics needed to reproduce the bug.

Tom

0 Kudos
NasosAlexis
Emerging Contributor

Dear Tom.

 

Thank you for your quick response.

I'm sure you are correct. It must be the WMS.

That's probably why I can export the same layout to PNG but not to PDF.

That's also probably why I can export the same WMS to pdf from ArcMap or QGIS but not from ArcGIS Pro.

Or even more likely the problem is, again correctly assumed, caused by my workflow, which somehow differs significantly from the workflow to export to PNG (which works) or from my workflow when I successfully export other layouts, not containing WMS to PDF.

The screenshot below shows exactly this: That the problem has obviously nothing to do with the software. 🙂

 

I have already contacted support. Thank you.

Skärmklipp.PNG

0 Kudos
TomBole
Esri Regular Contributor

Thanks for contacting support.  

Sorry if I wasn't clear in my earlier comments. I was not implying the issue you're seeing is not a bug with Pro. It most likely is. The point I was trying to make is that we could not reproduce the issue with the WMS services we use in our testing as evidenced by the screenshot I provided. Obviously from your screenshot you are experiencing something different.

Not all WMS servers and services are the same. Unfortunately, we cannot test every variation of WMS servers and services. Things are going to get missed. That's why it is important to contact support in order to get reproducible steps.

We tend to think of "workflow" as also including properties that are set for a given task, such as exporting. For example, the workflow, or steps, may be the same for exporting to PNG as it is for exporting to PDF. Basically, click Export Layout button on the ribbon, choose the File Type and click Export. 1, 2 3.

However, the properties set in the Export pane are not. There could be an issue when exporting to PDF with Embed fonts checked on, which PNG does not support. Or, it could be an issue with exporting georeference information to the PDF - another thing PNG does not support. I should have included a comment on properties when I mention that we may need a workflow/steps to reproduce. 

I understand your frustration. We feel the same kind of frustration when we cannot reproduce an issue that's clearly bugging our customers. 

Tom

0 Kudos
marzolff
Emerging Contributor

Hi all,

I stumbled upon this post looking for a solution to the same problem: I have an Orthophoto WMS background that would not appear in my exported PDF (I have ArcGIS Pro 3.1.0). It works fine with PNG, as it did for Curt and Nasos. I did a series of tests with the PDF export parameters and, hurray, found the "solution": PDF export works fine for me as long as the "Vector resolution" value is 288 dpi or lower. Increase it to 289 or higher (300 is the default value), and the WMS layer will not appear in the PDF. The "Raster resample" resolution does not seem to play any role, in spite of the WMS being an image service.

I am sure there is a sophisticated reason for this strange vector resolution threshold - if only that 289 is 1 byte * 1.1289...

Regards, Irene

0 Kudos
MoritzSchilling
Occasional Contributor

The same or at least partly the same issue here. And the problem existed already in ArcMap. With the WMS-Service I use, the "limit" does not seem to be at 288 dpi.

To be precise, if I have a map series with let's say 40 pages, the WMS-Service is exported to some of the pages and on some pages it's missing.

300 dpi does not work, 288 dpi does not work, 150 dpi and 100 dpi do work. I can't figure out where the "limit" seems to be exactly.

0 Kudos
PetronellaHauptmann1
Emerging Contributor

Same issue here with pdf, jpeg and png. 150 dpi works but not higher. For higher dpi part of the export works but not all of it.