Hi all,
I'm using GeoTagger processor (Geotag Format = List) to get a list of geofences hit by a vehicle moving in the city. The numbre of elements returned in the list is variable.
Examples: ListGeofences List
["2345-L", "12376-I", "43761-R"]
["2145-L", "12171-I"]
["1385-L"]
null
I have to check if an element in the list exist before using it in another processor otherwise I receive a error in the log if the element does not exist. Also the process does not continue further.
Example for the list ["1385-L"]
ListGeofences[0] = "1385-L";
ListGeofences[1] = null (Get an error)
I know how to do it using Delimited Value format in the GeoTagger. But this not allows me to get elements separately in the returned String.
Is there a way to get the number of elements returned in the list?
Thanks for your help.
Zakaria