Skip to main content
Solved

Export WMS at specific zoom level to raster

  • May 18, 2020
  • 1 reply
  • 291 views

Hi

A colleague is making maps in QGIS and is using an Open Street Map WMS layer to provide the background mapping. However, the exported map does not match what is displayed in the QGIS project. It appears to be a different zoom and the labels are hard to read.

I'm looking at using FME to export the area of interest to a raster file. I'm using the WMS reader as my input and set a search envelope. But the exported image is not at the required zoom level.

Is it possible to change this behaviour?

If required, the WMS feed I am using is https://ows.terrestris.de/osm/service? and the layer is OSM-WMS

The bounds are:

Min x: -59.9741977894788221

Min y: -14.7534977323780918

Max x: -54.6051733096797207

Max y: -11.1201081643435327

EPSG 4326

FME version: 2020.0.2.1 (20200511 - Build 20238 - WIN64)

Many thanks.

Best answer by jlbaker2779

Fiddle with the height and width parameters on the reader until it clears up.

 

For example changing the values to 2240x1492 cleared it up a bit.

 

https://ows.terrestris.de/osm/service?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=OSM-WMS&STYLES=&FORMAT=image%2Fpng&SRS=EPSG%3A4326&BBOX=-60%2C-15%2C-54%2C-11&WIDTH=2240&HEIGHT=1492&EXCEPTIONS=application%2Fvnd.ogc.se_xml%27.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

Forum|alt.badge.img+2
  • 194 replies
  • Best Answer
  • May 18, 2020