<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>JpegのExifから緯度経度を取得する へのコメント</title>
	<atom:link href="http://firegoby.theta.ne.jp/archives/23/feed" rel="self" type="application/rss+xml" />
	<link>http://firegoby.theta.ne.jp/archives/23</link>
	<description>PHPやJavaScriptなどの覚え書き、たまに愚痴、反省など。</description>
	<lastBuildDate>Wed, 28 Jul 2010 02:32:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>miya より</title>
		<link>http://firegoby.theta.ne.jp/archives/23/comment-page-1#comment-459</link>
		<dc:creator>miya</dc:creator>
		<pubDate>Thu, 21 Jan 2010 07:39:29 +0000</pubDate>
		<guid isPermaLink="false">http://firegoby.webma.jp/archives/23#comment-459</guid>
		<description>&lt;a href=&quot;#comment-457&quot; rel=&quot;nofollow&quot;&gt;@postoro &lt;/a&gt; 
ご指摘有難うございました。
そのとおりですね。

こちらでも、位置がずれることを確認しましたので、今晩あたり直しておきます。</description>
		<content:encoded><![CDATA[<p><a href="#comment-457" rel="nofollow">@postoro </a><br />
ご指摘有難うございました。<br />
そのとおりですね。</p>
<p>こちらでも、位置がずれることを確認しましたので、今晩あたり直しておきます。</p>
]]></content:encoded>
	</item>
	<item>
		<title>postoro より</title>
		<link>http://firegoby.theta.ne.jp/archives/23/comment-page-1#comment-457</link>
		<dc:creator>postoro</dc:creator>
		<pubDate>Thu, 21 Jan 2010 00:59:35 +0000</pubDate>
		<guid isPermaLink="false">http://firegoby.webma.jp/archives/23#comment-457</guid>
		<description>こんにちは。
大変参考になりました。ありがとうございます。

一つだけ補足ですが、Exifの緯度経度は&quot;39/1&quot;のような分数（？）ですが、この分母は固定ではないようです。
なので、$exif[&#039;GPSLatitude&#039;][2]や$exif[&#039;GPSLongitude&#039;][2]を360000（60×60×100）で割っていますが、分母が100でない場合に結果が違ってしまいます。
分子と分母に分けて、計算してあげる必要があるようです。

$exif[&#039;GPSLatitude&#039;][0]や$exif[&#039;GPSLatitude&#039;][1]については、自分の手元にある写真は全て分母が1ですが、同様に分子と分母に分けて計算してあげた方が無難なのかもしれません。

以上、ご参考まで。</description>
		<content:encoded><![CDATA[<p>こんにちは。<br />
大変参考になりました。ありがとうございます。</p>
<p>一つだけ補足ですが、Exifの緯度経度は&#8221;39/1&#8243;のような分数（？）ですが、この分母は固定ではないようです。<br />
なので、$exif['GPSLatitude'][2]や$exif['GPSLongitude'][2]を360000（60×60×100）で割っていますが、分母が100でない場合に結果が違ってしまいます。<br />
分子と分母に分けて、計算してあげる必要があるようです。</p>
<p>$exif['GPSLatitude'][0]や$exif['GPSLatitude'][1]については、自分の手元にある写真は全て分母が1ですが、同様に分子と分母に分けて計算してあげた方が無難なのかもしれません。</p>
<p>以上、ご参考まで。</p>
]]></content:encoded>
	</item>
</channel>
</rss>
