Self-Serve and Parameters
Workspace parameters are the key to controlling Self-Serve and the Data Download service.
What are Parameters?
Parameters are what control FME translations and transformations. Remember that a translation has a hierarchy of different translation components:
Each different level of the hierarchy has a set of parameters that belong to it. That means there are:
- Workspace Parameters
- Reader Parameters
- Writer Parameters
- Feature Type Parameters
Most of the available parameters are determined by the author of the workspace.
Chef Bimm says… |
Order food in my restaurant and I'll decide how long it needs to be cooked, at what temperature, and using what equipment. I'll also decide the amount of seasoning it needs and what plate to present it on. Like an FME author, these are the parameters that control the results, and as the creator of the meal I get to choose how best to set them. |
Published Parameters
Although workspace authors set most of the parameters, in some cases, the end user needs to be able to set some of them.
Chef Bimm says… |
Of course, I will let you have some decision on your meal. For example, I'll let you decide how your steak should be cooked - rare, medium, or well done - and what sauce you wish to add. I'll also let you select the side dishes. These are the parameters in FME that the user gets to wield instead of the author. |
To enable users to select the requirements for their translation, FME includes functionality called User Parameters. User parameters are methods for getting input into a workspace.
When a user parameter is made available to the end-user, it is called a Published Parameter. In a self-serve application, published parameters are important to let the end user control how the data is served regarding style and structure.
Parameter Uses in FME Server
For self-serve systems, published parameters are most commonly used to set:
- What coordinate systems to deliver data in
- What feature types (layers) to deliver
- What geographic area (Bounding Box or Area of Interest) to deliver
- Any other Reader, Writer, or Transformer parameters of use to the user
With FME Server, the key to successful workspace authoring is flexibility. Workspaces need to be flexible to allow end-users to make choices without seeing all of the complexity of the workspace or the data behind it. Parameters are one way to accomplish this.