Skip to main content
Question

Sort folders in KMZ

  • April 1, 2016
  • 2 replies
  • 16 views

Forum|alt.badge.img

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

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.

2 replies

erik_jan
Contributor
Forum|alt.badge.img+26
  • Contributor
  • April 1, 2016

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

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


jdh
Contributor
Forum|alt.badge.img+40
  • Contributor
  • April 1, 2016

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.