Hi. I would like to ask for advice. I have one airport geometry and I have for example three runways to this airport (for example BENESOV). I need to write this data into a shapefile including geometry = 3 x BENESOV airport geometry with runway number see printscreen. 204 elements are correct for the input of the shapefilewriter, but we only write elements that have one runway to one airport. Can someone please advise how to solve this? I am also attaching WS in the attachment. thank you very much
Not sure if I understand what you need, but when I run the workspace the log reports:
Dropping heterogeneous aggregate feature for the SHAPEFILE Writer, due to feature type allowed geometries restriction
A heterogeneous aggregate is a collection of multiple geometrytypes, like a collection of a point and a null geometry.
Shape only supports homogeneous aggregates, a collection of points, or lines, or polygons.
Not sure if I understand what you need, but when I run the workspace the log reports:
Dropping heterogeneous aggregate feature for the SHAPEFILE Writer, due to feature type allowed geometries restriction
A heterogeneous aggregate is a collection of multiple geometrytypes, like a collection of a point and a null geometry.
Shape only supports homogeneous aggregates, a collection of points, or lines, or polygons.
That will probably be the error. And how should I edit it, please, if I need to write data into the shapefile? Thank you
That will probably be the error. And how should I edit it, please, if I need to write data into the shapefile? Thank you
You can "explode" a collection using a deaggregator transformer. Then use a GeometryFilter to split the geometrytypes.
Edit: This can be done in one transformer nowadays, as the GeometryFilter has an "homogenize collections" parameter.
That will probably be the error. And how should I edit it, please, if I need to write data into the shapefile? Thank you
can I ask you to try setting it to workspace? I can't finish the result.
That will probably be the error. And how should I edit it, please, if I need to write data into the shapefile? Thank you
Sure
That will probably be the error. And how should I edit it, please, if I need to write data into the shapefile? Thank you
Thank you very much for your time, your solution works, I had the deaggregator set wrong.
It's great that this community works.
Thanks a lot
That will probably be the error. And how should I edit it, please, if I need to write data into the shapefile? Thank you
Happy I could help. Aye, the community is a big part of the fun. Please pay it forward by helping someone in need :)