span8
span4
prio1-esrishape2citygml-ci-2.fmw
Hello,
I have a shapefile that consists of roof,walls and ground in a buildings model.Each surface has it's own ID ('UUID_BYGGN') assigned to it together with building part ('MSLINK2').
我有一个工作区,在那里我阅读了所有的功能,并根据属性(“igds”lev_n))对表面进行排序,该属性告诉我它是不是屋顶,wall or ground.After this I assign the attributes 'gml_id' and 'gml_parent_id' to each surface but something is wrong in the workspace.I get error message:
CityGML Writer: Found a cycle.The ids of the elements which created this path were `GML_01861c27-7df2-4021-bd4b-300c3b496991,GML_01861c27-7df2-4021-bd4b-300c3b496991_1,GML_01861c27-7df2-4021-bd4b-300c3b496991'.
CityGML Writer: While determining the CityGML element heirarchy (based on the gml_id and gml_parent_id attributes) a cycle was detected.Cyclic features can't be serialized into a CityGML Document.
A fatal error has occurred.Check the logfile above for details.
Can anyone help me with why this cycle beahaviour occurs?I guess it has to do with the way I assign my UUID:s to the attributes 'gml_id' and 'gml_parent_id' but I can't seem to figure out why!
I am also rather new to FME so that might be a reason why I am having problems also.Thank you :)
It looks like you may have the same issue in the Wall geometry.You may also want to check the Base geometry as well - I can't tell just from the workspace.
Hi @DaveAt亚搏在线Safe,
Thank you for the reply!However it doesn't seem to solve my problem...Is still get them same error message:
CityGML Writer: Found a cycle.The ids of the elements which created this path were `GML_01861c27-7df2-4021-bd4b-300c3b496991,GML_01861c27-7df2-4021-bd4b-300c3b496991_1,GML_01861c27-7df2-4021-bd4b-300c3b496991'.
CityGML Writer: While determining the CityGML element heirarchy (based on the gml_id and gml_parent_id attributes) a cycle was detected.Cyclic features can't be serialized into a CityGML Document.
A fatal error has occurred.查看上面的日志文件了解详细信息
A fatal error has occurred.查看上面的日志文件了解详细信息
Did I enter the value at the wrong transformer?I added to modified workspace again.
In your workspace,the non-Wall output from the FilterOutWalls transformer goes to both the BuildingPart and Roof geometry sections.The BuildingParts are given a gml_parent_id from the UUID_BYGGN value and a gml_id from UUID_BYGGN + MSLINK2.
The Roof geometries are given a gml_parent_id of UUID_BYGGN + MSLINK2,which will make them the children of the BuildingPart features,but they are also given a gml_id of UUID_BYGGN,which makes them the parents of the BuildingParts.Hence the circular reference.
Please add a value to the end of the Roof geometry gml_id to prevent them from being the BuildingPart parents.
Adding appearance to CityGML: color and transparency2 Answers
How to convert ESRI shapefile to CityGML by using an ADE with proper geometry(LoD)?5 Answers
How can I generate CityGML file with number of storey attribute values from shp file?2 Answers
ESRISHAPE readers don't fetch schemas from all source tables in ZIP archives2 Answers
Batching combining a1.shp,a2.shp,a3.shp and b1.shp,b2.shp and so on into a.shp and b.shp.3 Answers
© 2019 亚搏在线Safe Software Inc |Legal