{"id":1180330,"date":"2025-01-15T18:35:26","date_gmt":"2025-01-15T10:35:26","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1180330.html"},"modified":"2025-01-15T18:35:30","modified_gmt":"2025-01-15T10:35:30","slug":"python%e5%a6%82%e4%bd%95%e7%99%bd%e5%8c%96%e4%b8%ad%e5%9b%bd%e5%9c%b0%e5%9b%be","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1180330.html","title":{"rendered":"python\u5982\u4f55\u767d\u5316\u4e2d\u56fd\u5730\u56fe"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25114515\/bb9dbf11-4f4e-4f82-b087-0515c6d080c1.webp\" alt=\"python\u5982\u4f55\u767d\u5316\u4e2d\u56fd\u5730\u56fe\" \/><\/p>\n<p><p> <strong>Python\u767d\u5316\u4e2d\u56fd\u5730\u56fe\u7684\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528matplotlib\u548cbasemap\u5e93\u3001\u4f7f\u7528geopandas\u5e93\u3001\u4f7f\u7528folium\u5e93\u3002<\/strong>\u4e0b\u9762\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528<strong>matplotlib\u548cbasemap\u5e93<\/strong>\u6765\u5b8c\u6210\u8fd9\u4e00\u4efb\u52a1\u3002<\/p>\n<\/p>\n<p><p>\u4f7f\u7528matplotlib\u548cbasemap\u5e93\u8fdb\u884c\u4e2d\u56fd\u5730\u56fe\u7684\u767d\u5316\u5904\u7406\u662f\u4e00\u4e2a\u8f83\u4e3a\u5e38\u89c1\u7684\u65b9\u6cd5\u3002\u9996\u5148\uff0c\u4f60\u9700\u8981\u5b89\u88c5matplotlib\u548cbasemap\u5e93\uff0c\u53ef\u4ee5\u901a\u8fc7pip\u547d\u4ee4\u6765\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">pip install matplotlib basemap<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u6765\u767d\u5316\u4e2d\u56fd\u5730\u56fe\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u5bfc\u5165\u6240\u9700\u5e93<\/strong>\uff1a\u6211\u4eec\u9700\u8981\u5bfc\u5165matplotlib\u548cbasemap\u5e93\u3002<\/li>\n<li><strong>\u521b\u5efa\u5730\u56fe\u5bf9\u8c61<\/strong>\uff1a\u4f7f\u7528Basemap\u7c7b\u521b\u5efa\u4e00\u4e2a\u4e2d\u56fd\u5730\u56fe\u5bf9\u8c61\u3002<\/li>\n<li><strong>\u7ed8\u5236\u4e2d\u56fd\u5730\u56fe\u8f6e\u5ed3<\/strong>\uff1a\u4f7f\u7528Basemap\u63d0\u4f9b\u7684\u65b9\u6cd5\u7ed8\u5236\u4e2d\u56fd\u5730\u56fe\u7684\u8f6e\u5ed3\u3002<\/li>\n<li><strong>\u586b\u5145\u5730\u56fe\u989c\u8272<\/strong>\uff1a\u5c06\u5730\u56fe\u5185\u7684\u989c\u8272\u8bbe\u7f6e\u4e3a\u767d\u8272\uff0c\u8fbe\u5230\u767d\u5316\u7684\u6548\u679c\u3002<\/li>\n<\/ol>\n<p><p>\u4e0b\u9762\u662f\u4e00\u4e2a\u8be6\u7ec6\u7684\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>from mpl_toolkits.basemap import Basemap<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u56fe\u5f62\u5bf9\u8c61<\/strong><\/h2>\n<p>plt.figure(figsize=(10, 8))<\/p>\n<h2><strong>\u521b\u5efaBasemap\u5bf9\u8c61\uff0c\u6307\u5b9a\u5730\u56fe\u7684\u8303\u56f4\u4e3a\u4e2d\u56fd\u533a\u57df<\/strong><\/h2>\n<p>m = Basemap(llcrnrlon=73, llcrnrlat=18, urcrnrlon=135, urcrnrlat=53, projection=&#39;lcc&#39;, lat_1=33, lat_2=45, lon_0=100)<\/p>\n<h2><strong>\u7ed8\u5236\u4e2d\u56fd\u5730\u56fe\u7684\u8fb9\u754c\u7ebf<\/strong><\/h2>\n<p>m.drawmapboundary(fill_color=&#39;white&#39;)<\/p>\n<h2><strong>\u586b\u5145\u4e2d\u56fd\u5730\u56fe\u533a\u57df\u4e3a\u767d\u8272<\/strong><\/h2>\n<p>m.fillcontinents(color=&#39;white&#39;, lake_color=&#39;white&#39;)<\/p>\n<h2><strong>\u7ed8\u5236\u56fd\u5bb6\u548c\u7701\u7ea7\u8fb9\u754c\u7ebf<\/strong><\/h2>\n<p>m.drawcountries(linewidth=1.0)<\/p>\n<p>m.drawcoastlines(linewidth=1.0)<\/p>\n<p>m.drawparallels(range(20, 60, 10), labels=[1,0,0,0])<\/p>\n<p>m.drawmeridians(range(70, 140, 10), labels=[0,0,0,1])<\/p>\n<h2><strong>\u663e\u793a\u56fe\u5f62<\/strong><\/h2>\n<p>plt.title(&#39;White Map of China&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e0a\u9762\u7684\u4ee3\u7801\u901a\u8fc7\u4f7f\u7528matplotlib\u548cbasemap\u5e93\uff0c\u6210\u529f\u5730\u5c06\u4e2d\u56fd\u5730\u56fe\u767d\u5316\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5176\u4ed6\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h2>\u4e00\u3001\u4f7f\u7528geopandas\u5e93<\/h2>\n<\/p>\n<p><p>Geopandas\u662f\u4e00\u4e2a\u57fa\u4e8epandas\u7684\u6570\u636e\u5904\u7406\u5e93\uff0c\u4e13\u95e8\u7528\u4e8e\u5904\u7406\u5730\u7406\u6570\u636e\u3002\u901a\u8fc7\u4f7f\u7528geopandas\u5e93\uff0c\u6211\u4eec\u53ef\u4ee5\u8f7b\u677e\u5730\u52a0\u8f7d\u3001\u64cd\u4f5c\u548c\u7ed8\u5236\u5730\u7406\u6570\u636e\u3002<\/p>\n<\/p>\n<p><h3>1. \u5b89\u88c5\u548c\u5bfc\u5165\u5e93<\/h3>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u5b89\u88c5geopandas\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">pip install geopandas<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u5bfc\u5165\u6240\u9700\u7684\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import geopandas as gpd<\/p>\n<p>import matplotlib.pyplot as plt<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>2. \u52a0\u8f7d\u4e2d\u56fd\u5730\u56fe\u6570\u636e<\/h3>\n<\/p>\n<p><p>\u6211\u4eec\u9700\u8981\u4e00\u4e2a\u4e2d\u56fd\u5730\u56fe\u7684\u5730\u7406\u6570\u636e\u6587\u4ef6\uff08\u901a\u5e38\u662fshapefile\u683c\u5f0f\uff09\u3002\u53ef\u4ee5\u4ece\u7f51\u4e0a\u4e0b\u8f7d\u4e00\u4e2a\u4e2d\u56fd\u5730\u56fe\u7684shapefile\u6587\u4ef6\uff0c\u5e76\u5c06\u5176\u52a0\u8f7d\u5230geopandas\u4e2d\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u52a0\u8f7d\u4e2d\u56fd\u5730\u56fe\u7684shapefile\u6587\u4ef6<\/p>\n<p>china = gpd.read_file(&#39;path_to_china_shapefile.shp&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>3. \u7ed8\u5236\u767d\u5316\u7684\u4e2d\u56fd\u5730\u56fe<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0b\u4ee3\u7801\uff0c\u6211\u4eec\u53ef\u4ee5\u7ed8\u5236\u4e00\u4e2a\u767d\u5316\u7684\u4e2d\u56fd\u5730\u56fe\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u56fe\u5f62\u5bf9\u8c61<\/p>\n<p>fig, ax = plt.subplots(figsize=(10, 8))<\/p>\n<h2><strong>\u7ed8\u5236\u4e2d\u56fd\u5730\u56fe\uff0c\u5e76\u5c06\u989c\u8272\u8bbe\u7f6e\u4e3a\u767d\u8272<\/strong><\/h2>\n<p>china.plot(ax=ax, color=&#39;white&#39;, edgecolor=&#39;black&#39;)<\/p>\n<h2><strong>\u8bbe\u7f6e\u56fe\u5f62\u6807\u9898<\/strong><\/h2>\n<p>plt.title(&#39;White Map of China&#39;)<\/p>\n<h2><strong>\u663e\u793a\u56fe\u5f62<\/strong><\/h2>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u901a\u8fc7\u8bbe\u7f6ecolor\u53c2\u6570\u4e3a\u767d\u8272\uff0c\u6210\u529f\u5730\u5c06\u4e2d\u56fd\u5730\u56fe\u767d\u5316\u3002<\/p>\n<\/p>\n<p><h2>\u4e8c\u3001\u4f7f\u7528folium\u5e93<\/h2>\n<\/p>\n<p><p>Folium\u662f\u4e00\u4e2a\u7528\u4e8e\u5236\u4f5c\u4ea4\u4e92\u5f0f\u5730\u56fe\u7684Python\u5e93\uff0c\u57fa\u4e8eLeaflet.js\u3002\u901a\u8fc7\u4f7f\u7528folium\u5e93\uff0c\u6211\u4eec\u53ef\u4ee5\u5236\u4f5c\u4e00\u4e2a\u4ea4\u4e92\u5f0f\u7684\u767d\u5316\u4e2d\u56fd\u5730\u56fe\u3002<\/p>\n<\/p>\n<p><h3>1. \u5b89\u88c5\u548c\u5bfc\u5165\u5e93<\/h3>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u5b89\u88c5folium\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">pip install folium<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u5bfc\u5165\u6240\u9700\u7684\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import folium<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>2. \u52a0\u8f7d\u4e2d\u56fd\u5730\u56fe\u6570\u636e<\/h3>\n<\/p>\n<p><p>\u6211\u4eec\u9700\u8981\u4e00\u4e2a\u4e2d\u56fd\u5730\u56fe\u7684GeoJSON\u6587\u4ef6\uff0c\u53ef\u4ee5\u4ece\u7f51\u4e0a\u4e0b\u8f7d\u4e00\u4e2a\u4e2d\u56fd\u5730\u56fe\u7684GeoJSON\u6587\u4ef6\uff0c\u5e76\u5c06\u5176\u52a0\u8f7d\u5230folium\u4e2d\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u52a0\u8f7d\u4e2d\u56fd\u5730\u56fe\u7684GeoJSON\u6587\u4ef6<\/p>\n<p>geo_json_data = &#39;path_to_china_geojson.geojson&#39;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>3. \u521b\u5efa\u548c\u663e\u793a\u767d\u5316\u7684\u4e2d\u56fd\u5730\u56fe<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0b\u4ee3\u7801\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u548c\u663e\u793a\u4e00\u4e2a\u767d\u5316\u7684\u4e2d\u56fd\u5730\u56fe\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5730\u56fe\u5bf9\u8c61\uff0c\u4e2d\u5fc3\u70b9\u8bbe\u7f6e\u4e3a\u4e2d\u56fd\u7684\u5730\u7406\u4e2d\u5fc3<\/p>\n<p>m = folium.Map(location=[35.0, 104.0], zoom_start=5)<\/p>\n<h2><strong>\u6dfb\u52a0\u4e2d\u56fd\u5730\u56fe\u7684GeoJSON\u6570\u636e\uff0c\u5e76\u5c06\u989c\u8272\u8bbe\u7f6e\u4e3a\u767d\u8272<\/strong><\/h2>\n<p>folium.GeoJson(<\/p>\n<p>    geo_json_data,<\/p>\n<p>    style_function=lambda feature: {<\/p>\n<p>        &#39;fillColor&#39;: &#39;white&#39;,<\/p>\n<p>        &#39;color&#39;: &#39;black&#39;,<\/p>\n<p>        &#39;weight&#39;: 1,<\/p>\n<p>    }<\/p>\n<p>).add_to(m)<\/p>\n<h2><strong>\u663e\u793a\u5730\u56fe<\/strong><\/h2>\n<p>m.save(&#39;white_map_of_china.html&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u901a\u8fc7\u8bbe\u7f6estyle_function\u53c2\u6570\uff0c\u5c06\u5730\u56fe\u7684\u586b\u5145\u989c\u8272\u8bbe\u7f6e\u4e3a\u767d\u8272\uff0c\u6210\u529f\u5730\u5c06\u4e2d\u56fd\u5730\u56fe\u767d\u5316\u3002\u751f\u6210\u7684\u5730\u56fe\u53ef\u4ee5\u4fdd\u5b58\u4e3aHTML\u6587\u4ef6\uff0c\u5e76\u5728\u6d4f\u89c8\u5668\u4e2d\u67e5\u770b\u3002<\/p>\n<\/p>\n<p><h2>\u4e09\u3001\u603b\u7ed3<\/h2>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u4e09\u79cd\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4e0d\u540c\u7684Python\u5e93\u6765\u767d\u5316\u4e2d\u56fd\u5730\u56fe\u3002<strong>\u4f7f\u7528matplotlib\u548cbasemap\u5e93\u3001geopandas\u5e93\u3001folium\u5e93<\/strong>\u5404\u6709\u4f18\u52bf\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>matplotlib\u548cbasemap\u5e93<\/strong>\uff1a\u9002\u5408\u7ed8\u5236\u9759\u6001\u5730\u56fe\uff0c\u64cd\u4f5c\u7b80\u5355\uff0c\u9002\u5408\u5feb\u901f\u751f\u6210\u5730\u56fe\u3002<\/li>\n<li><strong>geopandas\u5e93<\/strong>\uff1a\u9002\u5408\u5904\u7406\u548c\u64cd\u4f5c\u5730\u7406\u6570\u636e\uff0c\u7ed8\u5236\u9759\u6001\u5730\u56fe\uff0c\u9002\u5408\u9700\u8981\u8fdb\u884c\u5730\u7406\u6570\u636e\u5206\u6790\u7684\u573a\u666f\u3002<\/li>\n<li><strong>folium\u5e93<\/strong>\uff1a\u9002\u5408\u5236\u4f5c\u4ea4\u4e92\u5f0f\u5730\u56fe\uff0c\u9002\u5408\u9700\u8981\u5728\u7f51\u9875\u4e2d\u5c55\u793a\u5730\u56fe\u7684\u573a\u666f\u3002<\/li>\n<\/ul>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u4ecb\u7ecd\uff0c\u76f8\u4fe1\u4f60\u5df2\u7ecf\u638c\u63e1\u4e86\u5982\u4f55\u4f7f\u7528Python\u767d\u5316\u4e2d\u56fd\u5730\u56fe\u7684\u65b9\u6cd5\uff0c\u5e0c\u671b\u80fd\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u767d\u5316\u4e2d\u56fd\u5730\u56fe\u7684\u5177\u4f53\u6b65\u9aa4\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u8981\u767d\u5316\u4e2d\u56fd\u5730\u56fe\uff0c\u9996\u5148\u9700\u8981\u9009\u62e9\u5408\u9002\u7684Python\u5e93\uff0c\u5982Matplotlib\u548cGeopandas\u3002\u4f7f\u7528Geopandas\u53ef\u4ee5\u8f7b\u677e\u8bfb\u53d6\u548c\u5904\u7406\u5730\u7406\u6570\u636e\u3002\u52a0\u8f7d\u5730\u56fe\u6570\u636e\u540e\uff0c\u53ef\u4ee5\u5bf9\u5730\u56fe\u8fdb\u884c\u989c\u8272\u5904\u7406\uff0c\u901a\u8fc7\u8bbe\u7f6e\u900f\u660e\u5ea6\u6216\u9009\u62e9\u989c\u8272\u6765\u5b9e\u73b0\u767d\u5316\u6548\u679c\u3002\u6700\u540e\uff0c\u901a\u8fc7Matplotlib\u7684\u7ed8\u56fe\u529f\u80fd\u5c06\u5904\u7406\u540e\u7684\u5730\u56fe\u663e\u793a\u51fa\u6765\u3002<\/p>\n<p><strong>\u4f7f\u7528Python\u767d\u5316\u5730\u56fe\u9700\u8981\u54ea\u4e9b\u6570\u636e\u548c\u5de5\u5177\uff1f<\/strong><br \/>\u8fdb\u884c\u5730\u56fe\u767d\u5316\u901a\u5e38\u9700\u8981\u5730\u7406\u4fe1\u606f\u6570\u636e\uff0c\u6bd4\u5982\u4e2d\u56fd\u7684\u884c\u653f\u533a\u5212\u6570\u636e\uff0c\u53ef\u4ee5\u4ece\u5f00\u6e90\u5e73\u53f0\u83b7\u53d6\uff08\u5982Natural Earth\u6216GADM\uff09\u3002\u6b64\u5916\uff0c\u5b89\u88c5Geopandas\u3001Matplotlib\u548cNumpy\u7b49\u5e93\u662f\u5fc5\u8981\u7684\uff0c\u8fd9\u4e9b\u5de5\u5177\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5904\u7406\u548c\u53ef\u89c6\u5316\u5730\u56fe\u6570\u636e\u3002<\/p>\n<p><strong>\u767d\u5316\u4e2d\u56fd\u5730\u56fe\u540e\uff0c\u5982\u4f55\u6dfb\u52a0\u5176\u4ed6\u4fe1\u606f\u6216\u6807\u8bb0\uff1f<\/strong><br \/>\u5728\u767d\u5316\u5730\u56fe\u7684\u57fa\u7840\u4e0a\uff0c\u7528\u6237\u53ef\u4ee5\u901a\u8fc7Matplotlib\u7684\u7ed8\u56fe\u529f\u80fd\u6dfb\u52a0\u5176\u4ed6\u4fe1\u606f\uff0c\u5982\u6807\u8bb0\u7279\u5b9a\u57ce\u5e02\u6216\u533a\u57df\u3002\u53ef\u4ee5\u4f7f\u7528scatter\u51fd\u6570\u7ed8\u5236\u70b9\uff0c\u6216\u4f7f\u7528text\u51fd\u6570\u6dfb\u52a0\u6ce8\u91ca\u3002\u7ed3\u5408\u4f7f\u7528\u4e0d\u540c\u7684\u989c\u8272\u548c\u6837\u5f0f\uff0c\u53ef\u4ee5\u4f7f\u5730\u56fe\u66f4\u52a0\u751f\u52a8\u4e14\u4fe1\u606f\u4e30\u5bcc\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u767d\u5316\u4e2d\u56fd\u5730\u56fe\u7684\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528matplotlib\u548cbasemap\u5e93\u3001\u4f7f\u7528geopandas\u5e93\u3001\u4f7f\u7528f [&hellip;]","protected":false},"author":3,"featured_media":1180337,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1180330"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1180330"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1180330\/revisions"}],"predecessor-version":[{"id":1180338,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1180330\/revisions\/1180338"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1180337"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1180330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1180330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1180330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}