Skip to main content
Solved

Conversion of a shape to kml file.The issue is to sort by month and not by alphabetic or numeric way

  • July 19, 2013
  • 3 replies
  • 29 views

Forum|alt.badge.img
attribute value of a field in a specific order of my attribute

 

I have an issue as I would like to sort my output kml file in a hierarchical way. I have for the moment sort by country (alphabetic, 1order), by year(numeric,2 order) and I would like to sort now by month but not in an alphabetical way, but from jan, feb, mar...... That means in a monthly order. I have got the value in a field of my shapefile, but I do not know how to display it correctly by month.

 

 

Does anybody know the way to do it ?

 

 

Thanks in advance!

 

Arnaud

Best answer by ebygomm

Use an attributevaluemapper to assign a number to a month

 

so

 

Jan = 1

 

Feb  = 2

 

Mar = 3 etc. and then sort by this new attribute
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.

3 replies

ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • Best Answer
  • July 19, 2013
Use an attributevaluemapper to assign a number to a month

 

so

 

Jan = 1

 

Feb  = 2

 

Mar = 3 etc. and then sort by this new attribute

Forum|alt.badge.img
  • Author
  • July 23, 2013
Hi,

 

Thank you for your answer.

 

I tried to add attributevaluemapper on my long process but it did not work. Maybe I did not add the right parameters or I did not add this attributevaluemapper at the right place. Could you tell me if there some parameters to add?

 

 

Thanks,

 

Arnaud

Forum|alt.badge.img
  • Author
  • July 24, 2013
After many many tries it works. Thanks for your solution!