Question

How do I create geometry features from input attributes?

  • 7 December 2022
  • 3 replies
  • 3 views

I see how I can create a geometry using a creator where I can specify the geometry parameters. For example, creating an Clothoid by specifying Start X, Start Y, Direction etc. But these are all values that must be hand entered. How can pass these values into an "inline" Creator to set the geometries accordingly? I see 2DArcReplacer etc but not one for Clothoids. Is there a GeometryReplacer of sorts that would let you specify the type of geometry desired and which incoming attributes to assign to the relevant Geometry Parameters?


3 replies

Userlevel 1
Badge +11

Do you have your clothoid definition available in xml-clothoid format? Then maybe you could have a look at the XML Reader...?

Userlevel 6
Badge +33

Use the geometryextractor to get the xml definition of the geometry. Use the geometryreplacer to get the geometry from the xml definition.

Userlevel 4

Also have a look at the reply here: https://community.safe.com/s/question/0D54Q00009o327PSAQ/how-do-i-add-clothoids-spirals-to-a-geometry

Reply