Skip to main content
Question

Nested folders and fanout with KML

  • March 6, 2013
  • 1 reply
  • 78 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.

1 reply

davideagle
Contributor
Forum|alt.badge.img+21
  • Contributor
  • 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

 


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