How can I convert a Multicurve geometry type to multiline geometry type?
Hi @vojvod, in the FME geometry model classification, MultiCurve is a collection of Curve geometries, and Line is a kind of Curve. See here to learn more: FME Geometry Model
I'm not sure what "multiline" in the context means, but the ArcStroker might help you if you want to transform Arc(s) within a MultiCurve to Line(s).
Hi @vojvod, in the FME geometry model classification, MultiCurve is a collection of Curve geometries, and Line is a kind of Curve. See here to learn more: FME Geometry Model
I'm not sure what "multiline" in the context means, but the ArcStroker might help you if you want to transform Arc(s) within a MultiCurve to Line(s).
A good example of a multiline (I think) is the land border between Canada and the US.
I had a similiar problem when writing to PostGis. I have a shape-layer which will be recognized as Multilinestring when read by QGIS. In FME it appears as FMEMultiCurve. FMEMultiCurve cannot be written to PostGIS Multilinestring - even when there are only lines in it.
Here is my solution:
First use Deaggregator, then Geometryfilter to be sure there are only lines, then reaggregate with Aggregator.
Same problem ...
for me worked:
- GeometryFilter to select only the lines
- Aggregator
- Deaggregator
Then I got in postgis:
- LineString
- MultiLineString
and all geometries were fine.