Solved

Features inside Subfolders KML

  • 28 July 2016
  • 6 replies
  • 39 views

Userlevel 4
Badge +30

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

icon

Best answer by jdh 28 July 2016, 21:29

View original

6 replies

Badge +22

Is the kml_parent set on the source features?

Userlevel 4
Badge +30

Hello @jdh,

Yes:

workspace-know.fmwt

Badge +22

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

Userlevel 4
Badge +30

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.:

Badge +22

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.
Userlevel 4
Badge +30

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

Reply