title: PHP extract GPS EXIF data
body: <p>I would like to extract the GPS EXIF tag from pictures using php.
  I'm using the <code>exif_read_data()</code> that returns a array of all tags + data :</p>
  
  <pre><code>GPS.GPSLatitudeRef: N
  GPS.GPSLatitude:Array ( [0] =&gt; 46/1 [1] =&gt; 5403/100 [2] =&gt; 0/1 ) 
  GPS.GPSLongitudeRef: E
  GPS.GPSLongitude:Array ( [0] =&gt; 7/1 [1] =&gt; 880/100 [2] =&gt; 0/1 ) 
  GPS.GPSAltitudeRef: 
  GPS.GPSAltitude: 634/1
  </code></pre>
  
  <p>I don't know how to interpret 46/1 5403/100 and 0/1 ? 46 might be 46° but what about the rest especially 0/1 ?</p>
  
  <pre><code>angle/1 5403/100 0/1
  </code></pre>
  
  <p>What is this structure about ? </p>
  
  <p>How to convert them to "standard" ones (like 46°56′48″N 7°26′39″E from wikipedia) ? I would like to pass thoses coordinates to the google maps api to display the pictures positions on a map !</p>