0

I have to write Features with more than one geometry to interlis. In the Interlis model there is a class which has an optional second geometry as an attribute. Enabling the (Oracle-) Reader to read multiple geometries works. FME reads point-features with its polygons. Now, how do I write the point-geometry as primary geometry to interlis, and the polygons as "optional" geometry to the specified attribute?

Attached you will find the interlis-model, the class I need to write is "InfrastrukturKnoten" with its optional geometry "Detailgeometrie".

Problems so far:

  • when switching to Geometry-Type "FME-XML" instead of "FME-BIN" I get Oracle read Errors on non-spatial tables
  • when switching to "handle multiple spatial columns = yes" at the Oracle Spatial Reader, I also get Oracle ORA-01002: FETCH auf ungültigen oder geschlossenen Cursor Errors

Interlis-Model

2
  • Are you using the Interlis reader/writer? According to the documentation, this format is created by a third party and you can find more information on how it works here: ili2fme.ch Jan 25 at 16:36
  • Yes, but ili2fme doesn't supply any support. They direct to stackexchange and the FME Community for technical support. I wasn't able to find any information on that specific problem on both online resources. Jan 27 at 9:39

2 Answers 2

0

You probably want to study the article Writing to Database Tables that contain Multiple Geometry Columns.

1
  • thanks, I already saw this article, but it shows how to write into databases, not to Interlis. As I already am reading those classes with multiple geometries correctly, I see the difficulty in writing them to Interlis. (second geometry redirected into a specific attribute) Jan 25 at 12:03
0

Turns out, it's best to disable "multiple spatial column support" at the reader. I now read the additional geometries as separate feature class and extract the geometry (using Geometryextractor) into an attribute an join these to the original class. Interlis Writer picked up the geometries (in attribute) and wrote them to the specified attribute as planned.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.