Skip to main content
  • 4,043 Posts
  • 13,973 Replies
4043 Posts
Dynamically writing MultiPoint features to a shapefile

For some background on what I'm doing, I am trying to create a workspace to export some data from an Oracle database and write to a shapefile. As I don't know the attributes/geometry types ahead of time I'm making use of the SchemaSetter and dynamic options in a FeatureWriter.  This is mostly working fine, but I'm having issues when it comes to MultiPoint features. I've created and attached a very simple workspace that demonstrates the problem I'm having.  I'm using six creators to create two features of each geometry type, then aggregating these together to create a MultiPolygon, MultiLine and MultiPoint. I'm then running these three features through a SchemaSetter and writing to a shapefile, with a Geometry type of 'First Feature Defines Geometry Type'. The MultiPolygon and MultiLine features get written to the file and look as I'd expect in a GIS program.  The MultiPoint doesn't however, as the log states that:2020-10-02 15

Badge Winners

Show all badges

Community Stats

32,413
Posts
122,925
Replies
40,131
Members

Latest FME