Main Menu

Google's Photosphere

Started by G8DHE, November 17, 2012, 03:08:53 PM

Previous topic - Next topic

G8DHE

Does anybody know of any sources of additional information about Googles new Photosphere XMP namespace extension GPano ?
The info I have gathered to date is listed below, gleaned from data in existing images, but I've not been able to identify any formal information.
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 5.1.2">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:GPano="http://ns.google.com/photos/1.0/panorama/"
GPano:UsePanoramaViewer="True"
GPano:ProjectionType="equirectangular"
GPano:PoseHeadingDegrees="112.0"
GPano:CroppedAreaLeftPixels="0"
GPano:FullPanoWidthPixels="4756"
GPano:FirstPhotoDate="2012-10-13T20:43:21.097Z"
GPano:CroppedAreaImageHeightPixels="1559"
GPano:FullPanoHeightPixels="2378"
GPano:SourcePhotosCount="34"
GPano:CroppedAreaImageWidthPixels="4756"
GPano:LastPhotoDate="2012-10-13T20:44:00.15Z"
GPano:CroppedAreaTopPixels="372"
GPano:LargestValidInteriorRectLeft="0"
GPano:LargestValidInteriorRectTop="0"
GPano:LargestValidInteriorRectWidth="4756"
GPano:LargestValidInteriorRectHeight="1559"/>
</rdf:RDF>
</x:xmpmeta>   
<?xpacket end="w"?>


I'm hoping to be able to include fields either in the exiftool _config file, or maybe get included as an XMP namespace in Exiftool itself, Phil ?

Always strikes me as a shame that the namespace URI can't actually be used as a URL for DTD itself.
Geoff - G8DHE
http://www.sphericalvisions.com/

Phil Harvey

#1
Hi Geoff,

Thanks!  This is the first I've seen of this namespace.  I'll add what you have given me so far (it will appear in ExifTool 9.07).  Please let me know if you find out anything else.

There is no reason that they couldn't use a URL for the URI, but unfortunately this doesn't seem to be the practice.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

G8DHE

Brilliant Phil!  I'll keep you updated with any extra info I come across, I suspect there might be several other Tags possible, including differing ProjectionType values, "cylindrical" comes to mind but not seen or tried yet!
Geoff - G8DHE
http://www.sphericalvisions.com/

Phil Harvey

Thanks.  Don't worry about different ProjectionType values -- I'll just leave this as a simple string so you can write anything here.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

G8DHE

Phil, Goggle have now published the data see here https://developers.google.com/panorama/metadata/
there appears to be a few more fields that will need to be added!
Geoff - G8DHE
http://www.sphericalvisions.com/

Phil Harvey

Fantastic, thanks!  Gotta love it when someone actually provides documentation! :)

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Phil Harvey

Hmmm.  The specification doesn't mention 4 tags that ExifTool already defines:

LargestValidInteriorRectLeft
LargestValidInteriorRectTop
LargestValidInteriorRectWidth
LargestValidInteriorRectHeight

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

G8DHE

Yup just been looking more closely myself, but the 4 fields were added by Googles own camera software! Duh......
Geoff - G8DHE
http://www.sphericalvisions.com/

G8DHE

Hopefully its just a work in progress ... maybe....
Geoff - G8DHE
http://www.sphericalvisions.com/

hvdwolf

New Information about the Google PhotoSphere specifications has been released:
https://developers.google.com/panorama/metadata/

It doesn't work yet in exiftool 9.08 ;)
See my jExifToolGUI cross-platform java application (Website, Releases, Changelog) for Phil's marvelous exiftool.

hvdwolf

Quote from: hvdwolf on December 07, 2012, 03:48:45 PM
New Information about the Google PhotoSphere specifications has been released:
https://developers.google.com/panorama/metadata/

It doesn't work yet in exiftool 9.08 ;)
But it does in 9.09.

You are the greatest !
See my jExifToolGUI cross-platform java application (Website, Releases, Changelog) for Phil's marvelous exiftool.

Phil Harvey

...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).