Skip to main content
Question

Nested folders and fanout with KML

  • March 6, 2013
  • 1 reply
  • 98 views

philsc
Contributor
Forum|alt.badge.img+2
Hi !

 

 

Is there a way I can get my fanout result nested in a subdirectory in a KML/KMZ file ?

 

Should be quite simple, but I just can't make it work.

 

 

I have a MapInfo table with schools which I would like to separate in type of schools and by region. Type of schools, language and regions are held in columns in the MI table.

 

 

Here is a sample of what I'm trying to achieve :

 

 

Schools (document name) - Elementary (1st order subdirectory) - English (2nd order subdir) - Region 1 (3nd order subdir - that's where my fanout should be) - Region 2 - ... - French (2nd order subdir)

 

- Region 1 (3nd order subdir - that's where my fanout should be) - Region 2 - ...  Secondary - English (2nd order subdir) - Region 1 (3nd order subdir - that's where my fanout should be) - Region 2 - ... - French (2nd order subdir) - Region 1 (3nd order subdir - that's where my fanout should be)

 

- Region 2

 

- ... University

 

...

 

Every time I use a fanout, my subdirectories are automatically placed at the root of the KML document.

 

 

Is this possible to force the fanout result to a subdirectory ?

 

 

Thanks for your help folks.
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.

1 reply

davideagle
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 578 replies
  • March 6, 2013
Hi - you need to look into the kml_parent and kml_id attributes. Here's an example that shows you how:

 

 

http://fmepedia.safe.com/articles/FAQ/KML-Folders