Skip to main content
Solved

Export WMS at specific zoom level to raster

  • May 18, 2020
  • 1 reply
  • 232 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.

View original
Did this help you find an answer to your question?

1 reply

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

Reply


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