Skip to main content
Question

FeatureWriter and geometry type handling with GeoPackages

  • August 7, 2026
  • 0 replies
  • 12 views

chau
Contributor
Forum|alt.badge.img+7

I have created a very simple workspace with a creator which creates a line and writes it to a GeoPackage using a FeatureWriter.

The line is 2D, no measures, but the geometry type in the resulting GeoPackage is reported by ogrinfo as “3D Measured Multi Curve”.

I would expect the result to be a 2D LineString instead - or maybe just LineString. As seen in the image I have exported the geometry to WKT and it indeed reports it as “LINESTRING (400000 6040000,900000 6400000)”.

Is this the expected behaviour and is the FeatureWriter geometry type detection headed towards the broadest category for data instead of a more narrow approach?

The test has been done using FME Form 2026.2 (26333) on Windows.