Skip to main content
Question

WMTS reading


fmelizard
Safer
Forum|alt.badge.img+18
Hi All,

 

 

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

 

Any help would be appreciated.

 

Itay

10 replies

david_r
Celebrity
  • June 3, 2013
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

fmelizard
Safer
Forum|alt.badge.img+18
  • Author
  • Safer
  • June 3, 2013
Hi David,

 

 

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

 

Itay

fmelizard
Safer
Forum|alt.badge.img+18
  • Author
  • Safer
  • June 3, 2013
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?

 

 


maarten
Participant
Forum|alt.badge.img+3
  • Participant
  • June 22, 2018

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.


fmelizard
Safer
Forum|alt.badge.img+18
  • Author
  • Safer
  • June 22, 2018

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.


mikev
Participant
Forum|alt.badge.img+2
  • Participant
  • September 20, 2018
maarten wrote:

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?

 

 

 


jeroen
Contributor
Forum|alt.badge.img+8
  • Contributor
  • October 29, 2018

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


xiaomengatsafe
Safer
Forum|alt.badge.img+3

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!


nielsgerrits
VIP
Forum|alt.badge.img+54
xiaomengatsafe wrote:

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?


anamanvil
Forum|alt.badge.img
  • November 17, 2020

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


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