Skip to main content
Question

What is the most convenient approach for reading XYZ raster tiles in FME Desktop?

  • February 23, 2023
  • 3 replies
  • 197 views

olivier
Contributor
Forum|alt.badge.img+7

If I am not mistaken there is no direct FME reader for XYZ tiles in FME Desktop. Do you see a convenient method for reading raster data being served via an api looking like http://<url>/{z}/{x}/{y}.png ?

I need to read such data on the fly. These are Terrain RGB files which I need to convert into some GeoTIFF DEM format for different resolutions.

What are possible workarounds or solutions? Could a HTTPCaller help in this case?

Thanks!

3 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • February 23, 2023

Hi @olivier​,

I think the ImageFetcher transformer would be the best to download images from URLs, since it can auto-detect the image type. It is quite a bit simpler than the HTTPCaller to use.

Most of FME's file based readers can read from URLs as well, so you could also use a FeatureReader transformer with the PNG format.


olivier
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • February 24, 2023

Hi @daveatsafe​ ,

Thanks for your reply and suggestion. I have now also tried the ImageFetcher but I keep getting time-outs for all services. That being said I don't think the problem is a real time-out because setting the time-out parameters to 0. Furthermore all services work well from QGIS (without time-outs). Just to be clear I am trying to read from the following type of web map service: https://docs.qgis.org/3.22/en/docs/user_manual/managing_data_source/opening_data.html#using-xyz-tile-services

Indeed everything on our end is served via this protocol.


olivier
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • February 24, 2023

Quick update: I noticed a bit late that the Windows virtual machine I was trying to do this from had network/firewall settings making it impossible to reach such web services. I tried this on my own personal machine and it worked like a charm. Thank you!


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