span8
span4
span8
span4
I am trying to convert a dataset from XML (KuntaGML) to shape but cant get it to behave properly.I am using a dynamic workspace and the output is 80:ish shapefiles.Everything exports but loses its coordinate system and gets is geometry from the first feature read.I have tried adding the desired coordinate system up in the left corner of the workspace but it only seems to be written to half,or so,of the files output.As for the geometry I have tried both "from schema" and "first feature defines geometry" none of them make any difference,everything is output as points,even though all geometries are in the XML.
What am I doing wrong?
You can use the CoordinateSystemSetter transformer on the features directly.
For the geometry issue,that's related to the fact that shapefiles can only support one geometry type.You need to make sure that the different geometry types have different shapefile names.You can do this implicitly with a dynamic schema,or explicitly with a geometryFilter and a different writer feature type for each geometry.
Converting shape file to xml file1 Answer
convert xml to csv1 Answer
XMLTemplater with subtemplate not retaining nesting correctly1 Answer
Use soap xml to GetResult data2 Answers
© 2019 亚搏在线Safe Software Inc |Legal