It should be fairly easy to create a workspace that does this, using the "FME Workspace (FMW)" reader:
https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/fmw/fmw.htm
Hmm, I know some team members who will find this extremely interesting. Thanks for suggesting.
Hi @opowell,
I agree with @david_r that the "FME Workspace (FMW)" reader is the way to go for dealing with the historic problem. But to handle the future, your issue might be solved with a custom transformer called the 'ASCBeatReader', I have created an example for you and some deployment instructions...
- Open the attached FMW.
- Have a look in the ASCBeatReader and notice that you can enter the required path to the Beat Boundaries shape file.
- Click on the ASCBeatReader tab and inside the AttributeExposer replace my 3 dummy attributes with the actual attributes of the real dataset that you wish to be consumed. Spell them correctly and use the correct case!
- Whilst on the ASCBeatReader tab chose File > Export as Custom Transformer. On the export dialog make sure you set 'Insert Mode' to "Linked Always", this is the important bit. This guarantees that it will always reference the custom transformer source file. Importantly then make sure the Save Location is saved to your network share for custom resources. See 'Shared FME Folders' in here for more info. This approach only works if you reference this custom transformer as a shared resource.
Now, whenever you add an ASCBeatReader to one of your workspaces all will be well... because if your Beats file location changes or the schema expands or contracts, just go and edit ASCBeatReader.fmx, edit the path in the file, save it, which you'll just have to do once and... every workspace containing an ASCBeatReader will automatically update.
Hope that helps... if you need more, you know how to get hold of me.
...lets not take this as reason not to vote the idea up though, better search in FME for anything that might be in a workspace is a great idea... let's face it @daleatsafe and team have FME2020 to think about now!
Cheers, Dave
beatreader-example.fmw
Updated idea statusGathering Interest→Archived
Idea merged into:
All the votes from this idea have been transferred.