Skip to main content
Solved

Problem with WMTS in featurereader: WMTS An error occurred while generating the GetTile URL

  • September 23, 2024
  • 8 replies
  • 63 views

joy
Supporter
Forum|alt.badge.img+14
  • Supporter

Hello fellow FME form users,

I had a script which worked in FME 2022.2, but not in FME 2023.2. I then get the following error:

<WMTS> An error occurred while generating the GetTile URL, please check the dataset URL and selected parameters

 

Another weird thing is when I make a fme workspace app based on this fme script, then I don't get the error at all and I manage to get results. It's just not clear  to mer why the script doesn work in fme workbench 2023.2

I have checked the following parameter to yes: “Prefer Dataset to URL”

 

This is our curernt fme form build:

FME(R) 2023.2.0.0 (20231201 - Build 23764 - WIN64)

 

and this is our curernt fme flow build:

FME Flow 2023.2.1
Build 23774 - win64

I have attached the workspace, so that others can also test with my workspace.

Best answer by nielsgerrits

@danielleatsafe could you check if something is off with the attachments?

@joy the only thing i changed was set Prefer Dataset URL to no. Can you try that?

View original
Did this help you find an answer to your question?

8 replies

nielsgerrits
VIP

When I copy paste FeatureReader_2 from your workspace in a new one and change Prefer Dataset URL to no, it just works. Sample attached.


joy
Supporter
Forum|alt.badge.img+14
  • Author
  • Supporter
  • September 23, 2024

@nielsgerrits For some reason, I can't manage to download WMTS(2023).zip


nielsgerrits
VIP
joy wrote:

@nielsgerritsFor some reason, I can't manage to download WMTS(2023).zip

I’ll try again.

 


joy
Supporter
Forum|alt.badge.img+14
  • Author
  • Supporter
  • September 25, 2024

@nielsgerrits If I try to click on the zip file, but then I get the following, so I still don't manage to download it.
I’m using firefox as well edge

 

 


nielsgerrits
VIP
  • Best Answer
  • September 25, 2024

@danielleatsafe could you check if something is off with the attachments?

@joy the only thing i changed was set Prefer Dataset URL to no. Can you try that?


joy
Supporter
Forum|alt.badge.img+14
  • Author
  • Supporter
  • September 25, 2024

@nielsgerrits I changed “Prefer Dataset URL” to no and “prefered encoding” to KVP and now it works. 
Thanks for pointing that out

I am just wondering whether this should have been normal FME Form behaviour, since it worked with the other settings in form 2022 and in fme flow without changing anything. Or it's just tolerated the settings simply and therefore it seemed to work in FME Form 2022 and in fme flow, while I just simply chose the chose the wrong settings.

 

 


nielsgerrits
VIP

Honestly (and this is with most things I do 😅 ) I’m not sure why it works or what it really does. I guess the answer lies in the documentation:

Prefer Dataset URL

This option prioritizes the WMTS source URL to build the GetTile request.

It will not use the defaults from the GetCapabilities result returned by the WMTS server.

Still no clue. It might be that in a previous version, workbench automagically switched from one to the other when the first option did not work and it might be stricter now, but not sure.


danielleatsafe
Safer
Forum|alt.badge.img+17
nielsgerrits wrote:

@danielleatsafe could you check if something is off with the attachments?

@joy the only thing i changed was set Prefer Dataset URL to no. Can you try that?

It should be working now!


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