Skip to main content
Hi All,

 

 

I was wondering if anybody has any experience with reading WMTS services via FME.

 

Any help would be appreciated.

 

Itay
Hi Itay,

 

 

I must confess to never having done this, but I would try something like the following:

 

  1. Find the exact tile seed coordinates, sizes, etc. used by the WMTS to generate the tiles
  2. Recreate each tile layer as BBOX polygons, using e.g. a Tiler with the settings from point 1, with the tile row and column numbers as attributes
  3. For each desired tile, use StringConcatenator (or equivalent) to construct a request URL based on the tile parameters (sample request). If you already have a web app that uses the same WMTS layer, have a look at the network traffic using e.g. Firebug or Chrome's "Inspect element" function to see how the tiles are requested by the client. You can also use Fiddler to intercept this traffic from ArcMap, etc.
  4. Pass the request URL to an ImageFetcher to get each tile as an FME raster feature.
Should be relatively(!) easy.

 

 

David
Hi David,

 

 

Thanks for responding, I am going to try your proposed method and let you know how it goes.

 

Itay
Hi David,

 

 

After having had a closer look at the xml, made me wonder if I really need to reconstruct the tiles geomerties (point 2), after all the image fetcher can as easly function with a no geometry feature.

 

So the crux is in parsing the xml and constructing the url's for the tiles. 

 

Still have to figure that one out....

 

 

Anybody else an idea or some experince with WMTS on FME desktop?

 

 


Hi Itay,

Did you succeed in reading a WMTS? I am now trying to do the same. I would appreciate it If you could share some experiences.


There is a current idea request for a MapTiler WMTS Reader . If this is something that you're interested in, please vote on the idea and let us know how you'd like to use it.


Hi Itay,

Did you succeed in reading a WMTS? I am now trying to do the same. I would appreciate it If you could share some experiences.

Hi:

 

I'm trying to do the same. Anybody have any success?

 

 

 


I'm also trying to do the same. Anybody succeded?


There is an official request logged for developement to look into adding a generic WMTS reader. As evidences of user need, we've linked this Q&A; thread, and the Idea for generic WMTS Reader, as well as this Idea for Maptiles (relevant because most comments asked for a generic WMTS reader).

If you are also interested in reading WMTS with FME, the best way to help us move this forward is to add your vote to the idea for a generic WMTS Reader. In the future, we will keep the community updated on this developement effort, through this idea as well.

Of course, we'd love to hear any stories of a successful workaround, from the community. Thanks!


There is an official request logged for developement to look into adding a generic WMTS reader. As evidences of user need, we've linked this Q&A; thread, and the Idea for generic WMTS Reader, as well as this Idea for Maptiles (relevant because most comments asked for a generic WMTS reader).

If you are also interested in reading WMTS with FME, the best way to help us move this forward is to add your vote to the idea for a generic WMTS Reader. In the future, we will keep the community updated on this developement effort, through this idea as well.

Of course, we'd love to hear any stories of a successful workaround, from the community. Thanks!

Not sure what a WMTS Reader should do exactly? Download the tiles to a raster at the deepest level possible? Because this can potentially generate a heavy load on the service, harming general performance and the fair use policy.

I have built a workspace which downloads the tiles (blue) at the deepest level overlapping with areafeatures (green) of a PDOK WMTS service and stitches those together into one ECW per area feature.

It is not good enough to publish it on the FME hub (I wish I had the time to work out all those workspaces to perfection...) but it is more than a working proof of concept. I'm also a bit reluctant to share a workspace which might hurt open data providers and might limit my possibilities in the future... But there are other parts in FME (Emailer, HTTPCaller, etc) which can do the same so I should probably not worry too much about ethics?


I would like to your experience using WMTS from FME as I am struggling to find any documentation relating to this.


Reply