Workspaces
Use this page to upload and manage the following inFME Flow:
- Workspaces
- Workspacetemplates
- Custom transformers
- Custom formats
InFME Flow, these items are uploaded and organized into再保险positories。
Uploading toFME Flow
To uploadworkspaces toFME Flowwith support for any of these features, use thePublish toFME FlowwizardfromFME Workbench。Alternatively, upload them separately using the tools inFiles & Connections。
- Do one of the following:
- From theWorkspaces page: ClickUpload。
- From any page: Drag and drop aworkspacefile directly onto the page.
- From any page, drag and drop a folder ofworkspaces directly onto the page.
- On the Uploading Folder dialog, provide a再保险pository Name, and clickUpload。
- From theWorkspaces page, open the repository you want to hold the newworkspaces.
- Drag and drop a folder ofworkspaces directly onto the page.
- The Uploading Folder dialog opens and asks if you want to create a new repository for theseworkspaces. To proceed as intended, leave this box unchecked, and clickUpload。
- Choose Repository: This dialog opens if you initiate an upload of a singleworkspacebefore opening a repository. Select the repository to hold theworkspace如果需要,编辑workspacename. ClickUpload。
- CommitWorkspace: IfVersion Controlis enabled, you are asked to commit the file(s) to version control. To commit, enable the slider and write a commit message. If version control is disabled, this dialog informs you. (Following the current upload, you can always enable version control, initiate a new upload, and commit it to version control.) To proceed, clickConfirm(For more information, seeWorking with Version Control, below.)
- Configure Services: Specify whichFME Flow Web Servicestheworkspaceruns. Expand a service to configure its properties when running theworkspace, as follows:
- never: Disregard changes in the camera view
- onStop: Refresh the link n seconds after camera movement stops, where n is specified byView Refresh Time。
- onRequest: Refresh the link only when explicitly requested in Google Earth.
- onRegion: Refresh the link when the Region becomes active.
- onChange: Refresh when the KMZ file is loaded and whenever the Link parameters change.
- onInterval:每n秒刷新,其中n是指定的View Refresh Interval。
- onExpire: Refresh when the expiration time is reached. If a fetched file has a NetworkLinkControl, the
time takes precedence over expiration times specified in HTTP headers. If no time is specified, the HTTP max-age header is used, if present. If max-age is not present, the Expires HTTP header is used, if present. - ClickConfirm。
To upload a singleworkspace:
To create a repository from a folder ofworkspaces, and upload its contents:
To upload multipleworkspaces from a folder, and place them into an existing repository:
Send HTTP Message Body to Reader
The reader feature type that receives HTTP content, in place of the actual dataset.
Include Writers in Download/Stream
The writer for outputting data after theworkspaceruns. If theworkspaceincludes multiple writers, you may want to change the writer selected by default to one that is better configured for downloading or streaming data.
For example, consider aworkspacewith two writers. One writer inserts a single timestamp record into an Oracle table each time theworkspaceis run. The other writer supports downloading all of the data users want in AutoCAD. In this case, you will likely specify the AutoCAD writer as the desired output writer.
Network Link Name
Specify a name for the KML Network Link.
Visibility
If 1, features are drawn in the Google Earth 3D viewer. Otherwise, specify 0.
Network Link Description
Provide a description for the KML Network Link.
View Refresh Mode
Specifies how the KML Network Link is refreshed when the Google Earth Camera view (that is, the viewer's location in space) changes.
View Refresh Time
IfView Refresh ModeisonStop, specifies the number of seconds to wait before refreshing the view.
View Format
The format of the query string that is appended to the Link's
再保险fresh Mode
Specifies a time-based refresh mode.
View Refresh Interval
If再保险fresh ModeisonInterval, specifies the number of seconds to wait before refreshing the view.
North, South
Specifies the latitude of the north and south edge of the bounding box, in decimal degrees from 0 to ±90.
East, West
Specifies the longitude of the east and west edge of the bounding box, in decimal degrees from 0 to ±180. (For overlays that overlap the meridian of 180° longitude, values can extend beyond that range.)
Minimum Level of Detail Pixels
Defines a square in screen space, with sides of the specified value in pixels. For example, 128 defines a square of 128 x 128 pixels. The region's bounding box must be larger than this square, and smaller thanMaximum Level of Detail Pixels, in order for the Region to be active.
Maximum Level of Detail Pixels
Measurement in screen pixels that represents the maximum limit of the visibility range for a given Region. A value of −1 indicates "active to infinite size."
Working with Version Control
IfVersion Controlis enabled, you can perform the following tasks on theWorkspaces page:
To access the history of additions and changes to a repository, clickHistory。On the History dialog, you can:
- View information about a revision, including the file name, the user who committed the addition or modification, and the date of the commit.
- Copy the SHA hash corresponding to a Git repository commit.
- Download a file version.
When viewing history, keep in mind the following:
- Downloading a file version doesnotreplace your working copy of that file onFME Flow。To update your working copy with a downloaded file, republish it toFME Flow。
- The History dialog shows the history of deleted items in a repository, but it is not possible to view the history of repositories that have been deleted.
- To limit history to a single repository, check the box beside the repository you want to view. To limit history to a single file of a repository, open a repository and check the box beside the file you want to browse.
Saving a File Version
You can save individual file versions directly from theWorkspaces page.
- Open a repository, and check the box beside theworkspaceto select it.
- ClickCommit。
- In the Commit Item dialog, enter aCommit Comment, if desired, and clickCommit。
To access the version of theworkspaceyou committed, seeAccessing Versions, above.
Working withWorkspaceMetrics and Metadata
You can view useful information aboutworkspaceperformance, which can help you make important decisions about how to runworkspaces, particularly when configuringQueue Control。To viewworkspacestatistics, click on a repository name to open it.
TheWorkspaces page for a repository displays the following columns:
- Type: Type of FME module,WorkspaceorTemplate。
- Name: Name of theworkspace。
- Files: Files associated with theworkspace。Click to view individual file names and sizes, or to remove unwanted files.
- Last Updated: Timestamp when theworkspacewas last updated.
- Average % CPU: Average percentage of processing time that is recorded as CPU time, calculated asAverage CPU Time/Average Elapsed Time。
- Average CPU Time: Average total CPU time to run theworkspace。For more information about howCPU Timeis measured, see theCompletedjobs table.
- Average Elapsed Time: Average total processing time of theworkspace。
- Average Peak Memory Usage: Average peak memory usage by the FME Engine while processing a job. For more information about howPeak Memory Usageis measured, see theCompletedjobs table.
- Total Runs: The number of times theworkspacehas run since statistics were last reset.
再保险setting Statistics
You may decide that, over time, statistics are outdated and do not reflect current conditions on your system. You can reset statistics so that they are calculated anew. Select one or moreworkspaces to reset, clickActions, and select再保险set Statistics。
Other Tasks
To create a repository
ClickNew。On the Create a New Repository page, provide a name and description for the new repository, and clickOK。
To edit a repository description
Select a repository and clickEdit。On the Editing Repository page, make your desired changes, and clickSave Changes。
To share a repository
Click the Share with Others icon. Through sharing, you can grant levels of permissions on an item to other users. You can share an item if you own it, or if you are a user with Manage permission in Security, such as an administrator. For more information about sharing and ownership, seeRole-Based and User-Based Access Control。
To change the job queue of a repository
If not explicitly assigned, repositories are assigned to the Defaultjob queue。Under the Queue column, you can assign the repository to a different queue.
To remove a repository
Select one or more repositories and click再保险move。