Closed lgoltz closed 5 years ago
You need to turn copying the parsed (JTS) geometry objects off in the function parameters. If hale finds geometry objects it will prefer them for geometry encoding. Otherwise it will just use the structure as-is.
If you don't use the geometry objects you can also ignore the errors you have parsing them.
Works fine! Thanks a lot for the prompt reply.
We created a mapping from XPlanGML 4.1 to 5.1. The GML version of both schemas is the same (3.2). The alignement of the geometry properties are configured as in the following example:
Transforming a xml instance with the following geometry results in an NPE.
In the target document the curve element is empty:
The following geoemtry doesn't result in NPE but the tranformed geoemtry is an approximated !LineString:
The transformed geometry looks fine in HALE Studio. Our goal is to adapt the geometry as it is from the source.
We are using HALE Studio 3.5.0.