{"blog_url":"https://sakaik.hateblo.jp/","published":"2026-03-22 19:28:21","description":"\u81ea\u4f5c\u306e\u3001Spatial(GIS)\u95a2\u9023\u306e\u95a2\u6570\u3092MySQL\u306b\u8ffd\u52a0\u3059\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u95a2\u6570\u3092\u3072\u3068\u3064\u3072\u3068\u3064\u52d5\u4f5c\u78ba\u8a8d\u3057\u306a\u304c\u3089\u7d39\u4ecb\u3059\u308b\u30b7\u30ea\u30fc\u30ba\u3002 https://sakaik.hateblo.jp/entry/20260215/mysql_spatial_functions_plugin STX_GeneratePoints(geom, n [, seed]) \u4e0e\u3048\u3089\u308c\u305fPOLYGON\u5185\u306b\u3001\u4e0e\u3048\u3089\u308c\u305f\u500b\u6570\uff08\uff4e\u500b\uff09\u306ePOINT\u3092\u751f\u6210\u3057\u3001MULTIPOINT\u578b\u3068\u3057\u3066\u8fd4\u3059\u3002 \u52d5\u4f5c\u7d39\u4ecb mysql> SET @g=ST_GeomFromText('POLYGON((1 1, 5 1, 5 5, 1 5, 1 1))'\u2026","author_url":"https://blog.hatena.ne.jp/sakaik/","categories":["mysql","gis","spatial","newfunc"],"provider_name":"Hatena Blog","height":"190","url":"https://sakaik.hateblo.jp/entry/20260322/STX_GeneratePoints_func","version":"1.0","type":"rich","width":"100%","blog_title":"sakaik\u306e\u65e5\u3005\u96d1\u611f\uff5e(T)\u7de8","title":" MySQL GIS\u62e1\u5f35\u95a2\u6570\uff1a STX_GeneratePoints()","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsakaik.hateblo.jp%2Fentry%2F20260322%2FSTX_GeneratePoints_func\" title=\" MySQL GIS\u62e1\u5f35\u95a2\u6570\uff1a STX_GeneratePoints() - 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>","provider_url":"https://hatena.blog","author_name":"sakaik","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/s/sakaik/20260322/20260322191936.png"}