Hi,
We have jpg files with gps latitude longitud information like this:
- Lattitude: 52; 4; 54.0000000000000213
- Lontigude: 4; 19; 15.600000000000307
This becomes to this metadata when igested by IDOL:
<PART_FILE_META_GPS_LATITUDE>52° 4' 0.00"</PART_FILE_META_GPS_LATITUDE>
<PART_FILE_META_GPS_LATITUDE_REF>n</PART_FILE_META_GPS_LATITUDE_REF>
<PART_FILE_META_GPS_LONGITUDE>4° 19' 0.00"</PART_FILE_META_GPS_LONGITUDE>
<PART_FILE_META_GPS_LONGITUDE_REF>e</PART_FILE_META_GPS_LONGITUDE_REF>
We want to use this metadata for location the document in the Map Visualization Tab in Find. The location fields configuration is done in config.map latitudeField and longitudField in locationFields in "map" section, but Find expects number in those fields. Is there anyway to convert the format of the metadata fields to numbers so Find can use them in the Map tab? I guess a lua script must be used in NiFi to achieve this. Does anyone has a lua script already developed for this?
Thanks a lot,
Regards,
Christian