Skip to main content
Solved

Features inside Subfolders KML

  • July 28, 2016
  • 6 replies
  • 189 views

danilo_fme
Celebrity
Forum|alt.badge.img+52

Hello all,

I have a workspace that generate a KML file with Folder and Subfolder. The problem is doenst write nothing points inside the Subfolder.

Thanks all :)

Best answer by jdh

The kml_parent needs to reference the kml_id of the parent feature, not the name. I see that the subfoldersB have a kml_id so the features are finding them, but I can't tell if you subfolderA has one.

 

Also, you only need to create the folder structure once, not 211 times. See kmlfolders.fmw as an example.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

jdh
Contributor
Forum|alt.badge.img+40
  • Contributor
  • July 28, 2016

Is the kml_parent set on the source features?


danilo_fme
Celebrity
Forum|alt.badge.img+52
  • Author
  • Celebrity
  • July 28, 2016

Hello @jdh,

Yes:

workspace-know.fmwt


jdh
Contributor
Forum|alt.badge.img+40
  • Contributor
  • July 28, 2016

Your folders Ativo and Inativo have a kml_parent, but I don't see you features being assigned a kml_parent of Ativo|Inativo.


danilo_fme
Celebrity
Forum|alt.badge.img+52
  • Author
  • Celebrity
  • July 28, 2016

hello again @jdh thanks your help. I tried the configuration kml_parent to Ativo and Inativo, and the features are writted. :)

Now the Folder Base Ativa doesnt created.:


jdh
Contributor
Forum|alt.badge.img+40
  • Contributor
  • Best Answer
  • July 28, 2016

The kml_parent needs to reference the kml_id of the parent feature, not the name. I see that the subfoldersB have a kml_id so the features are finding them, but I can't tell if you subfolderA has one.

 

Also, you only need to create the folder structure once, not 211 times. See kmlfolders.fmw as an example.

danilo_fme
Celebrity
Forum|alt.badge.img+52
  • Author
  • Celebrity
  • July 28, 2016

The kml_parent needs to reference the kml_id of the parent feature, not the name. I see that the subfoldersB have a kml_id so the features are finding them, but I can't tell if you subfolderA has one.

 

Also, you only need to create the folder structure once, not 211 times. See kmlfolders.fmw as an example.

Thanks @jdh !!! Its works now!!! :)