Just wanted to know if it is possible to collect the direction of taken photo in Collector ? Obviously, I would like to know which direction i'm facing (North, east south, west) when taking the photo. If not what is the workaround for this ?
It's not currently integrated but it is posted as an idea for future releases: http://ideas.arcgis.com/ideaView?id=087E00000005AhRIAU
I don't think collector has these capabilities, a workaround would to be create a field for it.
So here is one additional thoughts. If your camera has GPS and orientation sensors, this info is written to the image EXIF data (or can be configured to do so..). There is an EXIF tag for the compass direction (0-359.9 deg) of the image:
So the direction would already be stored as metadata in the image files, and question would be how to extract it and repopulate your data with it...
There are a couple of Python libraries for reading EXIF data from images: (e.g. https://pypi.python.org/pypi/ExifRead )
so I can envision a Python script that would process the images once they have been collected and create a table that can be used to populate a Photo direction attribute field in bulk.
I don't think ArcGIS Online supports table joins, so you would probably have to do this last step in ArcGIS Dekstop by downloading your dataset, joining table with the direction records and then uploading again to AGOL...