symbolize by date

1041
1
10-04-2016 04:17 PM
ErichList
New Contributor III

I have a layer that is published as a service and is being edited using Collector.  I'd like to symbolize the layer by a date field, using two symbols, before 12/31/15 and after 12/31/2015. when the date field is updated in collector, the symbol should cnaged based on the symbol rules.  I don't see a way to use < or > in the symbology properties. 

0 Kudos
1 Reply
DanPatterson_Retired
MVP Emeritus

do you have any capacity in collector to calculate a field that contains whether the date is before or after your threshold?  If so that would be the easiest, however, ISO date strings would be easier to sort without problems since they begin with the year ...  for example

>>> a = ['12/10/2015', '12/09/2015', '12/10/2014']
>>> a.sort()
>>> a
['12/09/2015', '12/10/2014', '12/10/2015']
>>> b = ['2015/12/10', '2015/12/09', '2014/12/10']
>>> b.sort()
>>> b
['2014/12/10', '2015/12/09', '2015/12/10']