Esri Shapefile Writer Parameters
Writer Parameters
Specifies the encoding to be used when writing attribute names and attributes.
If the value is not set, the character encoding will be automatically detected from the first feature the writer receives. If the value is set, it will take precedence over the automatically detected character encoding.
The output Shapefile .dbf will contain the language driver ID for the selected or detected encoding, if no language driver ID is available for the encoding, a .cpg file may be generated instead.
FME supports most encodings.
Specifies whether or not to generate spatial index files when writing shapefiles.
Note: If any attributes are flagged for indexing, spatial indexes are produced regardless of this setting. For more information, see User Attributes (Writing Attribute Indexes).
When selected, this option creates a single zipped .shz file that contains all the files that comprise a shapefile dataset.
For example, coast.shz will contain coast.shp, coast.dbf, coast.shx (as well as any other supporting files, if applicable).
Each .shz file corresponds to one layer (feature type).
Tip: .shz files can be renamed to ".zip" and opened with most unzip tools.
- Dimension from First Feature: Shapefiles produced will contain geometries with dimension information obtained by the first feature observed by the writer.
- 2D: Shapefiles produced will contain two-dimensional coordinate geometry.
- 2D + Measures: Shapefiles produced will contain two-dimensional coordinate geometry and measures.
- 3D + Measures: Shapefiles produced will contain three-dimensional coordinate geometry and measures.
Note: These parameters can be modified after generation of the writer. For more information, see Esri Shapefile Writer Feature Type Parameters.
Advanced
Note: This parameter is used only when generating an initial workspace; therefore, it is not editable in Workbench after the workspace has been generated.
- Multipatch: To preserve the original structure, the writer will write input 3D surfaces and solids as shape_multipatch.
- Polygon: To break 3D surfaces into polygon components, the writer will write input 3D surfaces and solids as 3D shape_polygon.
This parameter controls the handling of measures data associated with geometric data or attributes on the incoming features:
- No (default): Preserves the measures on the features.
- Yes: Measures data is created from the z values on the incoming features, if the z values exist. If measures data exists, it is not overwritten by the z values on the feature.