“GML提取几何体CircleByCenterPoint而不是posList”的答案 https://knowledge.亚搏在线safe.com/questions/47136/gml-extract-geometry-circlebycenterpoint-instead-o.html “GML提取几何体CircleByCenterPoint而不是posList”问题的最新答案 答案由mark2atsafe亚搏在线 https://knowledge.亚搏在线safe.com/answers/47211/view.html

我不确定我是否理解GML标签“AttributeCreator”是什么意思在你的截图。如果它是源数据,为什么要提取到GML中呢?

无论如何,就像你-但不同于https://knowledge.亚搏在线safe.com/answers/47152/view.html

只是对未来的一个提示:当遇到这样的问题时,如果你能发布一个GML样本数据集,除了截图,这将是非常有帮助的。如果屏幕截图本身不明显,它对于那些试图帮助调试问题而不需要手动输入GML的人非常有帮助:-)

格林尼治时间2017年7月4日星期二07:25:20 david_r
答案由桑德 https://knowledge.亚搏在线safe.com/answers/47140/view.html

出于好奇:您的“GeometryReplacerCerde”是做什么的?

您的问题是FME提取的不是一个圆,而是一个椭圆。在您的屏幕截图中,有一个主要半径和一个次要半径。我测试了提取一个圆(因此在次要半径没有定义/不等于主要半径的地方),FME 2017给我的结果是:

<gml:Curve xmlns:gml="http://www.opengis.net/gml/3.2" gml:id="id-2d39993a-6018-11e7-b4b2-c42c033923d4-0" srsDimension="2">& lt; gml: segments>& lt; gml: CircleByCenterPoint numArc =“1”比;< br > & lt; gml: posList> 10 60 & lt; / gml: posList>& lt; gml: radius> 2 & lt; / gml: radius>< br > & lt; / gml: CircleByCenterPoint>& lt; / gml: segments> < br > & lt; / gml: Curve> 

So that seems to work. However, if I feed it an ellipse, it gets stroked by FME into a line and you end up with the posList like you did. I'm not sure, but I don't think GML supports storing elliptical geometry..?

Depending on what the spatial reference of your output GML needs to be and what your input is, you could try to create a true circle (reprojection probably turned it into an ellipse). This question might provide some insight there.

格林尼治时间2017年7月3日星期一18:02:51 砂光机