Skip to main content
Solved

Features inside Subfolders KML


danilo_fme
Evangelist
Forum|alt.badge.img+45

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.
View original
Did this help you find an answer to your question?

6 replies

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

Is the kml_parent set on the source features?


danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Author
  • Evangelist
  • July 28, 2016

Hello @jdh,

Yes:

workspace-know.fmwt


jdh
Contributor
Forum|alt.badge.img+28
  • 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
Evangelist
Forum|alt.badge.img+45
  • Author
  • Evangelist
  • 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+28
  • 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
Evangelist
Forum|alt.badge.img+45
  • Author
  • Evangelist
  • July 28, 2016
jdh wrote:

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!!! :)


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings