<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Oriented Imagery Viewer 'Direction' issue in Oriented Imagery Questions</title>
    <link>https://community.esri.com/t5/oriented-imagery-questions/oriented-imagery-viewer-direction-issue/m-p/1416946#M470</link>
    <description>&lt;P&gt;Hi Jaire,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do what you are asking by writing what is known as an OIType. If you dont want to write code you can export exif data to a text file, and create a frame table to use as import.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this link&amp;nbsp;&lt;A href="https://photo.stackexchange.com/questions/24747/is-there-a-free-piece-of-software-that-will-export-metadata-for-a-folder-full-of" target="_blank"&gt;https://photo.stackexchange.com/questions/24747/is-there-a-free-piece-of-software-that-will-export-metadata-for-a-folder-full-of&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It explains how to do it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also have a look at the user documentation of the GPTool (page 11)&amp;nbsp; with regards to the fields required.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Randall&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2024 11:01:27 GMT</pubDate>
    <dc:creator>RandallRebello</dc:creator>
    <dc:date>2024-04-30T11:01:27Z</dc:date>
    <item>
      <title>Oriented Imagery Viewer 'Direction' issue</title>
      <link>https://community.esri.com/t5/oriented-imagery-questions/oriented-imagery-viewer-direction-issue/m-p/1390600#M437</link>
      <description>&lt;P&gt;Good Afternoon,&lt;/P&gt;&lt;P&gt;I've been doing some testing with the new Oriented Imagery capabilities in AGOL, but I have only managed to upload one test set of data properly. My last couple of attempts have ended up with maps where the OI field-of-view cone points in the opposite direction of the actual view of the photo (pictured below). If this is working as intended, I wonder if some sort of offset can be added to the dataset to better pair the aerial and 360 imagery.&lt;BR /&gt;&lt;BR /&gt;Is there a best practice for adding images to the OIC dataset? I've attempted using a .txt file with the image paths and making a feature layer that follows the OIC table schema. My one successful Oriented Imagery Viewer map was created using the .txt method, but that test was also with a much smaller dataset.&lt;BR /&gt;&lt;BR /&gt;Any information would be a great help and thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 18:16:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/oriented-imagery-questions/oriented-imagery-viewer-direction-issue/m-p/1390600#M437</guid>
      <dc:creator>Jaire_McNichols</dc:creator>
      <dc:date>2024-03-04T18:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Oriented Imagery Viewer 'Direction' issue</title>
      <link>https://community.esri.com/t5/oriented-imagery-questions/oriented-imagery-viewer-direction-issue/m-p/1407340#M461</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/551862"&gt;@Jaire_McNichols&lt;/a&gt;&amp;nbsp;here are 360&lt;SPAN&gt;°&lt;/SPAN&gt; Experience Builder widget options that can easily correct image direction.&amp;nbsp; These&amp;nbsp;&lt;SPAN&gt;360° photo and video solution seamlessly integrates imagery into ArcGIS , offering effortless usability and unmatched workflow customization.&amp;nbsp; The tools&amp;nbsp;facilitate the swift deployment of large-scale 360° imagery projects within hours of collection, with the added advantage of storing video in YouTube or AWS for seamless access via ArcGIS&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nodeology.net/site-viewer-360-for-arcgis/" target="_blank" rel="noopener"&gt;https://www.nodeology.net/site-viewer-360-for-arcgis/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ClarkSelby_0-1712616931042.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/100409iD869082DB8666BF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ClarkSelby_0-1712616931042.jpeg" alt="ClarkSelby_0-1712616931042.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nodeology.net/vidgeo-for-arcgis/" target="_blank" rel="noopener"&gt;https://www.nodeology.net/vidgeo-for-arcgis/&lt;/A&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="electrical.JPG" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/100410iA576DF5F636A9B40/image-size/large?v=v2&amp;amp;px=999" role="button" title="electrical.JPG" alt="electrical.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 22:58:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/oriented-imagery-questions/oriented-imagery-viewer-direction-issue/m-p/1407340#M461</guid>
      <dc:creator>ClarkSelby</dc:creator>
      <dc:date>2024-04-08T22:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Oriented Imagery Viewer 'Direction' issue</title>
      <link>https://community.esri.com/t5/oriented-imagery-questions/oriented-imagery-viewer-direction-issue/m-p/1412268#M465</link>
      <description>&lt;P&gt;Hi Jaire_McNichols,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had a look at the OIV issuetable.jpg that you have put up here. So it looks like there is no heading defined. If you have a look at the properties of the Oriented Imagery dataset layer in ArcGIS Pro, under the oriented imagery tab there will be a Camera Heading default value. It might just be undefined.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you added these images using a text file, then its basically read the EXIF data within the image and used the GPS information&amp;nbsp; from there to get the position. However it seems it does not have a heading info. Do you know the source of these images? What camera was used. Can you send me a couple of image so I can try it out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Randall&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 14:01:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/oriented-imagery-questions/oriented-imagery-viewer-direction-issue/m-p/1412268#M465</guid>
      <dc:creator>RandallRebello</dc:creator>
      <dc:date>2024-04-19T14:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Oriented Imagery Viewer 'Direction' issue</title>
      <link>https://community.esri.com/t5/oriented-imagery-questions/oriented-imagery-viewer-direction-issue/m-p/1412269#M466</link>
      <description>&lt;P&gt;Hi Clark,&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to me that you are working with Oriented Imagery Catalogs. Can you also tell me how you added these images. Is it using a FrameTable, or Image list. It seems like you too do not have any heading info defined. If you are using Oriented Imagery catalogs, You can try the calculate&amp;nbsp; heading tool in the Oriented Imagery Management tools. From the pictures I see above you seem to have sequential data so the tool might actually help. You might have to adjust the parameters so it works with your dataset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Randall&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 14:04:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/oriented-imagery-questions/oriented-imagery-viewer-direction-issue/m-p/1412269#M466</guid>
      <dc:creator>RandallRebello</dc:creator>
      <dc:date>2024-04-19T14:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Oriented Imagery Viewer 'Direction' issue</title>
      <link>https://community.esri.com/t5/oriented-imagery-questions/oriented-imagery-viewer-direction-issue/m-p/1416667#M469</link>
      <description>&lt;P&gt;Thanks for the reply Randall,&lt;/P&gt;&lt;P&gt;The source images contains sensitive information, so I can't share much of it at present. I did read the EXIF data of one of the images using freeware called 'exiftool', and 'Pose Heading Degrees' seems to be the Heading field that I want applied to the 'Camera Heading' field in my OIC. Is there any way that I can get the Oriented Imagery Toolbox to 'detect' this specific metadata field? I would prefer to add images through a text file with a list of image paths, but I worry that this method will not be able to connect the 'Pose Heading Degrees' to 'Camera Heading'&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jaire_McNichols_0-1714413357150.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/102471i18301210CC8E7BB3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jaire_McNichols_0-1714413357150.png" alt="Jaire_McNichols_0-1714413357150.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 18:36:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/oriented-imagery-questions/oriented-imagery-viewer-direction-issue/m-p/1416667#M469</guid>
      <dc:creator>Jaire_McNichols</dc:creator>
      <dc:date>2024-04-29T18:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Oriented Imagery Viewer 'Direction' issue</title>
      <link>https://community.esri.com/t5/oriented-imagery-questions/oriented-imagery-viewer-direction-issue/m-p/1416946#M470</link>
      <description>&lt;P&gt;Hi Jaire,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do what you are asking by writing what is known as an OIType. If you dont want to write code you can export exif data to a text file, and create a frame table to use as import.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this link&amp;nbsp;&lt;A href="https://photo.stackexchange.com/questions/24747/is-there-a-free-piece-of-software-that-will-export-metadata-for-a-folder-full-of" target="_blank"&gt;https://photo.stackexchange.com/questions/24747/is-there-a-free-piece-of-software-that-will-export-metadata-for-a-folder-full-of&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It explains how to do it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also have a look at the user documentation of the GPTool (page 11)&amp;nbsp; with regards to the fields required.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Randall&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 11:01:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/oriented-imagery-questions/oriented-imagery-viewer-direction-issue/m-p/1416946#M470</guid>
      <dc:creator>RandallRebello</dc:creator>
      <dc:date>2024-04-30T11:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Oriented Imagery Viewer 'Direction' issue</title>
      <link>https://community.esri.com/t5/oriented-imagery-questions/oriented-imagery-viewer-direction-issue/m-p/1615646#M563</link>
      <description>&lt;P&gt;Do we know where the calculate heading tool has gone? Since oriented imagery as been added into ArcGIS Pro base install we seem to have lost most of the OI tools. calculate heading was the most useful tool, where it just automatically calculate the heading to the next image in the OIC. I was able to get the heading value for 1000s of images in seconds. the old GP Tools pyton tool box no longer works (See image). I'm at a loose end with this.&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 19:56:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/oriented-imagery-questions/oriented-imagery-viewer-direction-issue/m-p/1615646#M563</guid>
      <dc:creator>SamuelAdamson</dc:creator>
      <dc:date>2025-05-16T19:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Oriented Imagery Viewer 'Direction' issue</title>
      <link>https://community.esri.com/t5/oriented-imagery-questions/oriented-imagery-viewer-direction-issue/m-p/1615729#M566</link>
      <description>&lt;P&gt;import arcpy&lt;BR /&gt;import math&lt;/P&gt;&lt;P&gt;# Set workspace and feature class&lt;BR /&gt;arcpy.env.workspace = r"C:\Users\sdada\Documents\ArcGIS\Projects\Street_view\Street_view.gdb" # replace with FGDB containing OIC #&lt;BR /&gt;feature_class = "Streetview_ExportFeatures" # Replace with actual feature class name #&lt;BR /&gt;heading_field = "CameraHeading" #replace with camera heading field #&lt;/P&gt;&lt;P&gt;# Add Heading field if it doesn't exist&lt;BR /&gt;if heading_field not in [f.name for f in arcpy.ListFields(feature_class)]:&lt;BR /&gt;arcpy.AddField_management(feature_class, heading_field, "DOUBLE")&lt;/P&gt;&lt;P&gt;def calculate_initial_bearing(lat1, lon1, lat2, lon2):&lt;BR /&gt;"""Calculate the bearing between two GPS points."""&lt;BR /&gt;delta_lon = math.radians(lon2 - lon1)&lt;BR /&gt;lat1, lat2 = map(math.radians, [lat1, lat2])&lt;/P&gt;&lt;P&gt;x = math.sin(delta_lon) * math.cos(lat2)&lt;BR /&gt;y = math.cos(lat1) * math.sin(lat2) - math.sin(lat1) * math.cos(lat2) * math.cos(delta_lon)&lt;/P&gt;&lt;P&gt;bearing = math.degrees(math.atan2(x, y))&lt;BR /&gt;return (bearing + 360) % 360 # Normalize to 0-360 degrees&lt;/P&gt;&lt;P&gt;# Read features and compute heading&lt;BR /&gt;gps_data = []&lt;BR /&gt;with arcpy.da.SearchCursor(feature_class, ["OBJECTID", "SHAPE@XY"]) as cursor:&lt;BR /&gt;for row in cursor:&lt;BR /&gt;gps_data.append({"ID": row[0], "Lat": row[1][1], "Lon": row[1][0]})&lt;/P&gt;&lt;P&gt;#check camera heading field exsists#&lt;BR /&gt;fields = [f.name for f in arcpy.ListFields(feature_class)]&lt;BR /&gt;print(fields) # Check if "CameraHeading" exists&lt;/P&gt;&lt;P&gt;#check gps data #&lt;BR /&gt;print(gps_data) # Debugging check before processing&lt;/P&gt;&lt;P&gt;# Update heading field&lt;BR /&gt;updates = {gps_data[i]["ID"]: calculate_initial_bearing(&lt;BR /&gt;gps_data[i]["Lat"], gps_data[i]["Lon"], gps_data[i + 1]["Lat"], gps_data[i + 1]["Lon"]&lt;BR /&gt;) for i in range(len(gps_data) - 1)}&lt;/P&gt;&lt;P&gt;with arcpy.da.UpdateCursor(feature_class, ["OBJECTID", heading_field]) as cursor:&lt;BR /&gt;for row in cursor:&lt;BR /&gt;if row[0] in updates:&lt;BR /&gt;cursor.updateRow([row[0], updates[row[0]]]) # Assign heading&lt;/P&gt;&lt;P&gt;print("Heading calculation complete! Check the updated feature class.")&lt;/P&gt;</description>
      <pubDate>Sat, 17 May 2025 08:06:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/oriented-imagery-questions/oriented-imagery-viewer-direction-issue/m-p/1615729#M566</guid>
      <dc:creator>SamuelAdamson</dc:creator>
      <dc:date>2025-05-17T08:06:27Z</dc:date>
    </item>
  </channel>
</rss>

