Hi @jitkam, it depends on your desired CSV table schema. For example, how do you want to describe this polygon feature (having 3 user attributes - attr1, attr2, attr3, and a single polygon geometry with 5 vertices) in the destination CSV table?
Attribute(string) : `SHAPE_GEOMETRY' has value `shape_polygon'
Attribute(encoded: fme-system): `attr1' has value `aaa'
Attribute(encoded: fme-system): `attr2' has value `bbb'
Attribute(encoded: fme-system): `attr3' has value `ccc'
Attribute(string) : `fme_feature_type' has value `data'
Attribute(string) : `fme_geometry' has value `fme_polygon'
Attribute(entangled: string) : `fme_type' has value `fme_area'
entangled to _SHAPE_GEOMETRY]
Coordinate System: `'
Geometry Type: IFMEPolygon
Boundary:
Geometry Type: IFMELine
Number of Coordinates: 5 -- Coordinate Dimension: 2
(0,0)(0,2)(3,2)(3,0)(0,0)
Hi @jitkam, it depends on your desired CSV table schema. For example, how do you want to describe this polygon feature (having 3 user attributes - attr1, attr2, attr3, and a single polygon geometry with 5 vertices) in the destination CSV table?
Attribute(string) : `SHAPE_GEOMETRY' has value `shape_polygon'
Attribute(encoded: fme-system): `attr1' has value `aaa'
Attribute(encoded: fme-system): `attr2' has value `bbb'
Attribute(encoded: fme-system): `attr3' has value `ccc'
Attribute(string) : `fme_feature_type' has value `data'
Attribute(string) : `fme_geometry' has value `fme_polygon'
Attribute(entangled: string) : `fme_type' has value `fme_area'
entangled to _SHAPE_GEOMETRY]
Coordinate System: `'
Geometry Type: IFMEPolygon
Boundary:
Geometry Type: IFMELine
Number of Coordinates: 5 -- Coordinate Dimension: 2
(0,0)(0,2)(3,2)(3,0)(0,0)
You can use the GeometryExtractor transformer to create an attribute holding the polygon definition (choice of multiple formats, but WKT is often used).
You can use the GeometryExtractor transformer to create an attribute holding the polygon definition (choice of multiple formats, but WKT is often used).
Thank you @erik_jan