Question

Sort folders in KMZ


Badge

Hi people, first of all sorry for my bad English .

I need to sort the folders by group, I have 99 folders ( 0,1,2,3 ... 98 ) and I need to group from 10 to 10 Example

0-9

10-19

20-29

30-39

...

90-98

how should I do it?

Ty


2 replies

Userlevel 2
Badge +16

Could you use folder names 00, 01, 02 .. 99 ?

I think that would sort the folders in the right way.

Badge +22

FME will create implicit folder hierarchies. On your 0-99 features create an attribute called kml_parent. Set it's value to the relevant group (0-9, 10-19, etc).

 

 

You can also explicitly create the folder hierarchy by writing to a featuretype called folder, and setting an kml_id on each folder feature. The 0-99 features still need to have the kml_parent attribute set to the appropriate id.

Reply