1
General / Metashape Height Conversion Problem
« on: July 07, 2023, 08:42:36 AM »
Metashape Version 2.0.2 build 16404 (64 bit)
Camera System Hasselblad A6D
AOI Flown at 6500ft ASL
Exif in image under heading GPS looks like this;
Lattitude 33; 42; 54.014...
Longitude 115; 59; 22.5914...
Altitude 2080
I am experiencing the following behaviour for photos imported into Metashape under Model > Add Photos;
Longitude 115.98 ...
Latitude -33.71 ...
Altitude (m) 113.92
I am confused as to how the altitude has been changed from 2080 to 113.92
In the previous post I was asked to provide the output from the following command
Output;
I think this is what is creating the calculation for 113.92 (see below)
When I use exiftools to extract exif for image 1 the column named GPSAltitude states the following;
GPSAltitude GPSDateTime GPSLatitude GPSLongitude
2080 2023:01:23 02:31:27Z -33.71500394 115.9896088
Regards
Bn
This is a resurection of a previous post;
https://www.agisoft.com/forum/index.php?topic=12652.msg56159#msg56159
Camera System Hasselblad A6D
AOI Flown at 6500ft ASL
Exif in image under heading GPS looks like this;
Lattitude 33; 42; 54.014...
Longitude 115; 59; 22.5914...
Altitude 2080
I am experiencing the following behaviour for photos imported into Metashape under Model > Add Photos;
Longitude 115.98 ...
Latitude -33.71 ...
Altitude (m) 113.92
I am confused as to how the altitude has been changed from 2080 to 113.92
In the previous post I was asked to provide the output from the following command
Code: [Select]
Metashape.app.document.chunk.cameras[0].photo.imageMeta()
Output;
Code: [Select]
Metashape.app.document.chunk.cameras[0].photo.imageMeta()
Out[1]: 2023-07-07 10:51:39
2023-07-07 10:51:39 {'Exif/ApertureValue': '2048/441', 'Exif/DateTimeDigitized': '2022-05-18T06:17:05', 'Exif/DateTimeOriginal': '2022-05-18T06:17:05', 'Exif/ExifVersion': '0210', 'Exif/ExposureProgram': '1', 'Exif/ExposureTime': '1/4000', 'Exif/FNumber': '5/1', 'Exif/Flash': '0', 'Exif/FocalLength': '80/1', 'Exif/FocalLengthIn35mmFilm': '51', 'Exif/FocalPlaneResolutionUnit': '3', 'Exif/FocalPlaneXResolution': '217391304/100000', 'Exif/FocalPlaneYResolution': '217391304/100000', 'Exif/GPSAltitude': '11392/100', 'Exif/GPSDate': '2023:01:23', 'Exif/GPSLatitude': '33,42.9002S', 'Exif/GPSLongitude': '115,59.3765E', 'Exif/GPSTime': '02:31:27', 'Exif/GPSTimeStamp': '2:31:27.00', 'Exif/GPSVersionID': '2.2.0.0', 'Exif/ISOSpeedRatings': '400', 'Exif/Make': 'Hasselblad', 'Exif/MaxApertureValue': '316992500/100000000', 'Exif/Model': 'Hasselblad A6D-100c', 'Exif/ShutterSpeedValue': '16384/1369', 'Exif/SubjectDistance': '-1/0', 'Exif/XMLPacket': '<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
2023-07-07 10:51:39 <x:xmpmeta xmlns:x="adobe:ns:meta/"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b" xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"><photoshop:DateCreated>2022-05-18T06:17:05</photoshop:DateCreated></rdf:Description><rdf:Description rdf:about="uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b" xmlns:exif="http://ns.adobe.com/exif/1.0/"><exif:ExifVersion>0210</exif:ExifVersion><exif:DateTimeOriginal>2022-05-18T06:17:05</exif:DateTimeOriginal><exif:DateTimeDigitized>2022-05-18T06:17:05</exif:DateTimeDigitized><exif:ISOSpeedRatings><rdf:Bag xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:li>400</rdf:li></rdf:Bag>
2023-07-07 10:51:39 </exif:ISOSpeedRatings><exif:ExposureTime>1/4000</exif:ExposureTime><exif:ShutterSpeedValue>16384/1369</exif:ShutterSpeedValue><exif:FNumber>5/1</exif:FNumber><exif:ApertureValue>2048/441</exif:ApertureValue><exif:FocalLength>80/1</exif:FocalLength><exif:FocalLengthIn35mmFilm>51</exif:FocalLengthIn35mmFilm><exif:ExposureProgram>1</exif:ExposureProgram><exif:Flash>0</exif:Flash><exif:SubjectDistance>-1/0</exif:SubjectDistance><exif:MaxApertureValue>316992500/100000000</exif:MaxApertureValue><exif:FocalPlaneXResolution>217391304/100000</exif:FocalPlaneXResolution><exif:FocalPlaneYResolution>217391304/100000</exif:FocalPlaneYResolution><exif:FocalPlaneResolutionUnit>3</exif:FocalPlaneResolutionUnit><exif:GPSVersionID>2.2.0.0</exif:GPSVersionID><exif:GPSLatitude>33,42.9002S</exif:GPSLatitude><exif:GPSLongitude>115,59.3765E</exif:GPSLongitude><exif:GPSAltitude>11392/100</exif:GPSAltitude><exif:GPSTimeStamp>2:31:27.00</exif:GPSTimeStamp></rdf:Description><rdf:Description rdf:about="uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b" xmlns:aux="http://ns.adobe.com/exif/1.0/aux/"><aux:Lens>HC 80</aux:Lens><aux:SerialNumber>AR37000030</aux:SerialNumber></rdf:Description><rdf:Description rdf:about="uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b" xmlns:tiff="http://ns.adobe.com/tiff/1.0/"><tiff:Make>Hasselblad</tiff:Make><tiff:Model>Hasselblad A6D-100c</tiff:Model></rdf:Description></rdf:RDF></x:xmpmeta>
2023-07-07 10:51:39 <?xpacket end='w'?>', 'File/ImageHeight': '8700', 'File/ImageWidth': '11600'}
I think this is what is creating the calculation for 113.92 (see below)
Code: [Select]
<exif:GPSAltitude>11392/100</exif:GPSAltitude>
When I use exiftools to extract exif for image 1 the column named GPSAltitude states the following;
GPSAltitude GPSDateTime GPSLatitude GPSLongitude
2080 2023:01:23 02:31:27Z -33.71500394 115.9896088
Regards
Bn
This is a resurection of a previous post;
https://www.agisoft.com/forum/index.php?topic=12652.msg56159#msg56159