Hi,
Probably this question has been asked before. ...
I have a geometry IFME arc well made in the workbench ( arc by centerpoint, or arc by centerpoint with end points ).
When i extract this geometry with GeometryExtractor i didn't obtain a <gml: arcbycenterpoint > description but a <gml: linestring > description. Only exception : arc with 3 points.
I used 2Darcreplacer to construct this arc.
It seems the only solution to obtain what i want is to write an XML templater with the desired squeleton and put the attributes inside. And when i retrieved the geometry with a geometry replacer + geometry extractor It doesn't change.
The problem is when i want to aggregate arcs with lines or with arcs again to obtain a complex geometry. With the transformers inside FME it's well made ( 2Darcreplacer, arcpropertysetter. ...) and i obtain a <gml: surface> made with many parts. ( aggregate in FME workbench made of IFME Polygon with IFME Paths made of IFME arc and IFME Lines ....). But i have to replace all the arcs written in <gml: linestring> if i want to extract the geometry in gml !!!!
with a templater it becomes more complex for such <gml: surface> structure . I can't use the same squeleton
Ex : surface can be made with arc + linestring + arc or any combination of these geometries in a form not known at the beginning of the process. So a squeleton Xml templater is not possible, each case is different.
Question 1 : the process of writing arcs with Python is possible without bad transformation in gml alter the creation ?
Question 2 : each part can be divided ( arc in one side in XML templater described in gml ) and linestring in the oder side in XML templater too ( with a dynamically list of points forming the lines). Is it possible to aggregate and reconstruct the <gml: surface> hierarchy without loosing the real arc geometry.
It's really strange that the combination ( 2Darcreplacer - GeometryExtractor gml) loose the good description of the arc in gml
Any ideas and advices ?
Thanks