Skip to main content
Question

Throttling of Background Maps?


geographix
Contributor
Forum|alt.badge.img+4

I’m seeking other users experience with Background Maps in FME Workbench/Form. 

I use OpenStreetMap.org tiles (and sometimes MapBox tiles) as background maps when following data through a workspace. But more often than not maps take more than 30 seconds to appear, or not all.

I originally assumed it was my organisations VPN, or security software agents, or network bottlenecks, but my independent tests on other external systems ruled these out.

So I explored other possibilities.

Here is a view of network traffic on my machine with a map at the town level. Not much happening.

But look what happens when I then Zoom to Extents so the maps scales to all of Australia. Look at the spike in network traffic - some 6MB to draw a map?

From what I can estimate FME is requesting hundreds and possibly thousands of map tiles for any given zoom request.

What happens next is that OSM will either block or possibly throttle my IP for a period of time.

Mapbox seems to perform better, but looking at my stats I’m churning through quota. Possibly when I hit the included quota I’ll get throttled or billed, neither of which is that appealing.

My understanding of XYZ tiles is that you need the same number of tiles at ANY zoom level. The number of tiles should be around 20-30 per map window depending on the shape (square or elongated rectangle). That’s the visible tiles, plus the edge tiles, plus maybe one more row and column of tiles off screen ready for panning.

But FME is requesting about 6MB which works out to be 500 to 1000 tiles for Australia-level zoom.

To confirm it was a throttling issue, I set up an OSM Map Tile Server on a locally-hosted server. The maps appear every time, although sluggish with the volume of data being requested. But I at least get a map and not a grey background.

Other things I considered:

  • is FME re-projecting OSM map tiles on the fly?
  • does FME use whole zoom levels (15,16,17) or does it scale/resize the tile to the window (15.1,15.2,15.3)?
  • is FME using cached tiles or requesting from OSM/Mapbox every time?

I’m keen to know if I’m the only one frustrated with debugging data in the Visual Preview.

 

OSM Tile Usage Policy: https://operations.osmfoundation.org/policies/tiles/

3 replies

j.botterill
Influencer
Forum|alt.badge.img+39
  • Influencer
  • May 23, 2025

Which ever is the first dataset loaded into the Visual preview/Data Inspector map, will be the coordinate system displayed. After this, any dataset added will be reprojected on the fly.  https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Form/DataInspector/Background_Map.htm

When adding a background map, are you choosing Other and then selecting:

For example the OGC Tile format can be defined more with WMTS connection parameters https://docs.safe.com/fme/2025.1/html/FME-Form-Documentation/FME-ReadersWriters/wmts/wmts_reader.htm

Hopefully someone from Safe software can give more information on the Background map source settings 


raghavendrans
Enthusiast
Forum|alt.badge.img+13

@geographix Very interesting find.

I would be curious to know, if this is only with the OSM or with other sources for Background Maps as well?

Only a Safer should be able to throw some light on how the background maps fetch the tiles!

SRG

 


geographix
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • May 23, 2025

So going to “Tiled Web Map XYZ” is not the recommended method of consuming OSM tiles? I added a WMTS server (https://osmlab.github.io/wmts-osm/WMTSCapabilities.xml), in this case a repo on Github, and the maps are loading super fast now. I think.

Before:

Before

and a country-level zoom:

After zooming to country level

About 200kb instead of the previous 6-8MB!

 

I will use this and test further. Thank you, ​@j.botterill 

Configuration for WMTS OSM map tiles, via https://osmlab.github.io/wmts-osm/WMTSCapabilities.xml

 


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