Comments and answers for "How can I convert a KML file to DGN or DXF" https://knowledge.亚搏在线safe.com/questions/81055/how-can-i-convert-a-kml-file-to-dgn-or-dxf.html The latest comments and answers for the question "How can I convert a KML file to DGN or DXF" Comment by jovitaatsafe on jovitaatsafe's comment https://knowledge.safe.com/comments/93142/view.html

Hi@robyn_studts,

Try setting afeature type fanouton kml_parent in your DGN writer.Kml_parent is the attribute that holds the folder so you should be able to fanout based on this to keep your folders when you write out.It might take a little tweaking from there if you have a complex folder structure.Here's what it will look like in the writer parameters:

Mon, 03 Jun 2019 21:45:52 GMT jovitaatsafe
Comment by robyn_studts https://knowledge.safe.com/comments/92901/view.html

I made some changes to the FMW file and was successful in getting data into the DGN file..The problem now is everything is on the same level.looking at the KMZ in the universal view there are definitely different layers and colors..An example FMW would be helpful to help guide me on breaking the levels out..

Wed, 29 May 2019 18:35:48 GMT robyn_studts
Answer by mark2atsafe https://knowledge.safe.com/answers/81135/view.html

Some thoughts and potential issues:

  • Is data being dropped during the read process?Check the log for Unexpected Input
  • Is data being dropped during the write process?Is it a dynamic workspace?
  • Are there any transformers?Do the feature counts in the canvas show where features are going?Can you inspect the data mid-translation to prove it is correct.
  • DGN has no problems with multiple geometry types on the same level, so that is not the issue for sure.
  • How are you checking the output?In the Data Inspector?Because the default color for DGN features is white, and inspecting data in the DI makes it appear like there are no features.Do you see anything in the table view?Can you apply color with a FeatureColorSetter?

Hope something helps.

Wed, 24 Oct 2018 15:19:11 GMT mark2atsafe
Answer by danilo_fme https://knowledge.safe.com/answers/81059/view.html

Hi@robyn_studts

Could you share us the Workspace Template FMWT to has a better investigate?

Thanks,

Danilo

Tue, 23 Oct 2018 14:56:27 GMT danilo_fme