Skip to main content
Question

OS Maps API and FME Background map

  • November 25, 2025
  • 10 replies
  • 220 views

ingalla
Contributor
Forum|alt.badge.img+10

Has anyone in the UK who is using the Ordnance Survey Maps API managed to get them added into FME for use as a background map.  I have tried and get nothing to display….

Any advice welcome...

10 replies

desiree_at_safe
Safer
Forum|alt.badge.img+17

Hi ​@ingalla! Did you happen to run into any particular issues trying to use the basemap? 
I haven't tested this myself but looking into their OS Maps API documentation, you should be able to use this service. 

Looks like OS has OGS WMTS and ZXY versions available, which in FME, may fall under OGC WMS (Web Tile Service) and Tiled Web Map XYZ.

 

FME Options>Background maps> “+”

 

Depending on the API version, the configuration may be a little different. 

Let me know how it goes though! Happy to figure this out with you and the community


hannahwh05
Contributor
Forum|alt.badge.img+9
  • Contributor
  • December 3, 2025

I’ve followed these steps and unfortunately it just says “unable to display background map...”. My data is in 27700 

Hi ​@ingalla! Did you happen to run into any particular issues trying to use the basemap? 
I haven't tested this myself but looking into their OS Maps API documentation, you should be able to use this service. 

Looks like OS has OGS WMTS and ZXY versions available, which in FME, may fall under OGC WMS (Web Tile Service) and Tiled Web Map XYZ.

 

FME Options>Background maps> “+”

 

Depending on the API version, the configuration may be a little different. 

Let me know how it goes though! Happy to figure this out with you and the community

 


desiree_at_safe
Safer
Forum|alt.badge.img+17

Hi ​@hannahwh05. Would you mind sharing your setup? 

You might also want to test out calling the API outside of FME, like Postman or CURL. Customers tend to find this particularly useful when testing and isolating potential issues!

As a friendly reminder, the API key might be visible, so you’d want to censor that!


mapmonkeythe2nd
Contributor
Forum|alt.badge.img+3

I have also had problems adding the OS Maps Web Service as a background. No problems testing the API with QGIS, ArcGIS or AGOL using the below parameters.

 

 

Error is 

FME Objects Worker [27672] > Failed to read features from dataset 'https://api.os.uk/maps/raster/v1/wmts?key=xxxxxxxxxxxxxxxxxxxxxxxxxx' using the 'WMTS' reader

Also tried the XYZ and got similar message

FME Objects Worker [37664] > Failed to read features using the 'TWM_XYZ' reader

I have a similar issue with the LINZ NZ Basemaps service and get the same error (URL works with QGIS, ArcGIS or AGOL)


 


clang
Contributor
Forum|alt.badge.img+6
  • Contributor
  • December 18, 2025

Hello,

I haven’t managed to successfully configure the OS Basemap into the FME data inspector either. Would be good to know the solution once identified. 

Thank you


desiree_at_safe
Safer
Forum|alt.badge.img+17

I managed to get this working! Here's what I found helped with the Tiled Web Map XYZ setup:


Getting the right settings from OS Maps API:

Cross-reference the OS Maps API doc Layers and Styles to confirm these details match what you need.


Configuring the Base Map in FME Options:

  • Tile URL Template: The URL from above
  • Min Zoom Level: 7
  • Max Zoom Level: 16

 

Testing: I tested with a point at coordinates (-421856, 6642103) in EPSG:3857, and it displayed correctly once everything was configured.

 

One gotcha I ran into: Initially I was testing with a point outside of Great Britain, which just showed an empty map. Is that what you folks were seeing, or is something else going on? Happy to help troubleshoot further if you're still stuck!


mapmonkeythe2nd
Contributor
Forum|alt.badge.img+3

Great that works - it seems that you do need to have the correct zoom parameters for the XYZ service. 

I am still strugling with the WMTS service - I am not sure of the Tile Matrix Resolution values?

 


desiree_at_safe
Safer
Forum|alt.badge.img+17

Hi ​@mapmonkeythe2nd, I really appreciate you writing back! I must have missed this in the thread, but I also couldn’t get it to work! This might be an issue, so I filed a case for development to look into it

 

[INTERNAL: FMEENGINE-89093]


desiree_at_safe
Safer
Forum|alt.badge.img+17

Good news - this has been fixed in 2025.2.1 Build 25815, which is available now on the downloads page. I'd encourage you to test it out with your workflows.

@mapmonkeythe2nd As for the Tile Matrix Resolution value, it's being removed for background maps in newer builds. As I understand it, this parameter helped FME calculate zoom (resolution), but FME will handle this automatically going forward. In the meantime, you can safely set this to any value, if it appears. Hope this helps! 🙂

 


mapmonkeythe2nd
Contributor
Forum|alt.badge.img+3

Perfect - all working as expected. Thanks for resolving.