Skip to main content

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.

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.


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


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

I’ll try again.

 


@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

 

 


@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?


@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.

 

 


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 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!


Reply