Skip to main content
Question

Nested folders and fanout with KML

  • 6 March 2013
  • 1 reply
  • 34 views

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

 


Reply