Hi!
I am following the tutorial Creating an oriented imagery and when I am at the step to add the images list from the amazon bucket to the OIC. I am getting the error"Could not extract coordinate info to add image" for all the images on the list.
I am using ArcGIS Pro 2.8.0, and downloaded the latest version of the plug ins.
Thank you!
Hi,
You get this error when the image you are trying to add does not contain any GPS info in it it. Download one of the images on to your computer and in explorer, right click on it and open up properties. Click on the Details tab. You should should see in the list of details a section called GPS. If you do not have that info in the image then it cannot be read into Oriented Imagery.
However if you have external metadata with this info you can create a FrameTable (csv) file and add your images using that. You can get more info in the OI GPTools user documentation.
If you still have any doubts then send me a sample of the image and I will have a look.
Randall
Thank you for that information! I was just using the default data provided by the tutorial, which is a text file with a list of links such as:
http://orientedimagerysamples.s3.amazonaws.com/EsriCampus180701/109/IMG_7706_4983491.JPG
It does appear that the images have GPS data associated. There is also another error that might be the issue which says "Unable to read VersionJSON". I might try to find another sample of oriented images to test as well.
Hi
In c:\Image_Mgmt_Workflows\OrientedImagery\ there will be a folder called logs. Can you check the AddDataLogs file and send me one of them
Can you also tell me that you have access to the image URL you sent above. Does it open in a browser?
Please see log attached. I am also able to see the pictures and see the downloaded image attached.
I am also experiencing the same error. I am using ArcGIS Pro 2.9.2 and imagery from a Mosaic 51 camera hosted in AWS S3. I checked the properties of it and also used the Exiftool; both indicate it has GPS metadata. I verified that my imagery is publicly available by opening it in an incognito tab. I can provide links to it if necessary. I even re-installed both the add-in and the tools and am still getting the same error. I attached a log of mine. Please help 🙂
Can you tell me when exactly you get this error message "Unable to read VersionJSON".
Depending on the GPTool you run which shows this error, there will be a log file created in the logs folder which may contaain more info. if you can send me the log file with this message would be great.
Secondly.. look for this file.. c:\Image_Mgmt_Workflows\OrientedImagery\Scripts\CheckForUpdate.json and then move it from that location to some temp location and try running the tool again. It could be that your organizations firewall could be blocking the link that is mentioned in that file.
Same goes with the http links in the sample file.
The JSON error stopped showing up (maybe after an update) but the error "Could not extract coordinate info to add image" is still there, unfortunately.
Have you found a solution? I also have Mosaic 51 images with GPS data but I'm not able to import them to oriented imagery... Here is a sample photo
Hi Basile,
Thank you for the sample. I was able to figure out what is missing and the reason you are facing this issue.
There are two more fields required in the Exif Metadata. These are
EXIF_GPSLatitudeRefEXIF_GPSLongitudeRef
This is a sample of what is needed.
EXIF_GPSLatitude=(44) (55) (24.34)EXIF_GPSLatitudeRef=NEXIF_GPSLongitude=(123) (1) (9.88)EXIF_GPSLongitudeRef=W
This info is required to convert lat long values to degrees for some internal calculations.
Hope this helps you out.
THANKS A LOT!
I'm finding the same issue with the tutorial data. I see "Could not extract coordinate info to add image" for evey image hosted at http://orientedimagerysamples.s3.amazonaws.com/EsriCampus180701/109/.
Has anyone identified a fix?I'm using ArcGIS 3.1.1 and following the tutorial to the letter.
There issue can be fixed by replacing http in the path with https.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.