Skip to main content
  • 4,045 Posts
  • 13,980 Replies
4045 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

  • FME Certified Professional
    j.frolikhas earned the badge FME Certified Professional
  • Student (Bronze)
    asadamjadhas earned the badge Student (Bronze)
  • Student (Grey)
    asadamjadhas earned the badge Student (Grey)
  • Expert (Grey)
    asadamjadhas earned the badge Expert (Grey)
  • Teacher (Silver)
    asadamjadhas earned the badge Teacher (Silver)
Show all badges

Community Stats

32,482
Posts
123,381
Replies
40,666
Members