Skip to main content
Question

Using a WMS in a HTML Report Generator


deanhowell
Influencer
Forum|alt.badge.img+23

I have a WMS feed that I want to include in an HTML report but don't understand how to to get the HTMLReportGenerator to use it.

 

I have a polygon layer that I group by, buffer it slightly and then user the feature reader on the WMS layer.

 

image 

If I user the Map option the base map is present but no WMS.

 

Any suggestions?

nielsgerrits
VIP
Forum|alt.badge.img+54

Not sure what you need exactly and different things are possible.

Do you want a report with an interactive map which has a wms service as base layer? Or do you need a report with an image of the point of interest with the wms as background?


deanhowell
Influencer
Forum|alt.badge.img+23
nielsgerrits wrote:

Not sure what you need exactly and different things are possible.

Do you want a report with an interactive map which has a wms service as base layer? Or do you need a report with an image of the point of interest with the wms as background?

Thanks @nielsgerrits​ . I have created a report with the HTML Report Generator and need just the WMS image to be included that shows the coverage area of the report.


nielsgerrits
VIP
Forum|alt.badge.img+54
deanhowell wrote:

Thanks @nielsgerrits​ . I have created a report with the HTML Report Generator and need just the WMS image to be included that shows the coverage area of the report.

Is the FeatureReader the WMS reader? Then write the result of the FeatureReader to a temp PNG file and embed the file in the report as image. Attached workspace demonstrating this.


deanhowell
Influencer
Forum|alt.badge.img+23
deanhowell wrote:

Thanks @nielsgerrits​ . I have created a report with the HTML Report Generator and need just the WMS image to be included that shows the coverage area of the report.

Thanks @nielsgerrits​ , yes the FeatureReader is the WMS Reader. I was thinking a similar solution but there is potentially 1000's of images so wanted to avoid creating a temp image but that does seem to be the simplest option. Cheers Dean


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings