<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hit10231023</author_name>
  <author_url>https://blog.hatena.ne.jp/hit10231023/</author_url>
  <blog_title>Database JUNKY</blog_title>
  <blog_url>https://hit.hateblo.jp/</blog_url>
  <categories>
    <anon>database</anon>
    <anon>distance</anon>
    <anon>distance_sphere</anon>
    <anon>FUNCTION</anon>
    <anon>GIS</anon>
    <anon>GPS</anon>
    <anon>meter</anon>
    <anon>MySQL</anon>
    <anon>OKI</anon>
    <anon>UDF</anon>
    <anon>メートル</anon>
    <anon>世界測地</anon>
    <anon>距離関数</anon>
  </categories>
  <description>いきなりですが、「MySQLで２点間の緯度・経度から距離算出」が！！前から気になっていたことがありました、 PostgreSQLのPostGISにはあって、MySQLのジオメトリ関数にはない関数、distance_spheroid というもので、回転楕円体で計算で、点間距離を算出する関数なのですが、これが、MySQLには実装されていないため、PostGISを使うか、 MySQLを使うかずっと悩んでいたのですが、MySQLのストアドファンクションを利用して、このdistance_spheroidが実現できないか な？と考えていたところ、ほぼ誤差ゼロで二点間の距離が算出できるようなものができました…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhit.hateblo.jp%2Fentry%2F%253Fp%253D934&quot; title=&quot;MySQL　二点間の距離を正確に出す！～ distance_sphere（） - Database JUNKY&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/h/hit10231023/20180918/20180918155033.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-10-17 15:12:10</published>
  <title>MySQL　二点間の距離を正確に出す！～ distance_sphere（）</title>
  <type>rich</type>
  <url>https://hit.hateblo.jp/entry/%3Fp%3D934</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
