Hi folks- I have a polyline file (in planar coordinates) and attempting to build a 200ft buffer around each line. Simple, but I am repeatedly getting the error: Cannot write a non-area feature to an area feature class. The bufferer seems to be writing out polygons...fme_geometry is showing polygon. I've tried geometrycoercer, attribute exposer, geometry validator...all successful in saying the polygon geometry is legit. I can even write successfully as a polygon shapefile. But not to a fGDB polygon feature class.
The FGDB feature class has strictly enforced rules for polygons. Some of the buffers might be self-intersecting and causing issues. Can you do a check (use GeometryValidator)?
The FGDB feature class has strictly enforced rules for polygons. Some of the buffers might be self-intersecting and causing issues. Can you do a check (use GeometryValidator)?
Yeah, did the GeometryValidator, everything came out okay. If I change the output to polyline, it succeeds. But not polygon. I've used the same process many times before with no problems, so there is something unique I haven't accounted for.
Yeah, did the GeometryValidator, everything came out okay. If I change the output to polyline, it succeeds. But not polygon. I've used the same process many times before with no problems, so there is something unique I haven't accounted for.
Is this an existing feature class? Does it work if you write to a brand new feature class? Do you have multi-part features after the Bufferer?
Nathan
The FGDB feature class has strictly enforced rules for polygons. Some of the buffers might be self-intersecting and causing issues. Can you do a check (use GeometryValidator)?
Hi @NathanAtSafe- I've tried to write to different geodatabases as new feature classes and no luck. I've also tried drop and truncate table. The writer is attached directly to the bufferer. Preceding that is an attribute-only FeatureMerger and LineCombiner. Maybe the LineCombiner is doing something? Even if it is, the error is suggesting a non polygon feature is emerging directly from the bufferer which is puzzling to me. I have seen similar behaviour before when a non-spatial reader may pick up or adopt a geometry for some reason and you have to do a GeometryRemover before building a geometry output.
Hi @NathanAtSafe- I've tried to write to different geodatabases as new feature classes and no luck. I've also tried drop and truncate table. The writer is attached directly to the bufferer. Preceding that is an attribute-only FeatureMerger and LineCombiner. Maybe the LineCombiner is doing something? Even if it is, the error is suggesting a non polygon feature is emerging directly from the bufferer which is puzzling to me. I have seen similar behaviour before when a non-spatial reader may pick up or adopt a geometry for some reason and you have to do a GeometryRemover before building a geometry output.
Nathan
Nathan
Thanks,
Nathan
Did you try the GeometryFilter. Probably a bit late since you have a workaround, but that's the first thing I'd try. Easier than searching through all the fme_type and fme_geometry values looking for something that's not right.