{"id":8898,"date":"2023-05-22T11:33:42","date_gmt":"2023-05-22T03:33:42","guid":{"rendered":"https:\/\/www.orczhou.com\/?p=8898"},"modified":"2023-05-24T11:34:59","modified_gmt":"2023-05-24T03:34:59","slug":"spatial-in-mysql","status":"publish","type":"post","link":"https:\/\/www.orczhou.com\/index.php\/2023\/05\/spatial-in-mysql\/","title":{"rendered":"\u4e0d\u65ad\u589e\u5f3a\u7684MySQL\u7a7a\u95f4\u4fe1\u606f\u5904\u7406\u80fd\u529b"},"content":{"rendered":"\n<p>\u5728\u8fc7\u53bb\u4e8c\u5341\u5e74\u4e2d\uff0c\u79fb\u52a8\u4e92\u8054\u7f51\u98de\u901f\u53d1\u5c55\uff0c\u50ac\u751f\u4e86\u5927\u91cfLBS\u76f8\u5173\u5e94\u7528\uff0c\u8fd9\u4e5f\u8ba9\u7a7a\u95f4\u4fe1\u606f\u5904\u7406\u6210\u4e3a\u8f83\u4e3a\u57fa\u7840\u7684\u8bc9\u6c42\u3002PostgreSQL\u56e0\u4e3a\u5176\u8d77\u6e90\u5c31\u4e0e\u7a7a\u95f4\u4fe1\u606f\u5904\u7406\u5173\u7cfb\u5f88\u5927\uff0c\u6240\u4ee5\u5728\u8be5\u9886\u57df\u4e00\u76f4\u6709\u7740\u975e\u5e38\u5927\u7684\u4f18\u52bf\u3002MongoDB\u4e5f\u5728\u5f88\u65e9\u5c31\u5bf9\u7a7a\u95f4\u4fe1\u606f\u5904\u7406\u505a\u4e86\u5f88\u5f3a\u7684\u652f\u6301\uff0c\u8fd9\u4e5f\u5e2e\u52a9MongoDB\u5728\u53d1\u5c55\u8fc7\u7a0b\u4e2d\u62ff\u4e0b\u6765\u90e8\u5206\u5e02\u573a\u3002MariaDB\u4e5f\u5728\u53bb\u5e748\u6708\uff08<a href=\"https:\/\/www.orczhou.com\/index.php\/2022\/09\/what-is-the-database-new-2022-09-02\/\">\u53c2\u8003<\/a>\uff09\u6536\u8d2d\u4e86\u5382\u5546\u201cCubeWerx\u201d\u4ee5\u589e\u5f3a\u5176\u5728\u5730\u7406\u4fe1\u606f\u7684\u5b58\u50a8\u4e0e\u5206\u6790\u4e0a\u7684\u80fd\u529b\u3002<\/p>\n\n\n\n<p>\u5728\u8fc7\u53bb\u7684\u5341\u5e74\uff0cMySQL\u4e5f\u5728\u4e0d\u65ad\u7684\u589e\u5f3a\u7a7a\u95f4\u4fe1\u606f\u7684\u5904\u7406\u80fd\u529b\uff0c\u672c\u6587\u6982\u8ff0\u4e86\uff0c\u5f53\u524dMySQL\u5728\u8fd9\u4e00\u5757\u7684\u80fd\u529b\u73b0\u72b6\u3002<\/p>\n\n\n\n<p>\u5f53\u524d\uff0c\u6570\u636e\u5e93\u8bbf\u95ee\u4e0e\u5904\u7406GIS\u76f8\u5173\u7684\u4fe1\u606f\u4e3b\u8981\u53c2\u8003\u7684\u662f\uff1aOGC Standards\u4e2d\u7684\u201cSimple Feature Access \u2013 Part 2: SQL Option\u201d\uff08<a rel=\"noreferrer noopener\" href=\"https:\/\/www.ogc.org\/standard\/sfs\/\" target=\"_blank\">\u94fe\u63a5<\/a>\uff09\u3002\u5f53\u524d\uff0cMySQL\u652f\u6301\u7684\u7a7a\u95f4\u7c7b\u578b\u4e3b\u8981\u5305\u62ec\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u70b9\u3001\u6298\u7ebf\u3001\u591a\u8fb9\u5f62\u3001\u7a7a\u95f4\uff08\u53ef\u4ee5\u5b58\u50a8\u524d\u9762\u4e09\u79cd\u7c7b\u578b\u4e2d\u7684\u4efb\u4f55\u4e00\u79cd\uff09<\/li>\n\n\n\n<li>\u591a\u70b9\u3001\u591a\u6298\u7ebf\u3001\u591a\u591a\u8fb9\u5f62\u3001\u591a\u7a7a\u95f4\uff08\u53ef\u4ee5\u5b58\u50a8\u591a\u4e2a\u4efb\u4f55\u7c7b\u578b\uff09<\/li>\n<\/ul>\n\n\n\n<p>\u4f7f\u7528MySQL\u7a7a\u95f4\u7c7b\u578b\uff0c\u5219\u6700\u597d\u4f7f\u7528InnoDB\u6216NDB\u5f15\u64ce\uff08\u5176\u4ed6\u8fd8\u652f\u6301\u7a7a\u95f4\u7c7b\u578b\u7684\u5f15\u64ce\u6709MyISAM\u3001ARCHIVE\uff09\uff0c\u5176\u4e2dInnoDB\u652f\u6301\u8f83\u4e3a\u5b8c\u6574\uff0c\u5bf9\u7a7a\u95f4\u7d22\u5f15\u4e5f\u6709\u6bd4\u8f83\u597d\u7684\u652f\u6301\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u8981\u652f\u6301\u5730\u7406\u4fe1\u606f\uff0c\u5219\u53ef\u4ee5\u4f7f\u7528\u201cWGS 84\u7cfb\u7edf\u201d\u6807\u51c6\u7684\u5750\u6807\u7cfb\u7edf\uff0c\u6b63\u5f0f\u540d\u79f0\u662f\uff1a\u4e16\u754c\u5927\u5730\u6d4b\u91cf\u7cfb\u7edf(World Geodetic System, WGS)\uff0c\u5bf9\u5e94\u7684SRID\u4e3a4326\u3002WGS\u662f\u5f53\u524d\u88ab\u5e7f\u6cdb\u4f7f\u7528\u7684\u5730\u7403\u7a7a\u95f4\u5750\u6807\u7cfb\u7edf\uff0c\u4f8b\u5982GPS\u5c31\u662f\u4f7f\u7528\u8be5\u5750\u6807\u7cfb\u7edf\u3002\u8be5\u5750\u6807\u7cfb\u7edf\uff0c\u5efa\u7acb\u4ee5\u5730\u7403\u7684\u8d28\u5fc3\u4e3a\u4e2d\u5fc3\u7684\u4e00\u5957\u5750\u6807\u7cfb\u7edf\uff0c\u91cc\u9762\u5305\u62ec\u5730\u7403\u7684\u4e00\u4e9b\u57fa\u7840\u6570\u636e\u7b49\u3002<\/p>\n\n\n\n<p>\u5728MySQL\u53ef\u4ee5\u901a\u8fc7\u5982\u4e0bQuery\u53ef\u4ee5\u67e5\u770bMySQL\u4e2d\u7684WGS 84\u7cfb\u7edf\u7684\u4e00\u4e9b\u57fa\u672c\u4fe1\u606f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"sql\" class=\"language-sql\">SELECT *\n       FROM INFORMATION_SCHEMA.ST_SPATIAL_REFERENCE_SYSTEMS\n       WHERE SRS_ID = 4326\\G\n*************************** 1. row ***************************\n                SRS_NAME: WGS 84\n                  SRS_ID: 4326\n            ORGANIZATION: EPSG\nORGANIZATION_COORDSYS_ID: 4326\n              DEFINITION: GEOGCS[\"WGS 84\",DATUM[\"World Geodetic System 1984\",\n                          SPHEROID[\"WGS 84\",6378137,298.257223563,\n                          AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],\n                          PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],\n                          UNIT[\"degree\",0.017453292519943278,\n                          AUTHORITY[\"EPSG\",\"9122\"]],\n                          AXIS[\"Lat\",NORTH],AXIS[\"Long\",EAST],\n                          AUTHORITY[\"EPSG\",\"4326\"]]\n             DESCRIPTION:<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u57fa\u7840\u5bf9\u8c61\u548c\u5bf9\u5e94\u7684WKT\u8868\u8fbe<\/h3>\n\n\n\n<p>MySQL\u6216\u8005\u8bf4SQL\u6807\u51c6\u4e2d\u652f\u6301\u7684\u5bf9\u8c61\u5305\u62ec\u5982\u4e0b\uff0c\uff1aPoint\u3001Linestring\u3001Polygon\u3001Multi Point\u3001Multi Linestring\u3001Multi Polygon\u3001Geometry Collection\u3002<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"924\" height=\"1024\" data-id=\"8900\" src=\"https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/05\/image-8-924x1024.png\" alt=\"\" class=\"wp-image-8900\" srcset=\"https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/05\/image-8-924x1024.png 924w, https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/05\/image-8-271x300.png 271w, https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/05\/image-8-768x851.png 768w, https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/05\/image-8.png 1155w\" sizes=\"auto, (max-width: 924px) 100vw, 924px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"933\" height=\"1024\" data-id=\"8901\" src=\"https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/05\/image-9-933x1024.png\" alt=\"\" class=\"wp-image-8901\" srcset=\"https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/05\/image-9-933x1024.png 933w, https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/05\/image-9-273x300.png 273w, https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/05\/image-9-768x843.png 768w, https:\/\/www.orczhou.com\/wp-content\/uploads\/2023\/05\/image-9.png 1166w\" sizes=\"auto, (max-width: 933px) 100vw, 933px\" \/><\/figure>\n<\/figure>\n\n\n\n<p>\u5177\u4f53\u7684\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Point\u3001LineSting\u90fd\u6bd4\u8f83\u597d\u7406\u89e3\n<ul class=\"wp-block-list\">\n<li>\u5728WKT\u8868\u8fbe\u4e2d\uff0c\u70b9\u7684X\/Y\u5750\u6807\uff0c\u4e4b\u95f4\u5e76\u6ca1\u6709\u9017\u53f7\uff1b\u4f46\u662f\uff0cMySQL\u7684Point\u51fd\u6570\uff0c\u5219\u662f\u9700\u8981\u9017\u53f7\u7684\u3002<\/li>\n\n\n\n<li>\u8fd9\u91cc\u7701\u7565\u4e86\u4e00\u4e2a\u53eb\u201cLineRing\u201d\u7684\u6982\u5ff5\uff0cLineRing\u5c31\u662f\u4e00\u4e2a\u4e0d\u76f8\u4ea4\u4e14\u5934\u5c3e\u76f8\u8fde\u7684LineString<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Polygon\u6709\u4e24\u79cd\uff0c\u4e00\u79cd\u662f\u666e\u901a\u7684\uff0c\u4e00\u79cd\u662f\u5e26hole\u7684Polygon<\/li>\n\n\n\n<li>Polygon\u662f\u4e00\u4e2aSurface\uff0c\u4e0d\u4ec5\u4ec5\u662f\u7ec4\u6210\u8fb9\u7f18\u7684\u70b9\uff0c\u8fd8\u5305\u542b\u5185\u90e8\u8986\u76d6\u533a\u57df<\/li>\n\n\n\n<li>Polygon\u5373\u4fbf\u662f\u666e\u901a\u7684\uff08\u4e0d\u5e26hole\uff09\uff0c\u5916\u90e8\u4e5f\u4f1a\u6709\u4e00\u4e2a\u62ec\u53f7<\/li>\n\n\n\n<li>Polygon\u901a\u5e38\u662f\u7531\u591a\u4e2aLineRing\u7ec4\u6210<\/li>\n<\/ul>\n\n\n\n<p>\u5728\u8fd9\u4e2a\u89c4\u8303\u4e0b\uff0c\u5c31\u53ef\u4ee5\u975e\u5e38\u7b80\u5355\u7684\u521b\u5efaOGC\u6807\u51c6\u4e2d\u7684\u5bf9\u8c61\uff0c\u4f8b\u5982\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"sql\" class=\"language-sql\">CREATE TABLE geom (\n    id int,\n    p POINT SRID 0\n);\n\nINSERT INTO geom(id,p) values (1,Point(12,30));<\/code><\/pre>\n\n\n\n<p>\u5728\u5b9e\u9645\u67e5\u8be2\u4e2d\uff0c\u9ed8\u8ba4\u7684\u7a7a\u95f4\u7c7b\u578b\u4f1a\u8fd4\u56de\u4e8c\u8fdb\u5236\u7c7b\u578b\u6570\u636e\uff0c\u6240\u4ee5\u5ba2\u6237\u7aef\u67e5\u8be2\u9700\u8981\u8fdb\u884c\u4e00\u6b21\u8f6c\u6362\uff0c\u5c06\u5176\u8f6c\u6362\u5bb9\u6613\u9605\u8bfb\u7684\u6587\u672c\u7c7b\u578b\uff0c\u5373\u6807\u51c6\u7684WKT\uff08<a rel=\"noreferrer noopener\" href=\"https:\/\/en.wikipedia.org\/wiki\/Well-known_text_representation_of_geometry\" target=\"_blank\">Well-Known Text<\/a>\uff09\uff1a<\/p>\n\n\n\n<p>\u8f6c\u5316\u524d\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"sql\" class=\"language-sql\">mysql&gt; select * from geom;\n+------+---------------------------+\n| id   | p                         |\n+------+---------------------------+\n|    1 |              (@      &gt;@ |\n+------+---------------------------+\n1 row in set (0.00 sec)<\/code><\/pre>\n\n\n\n<p>\u4f7f\u7528\u4e86WKT\u51fd\u6570\u8f6c\u6362\u540e\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"sql\" class=\"language-sql\">mysql&gt; select id,ST_AsText(p) from geom;\n+------+--------------+\n| id   | ST_AsText(p) |\n+------+--------------+\n|    1 | POINT(12 30) |\n+------+--------------+<\/code><\/pre>\n\n\n\n<p>\u597d\u7684\uff0c\u8fd9\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u5165\u95e8\u4ecb\u7ecd\uff0c\u66f4\u591a\u7684\u80fd\u529b\u9700\u8981\u81ea\u5df1\u63a2\u7d22\uff0c\u795d\u73a9\u5f97\u5f00\u5fc3\u3002<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u8fc7\u53bb\u4e8c\u5341\u5e74\u4e2d\uff0c\u79fb\u52a8\u4e92\u8054\u7f51\u98de\u901f\u53d1\u5c55\uff0c\u50ac\u751f\u4e86\u5927\u91cfLBS\u76f8\u5173\u5e94\u7528\uff0c\u8fd9\u4e5f\u8ba9\u7a7a\u95f4\u4fe1\u606f\u5904\u7406\u6210\u4e3a\u8f83\u4e3a\u57fa\u7840\u7684\u8bc9\u6c42\u3002PostgreSQL\u56e0\u4e3a\u5176\u8d77\u6e90\u5c31\u4e0e\u7a7a\u95f4\u4fe1\u606f\u5904\u7406\u5173\u7cfb\u5f88\u5927\uff0c\u6240\u4ee5\u5728\u8be5\u9886\u57df\u4e00\u76f4\u6709\u7740\u975e\u5e38\u5927\u7684\u4f18\u52bf\u3002MongoDB\u4e5f\u5728\u5f88\u65e9\u5c31\u5bf9\u7a7a\u95f4\u4fe1\u606f\u5904\u7406\u505a\u4e86\u5f88\u5f3a\u7684\u652f\u6301\uff0c\u8fd9\u4e5f\u5e2e\u52a9MongoDB\u5728\u53d1\u5c55\u8fc7\u7a0b\u4e2d\u62ff\u4e0b\u6765\u90e8\u5206\u5e02\u573a\u3002MariaDB\u4e5f\u5728\u53bb\u5e748\u6708\uff08\u53c2\u8003\uff09\u6536\u8d2d\u4e86\u5382\u5546\u201cCubeWerx\u201d\u4ee5\u589e\u5f3a\u5176\u5728\u5730\u7406\u4fe1\u606f\u7684\u5b58\u50a8\u4e0e\u5206\u6790\u4e0a\u7684\u80fd\u529b\u3002 \u5728\u8fc7\u53bb\u7684\u5341\u5e74\uff0cMySQL\u4e5f\u5728\u4e0d\u65ad\u7684\u589e\u5f3a\u7a7a\u95f4\u4fe1\u606f\u7684\u5904\u7406\u80fd\u529b\uff0c\u672c\u6587\u6982\u8ff0\u4e86\uff0c\u5f53\u524dMySQL\u5728\u8fd9\u4e00\u5757\u7684\u80fd\u529b\u73b0\u72b6\u3002 \u5f53\u524d\uff0c\u6570\u636e\u5e93\u8bbf\u95ee\u4e0e\u5904\u7406GIS\u76f8\u5173\u7684\u4fe1\u606f\u4e3b\u8981\u53c2\u8003\u7684\u662f\uff1aOGC Standards\u4e2d\u7684\u201cSimple Feature Access \u2013 Part 2: SQL Option\u201d\uff08\u94fe\u63a5\uff09\u3002\u5f53\u524d\uff0cMySQL\u652f\u6301\u7684\u7a7a\u95f4\u7c7b\u578b\u4e3b\u8981\u5305\u62ec\uff1a \u4f7f\u7528MySQL\u7a7a\u95f4\u7c7b\u578b\uff0c\u5219\u6700\u597d\u4f7f\u7528InnoDB\u6216NDB\u5f15\u64ce\uff08\u5176\u4ed6\u8fd8\u652f\u6301\u7a7a\u95f4\u7c7b\u578b\u7684\u5f15\u64ce\u6709MyISAM\u3001ARCHIVE\uff09\uff0c\u5176\u4e2dInnoDB\u652f\u6301\u8f83\u4e3a\u5b8c\u6574\uff0c\u5bf9\u7a7a\u95f4\u7d22\u5f15\u4e5f\u6709\u6bd4\u8f83\u597d\u7684\u652f\u6301\u3002 \u5982\u679c\u8981\u652f\u6301\u5730\u7406\u4fe1\u606f\uff0c\u5219\u53ef\u4ee5\u4f7f\u7528\u201cWGS 84\u7cfb\u7edf\u201d\u6807\u51c6\u7684\u5750\u6807\u7cfb\u7edf\uff0c\u6b63\u5f0f\u540d\u79f0\u662f\uff1a\u4e16\u754c\u5927\u5730\u6d4b\u91cf\u7cfb\u7edf(World Geodetic System, WGS)\uff0c\u5bf9\u5e94\u7684SRID\u4e3a4326\u3002WGS\u662f\u5f53\u524d\u88ab\u5e7f\u6cdb\u4f7f\u7528\u7684\u5730\u7403\u7a7a\u95f4\u5750\u6807\u7cfb\u7edf\uff0c\u4f8b\u5982GPS\u5c31\u662f\u4f7f\u7528\u8be5\u5750\u6807\u7cfb\u7edf\u3002\u8be5\u5750\u6807\u7cfb\u7edf\uff0c\u5efa\u7acb\u4ee5\u5730\u7403\u7684\u8d28\u5fc3\u4e3a\u4e2d\u5fc3\u7684\u4e00\u5957\u5750\u6807\u7cfb\u7edf\uff0c\u91cc\u9762\u5305\u62ec\u5730\u7403\u7684\u4e00\u4e9b\u57fa\u7840\u6570\u636e\u7b49\u3002 \u5728MySQL\u53ef\u4ee5\u901a\u8fc7\u5982\u4e0bQuery\u53ef\u4ee5\u67e5\u770bMySQL\u4e2d\u7684WGS 84\u7cfb\u7edf\u7684\u4e00\u4e9b\u57fa\u672c\u4fe1\u606f\uff1a \u57fa\u7840\u5bf9\u8c61\u548c\u5bf9\u5e94\u7684WKT\u8868\u8fbe MySQL\u6216\u8005\u8bf4SQL\u6807\u51c6\u4e2d\u652f\u6301\u7684\u5bf9\u8c61\u5305\u62ec\u5982\u4e0b\uff0c\uff1aPoint\u3001Linestring\u3001Polygon\u3001Multi Point\u3001Multi Linestring\u3001Multi Polygon\u3001Geometry Collection\u3002 \u5177\u4f53\u7684\uff1a \u5728\u8fd9\u4e2a\u89c4\u8303\u4e0b\uff0c\u5c31\u53ef\u4ee5\u975e\u5e38\u7b80\u5355\u7684\u521b\u5efaOGC\u6807\u51c6\u4e2d\u7684\u5bf9\u8c61\uff0c\u4f8b\u5982\uff1a \u5728\u5b9e\u9645\u67e5\u8be2\u4e2d\uff0c\u9ed8\u8ba4\u7684\u7a7a\u95f4\u7c7b\u578b\u4f1a\u8fd4\u56de\u4e8c\u8fdb\u5236\u7c7b\u578b\u6570\u636e\uff0c\u6240\u4ee5\u5ba2\u6237\u7aef\u67e5\u8be2\u9700\u8981\u8fdb\u884c\u4e00\u6b21\u8f6c\u6362\uff0c\u5c06\u5176\u8f6c\u6362\u5bb9\u6613\u9605\u8bfb\u7684\u6587\u672c\u7c7b\u578b\uff0c\u5373\u6807\u51c6\u7684WKT\uff08Well-Known Text\uff09\uff1a \u8f6c\u5316\u524d\uff1a \u4f7f\u7528\u4e86WKT\u51fd\u6570\u8f6c\u6362\u540e\uff1a \u597d\u7684\uff0c\u8fd9\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u5165\u95e8\u4ecb\u7ecd\uff0c\u66f4\u591a\u7684\u80fd\u529b\u9700\u8981\u81ea\u5df1\u63a2\u7d22\uff0c\u795d\u73a9\u5f97\u5f00\u5fc3\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"a-temp-temp","format":"standard","meta":{"_eb_attr":"","inline_featured_image":false,"_tocer_settings":[],"footnotes":""},"categories":[6],"tags":[],"class_list":["post-8898","post","type-post","status-publish","format-standard","hentry","category-mysql"],"_links":{"self":[{"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/posts\/8898","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/comments?post=8898"}],"version-history":[{"count":10,"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/posts\/8898\/revisions"}],"predecessor-version":[{"id":8922,"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/posts\/8898\/revisions\/8922"}],"wp:attachment":[{"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/media?parent=8898"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/categories?post=8898"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.orczhou.com\/index.php\/wp-json\/wp\/v2\/tags?post=8898"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}