{"version":"1.0","url":"https://sakaik.hateblo.jp/entry/20260222/STX_Azimuth_func","published":"2026-02-22 09:27:07","author_name":"sakaik","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsakaik.hateblo.jp%2Fentry%2F20260222%2FSTX_Azimuth_func\" title=\" MySQL GIS\u62e1\u5f35\u95a2\u6570\uff1a STX_Azimuth() - sakaik\u306e\u65e5\u3005\u96d1\u611f\uff5e(T)\u7de8\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"sakaik\u306e\u65e5\u3005\u96d1\u611f\uff5e(T)\u7de8","type":"rich","author_url":"https://blog.hatena.ne.jp/sakaik/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/s/sakaik/20260222/20260222081750.png","description":"MySQL \u306bSpatial(GIS)\u95a2\u6570\u3092\u5927\u91cf\u306b\u8ffd\u52a0\u3059\u308b\uff08\u3072\u3068\u308a\uff09\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3001MySQL Spatial Functions Plugin\u3002\u5b9f\u88c5\u3057\u305f\u95a2\u6570\u3092\u3001\u3072\u3068\u3064\u3072\u3068\u3064\u52d5\u4f5c\u78ba\u8a8d\u3057\u306a\u304c\u3089\u7d39\u4ecb\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u4eca\u56de\u306f\u65b9\u4f4d\u89d2\u3002 STX_Azimuth(p1, p2) \u70b91\u304b\u3089\u70b92\u3078\u306e\u65b9\u4f4d\u89d2\u3092\u30e9\u30b8\u30a2\u30f3\u3067\u8fd4\u3057\u307e\u3059\u3002\u65b9\u4f4d\u89d2\u306f\u3001\u4e0a(\u307e\u305f\u306f\u5317)\u3092 0 \u3068\u3057\u3001\u53f3\u56de\u308a\u306b\u6570\u3048\u307e\u3059\u3002 \u30e9\u30b8\u30a2\u30f3\u306a\u306e\u3067\u3001\u771f\u53f3\u304c Pi/2(=90\u5ea6)\u3001\u771f\u4e0b\u304cPi(=180\u5ea6)\u3001\u771f\u5de6\u304c 3* Pi/2 (=270\u5ea6) \u3067\u3059\u30022\u3064\u306e\u70b9\u304c\u540c\u3058\u6642\u306f 0 \u3092\u8fd4\u3057\u307e\u3059\uff08PostGIS\u3067\u306fnull\u3068\u306a\u308b\u305d\u3046\u3067\u3059\u304c\uff09\u3002 \u52d5\u4f5c\u7d39\u4ecb \u539f\u70b9\u3068\u3001\u305d\u3053\u304b\u3089\u53f3\u306b\u3072\u3068\u2026","categories":["mysql","gis","spatial","newfunc"],"blog_url":"https://sakaik.hateblo.jp/","title":" MySQL GIS\u62e1\u5f35\u95a2\u6570\uff1a STX_Azimuth()","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","height":"190"}