.. _doxcsid-class_p1_1_1_image_sdk_1_1_raw_image_1a19ce8e5bfb815eb3d7e11db341cce2a6:

RawImage.GetGpsData Method
++++++++++++++++++++++++++

Definition
""""""""""

*Namespace:* ``P1.ImageSdk``

Extract the GPS data embedded in the IIQ files XMP meta data section, if any

.. ref-code-block:: csharp
	:class: doxyrest-overview-code-block

    public :ref:`GpsData<doxcsid-class_p1_1_1_image_sdk_1_1_gps_data>` GetGpsData();

This is a convenience method. It is equal to using the :ref:`GetXmpPacket <doxcsid-class_p1_1_1_image_sdk_1_1_raw_image_1aa3db8ca9d6b5157bcb2b49d2850f744f>` method, with parsing of the GPS data tags.



.. rubric:: Returns:

GPS coordinates object, or ``null`` of no GPS data is included in image