What do fme_dataset, fme_basename, and fme_feature_type values provide for various formats and how do I get the name and path I need.
Best answer by richardatsafe
View originalWhat do fme_dataset, fme_basename, and fme_feature_type values provide for various formats and how do I get the name and path I need.
Best answer by richardatsafe
View originalIf you need to get your table name or path of a dataset you can usually get what you need by exposing the fme_basename, fme_dataset, and fme_feature_type in the formats attribute tab of your reader. The table below is a good reference as to what these are for various formats.
Format, fme_feature_type, fme_dataset, fme_basename
If you need to get your table name or path of a dataset you can usually get what you need by exposing the fme_basename, fme_dataset, and fme_feature_type in the formats attribute tab of your reader. The table below is a good reference as to what these are for various formats.
Format, fme_feature_type, fme_dataset, fme_basename
By default, the feature type name will be the format name "CSV", but if you set "From File Name(s)" to the "Feature Type Name(s)" parameter when adding the CSV reader to a workspace, the feature type name will be the file name without extension.
FormatFeature Type Name(s)fme_feature_typefme_datasetfme_basenameCSVFrom Format Name
-- FME Defaults"CSV"PathFile Name without extensionCSVFrom File Name(s)
-- My DefaultsFile Name without extensionPathFile Name without extensionI'm not sure the default feature type name "CSV" has what kind of advantage. I usually use "From File Name(s)" option as My Defaults.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.