{"id":937849,"date":"2024-12-26T19:59:49","date_gmt":"2024-12-26T11:59:49","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/937849.html"},"modified":"2024-12-26T19:59:51","modified_gmt":"2024-12-26T11:59:51","slug":"python%e5%a6%82%e4%bd%95%e4%b8%8b%e8%bd%bdbasemap","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/937849.html","title":{"rendered":"python\u5982\u4f55\u4e0b\u8f7dbasemap"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25073530\/bb50536d-c118-4536-9509-858536012b3e.webp\" alt=\"python\u5982\u4f55\u4e0b\u8f7dbasemap\" \/><\/p>\n<p><p> <strong>Python\u4e2d\u4e0b\u8f7dBasemap\u7684\u65b9\u6cd5\u6709\u591a\u79cd<\/strong>\uff0c\u5305\u62ec\u901a\u8fc7\u547d\u4ee4\u884c\u4f7f\u7528pip\u3001\u901a\u8fc7Anaconda\u4f7f\u7528conda\u3001\u4eceGitHub\u6e90\u7801\u5b89\u88c5\u7b49\u3002\u6700\u5e38\u7528\u7684\u65b9\u5f0f\u662f\u4f7f\u7528pip\u548cconda\uff0c\u56e0\u4e3a\u5b83\u4eec\u53ef\u4ee5\u81ea\u52a8\u5904\u7406\u4f9d\u8d56\u5173\u7cfb\u5e76\u7b80\u5316\u5b89\u88c5\u8fc7\u7a0b\u3002<strong>pip\u5b89\u88c5\u3001conda\u5b89\u88c5\u3001\u4ece\u6e90\u7801\u5b89\u88c5<\/strong>\u662f\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\u3002\u4ee5\u4e0b\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u901a\u8fc7\u8fd9\u4e09\u79cd\u65b9\u5f0f\u6765\u5b89\u88c5Basemap\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001PIP\u5b89\u88c5Basemap<\/p>\n<\/p>\n<p><p>\u4f7f\u7528pip\u5b89\u88c5\u662f\u6700\u76f4\u63a5\u7684\u65b9\u6cd5\u4e4b\u4e00\u3002Basemap\u5728Python\u7684\u5305\u7ba1\u7406\u5de5\u5177pip\u4e2d\u5df2\u88ab\u5305\u542b\uff0c\u56e0\u6b64\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u547d\u4ee4\u884c\u6765\u5b89\u88c5\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u786e\u4fdd\u73af\u5883\u51c6\u5907\u5b8c\u6bd5<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u5b89\u88c5Basemap\u4e4b\u524d\uff0c\u9700\u8981\u786e\u4fddPython\u548cpip\u5df2\u6b63\u786e\u5b89\u88c5\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u6765\u9a8c\u8bc1\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python --version<\/p>\n<p>pip --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5982\u679c\u6ca1\u6709\u5b89\u88c5\u6216\u7248\u672c\u8fc7\u4f4e\uff0c\u53ef\u4ee5\u4ecePython\u5b98\u7f51\u4e0b\u8f7d\u5b89\u88c5\u6700\u65b0\u7684Python\u7248\u672c\uff0cpip\u901a\u5e38\u4f1a\u968fPython\u4e00\u8d77\u5b89\u88c5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5Basemap<\/strong><\/p>\n<\/p>\n<p><p>\u6253\u5f00\u547d\u4ee4\u884c\u6216\u7ec8\u7aef\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5Basemap\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install basemap<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u4e0b\u8f7d\u5e76\u5b89\u88c5Basemap\u53ca\u5176\u6240\u6709\u4f9d\u8d56\u9879\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u9a8c\u8bc1\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from mpl_toolkits.basemap import Basemap<\/p>\n<p>print(&quot;Basemap installed successfully!&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5982\u679c\u6ca1\u6709\u62a5\u9519\u8bf4\u660e\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u89e3\u51b3\u53ef\u80fd\u7684\u5b89\u88c5\u95ee\u9898<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u5b89\u88c5\u53ef\u80fd\u4f1a\u5931\u8d25\uff0c\u539f\u56e0\u53ef\u80fd\u662f\u7f3a\u5c11\u7f16\u8bd1\u5de5\u5177\u6216\u4f9d\u8d56\u5e93\u3002\u8fd9\u65f6\u53ef\u4ee5\u901a\u8fc7\u5b89\u88c5\u9884\u7f16\u8bd1\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\u6765\u89e3\u51b3\u95ee\u9898\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install basemap --only-binary :all:<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6b64\u5916\uff0c\u786e\u4fdd\u6240\u6709\u7cfb\u7edf\u4f9d\u8d56\u9879\u5df2\u5b89\u88c5\uff0c\u4f8b\u5982GEOS\u3001PROJ.4\u7b49\u3002\u53ef\u4ee5\u901a\u8fc7\u5305\u7ba1\u7406\u5668\uff08\u5982apt\u3001yum\u7b49\uff09\u5b89\u88c5\u8fd9\u4e9b\u4f9d\u8d56\u9879\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001CONDA\u5b89\u88c5Basemap<\/p>\n<\/p>\n<p><p>\u4f7f\u7528Anaconda\u7684\u7528\u6237\u53ef\u4ee5\u901a\u8fc7conda\u6765\u5b89\u88c5Basemap\uff0c\u8fd9\u901a\u5e38\u662f\u66f4\u4e3a\u7b80\u5355\u548c\u7a33\u5b9a\u7684\u65b9\u5f0f\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5Anaconda\u6216Miniconda<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u5c1a\u672a\u5b89\u88c5Anaconda\u6216Miniconda\uff0c\u53ef\u4ee5\u4ece\u5176\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u5e76\u5b89\u88c5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u521b\u5efa\u65b0\u73af\u5883\uff08\u53ef\u9009\uff09<\/strong><\/p>\n<\/p>\n<p><p>\u4e3a\u4e86\u907f\u514d\u7248\u672c\u51b2\u7a81\uff0c\u5efa\u8bae\u5728\u65b0\u73af\u5883\u4e2d\u5b89\u88c5Basemap\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">conda create -n basemap_env python=3.8<\/p>\n<p>conda activate basemap_env<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5Basemap<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5Basemap\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">conda install -c conda-forge basemap<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u4ececonda-forge\u9891\u9053\u4e0b\u8f7d\u5e76\u5b89\u88c5Basemap\u4ee5\u53ca\u76f8\u5173\u4f9d\u8d56\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9a8c\u8bc1\u5b89\u88c5<\/strong><\/p>\n<\/p>\n<p><p>\u540c\u6837\u53ef\u4ee5\u901a\u8fc7\u5bfc\u5165Basemap\u6765\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from mpl_toolkits.basemap import Basemap<\/p>\n<p>print(&quot;Basemap installed successfully in conda environment!&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u4ece\u6e90\u7801\u5b89\u88c5Basemap<\/p>\n<\/p>\n<p><p>\u5bf9\u4e8e\u9700\u8981\u81ea\u5b9a\u4e49\u5b89\u88c5\u6216\u5f00\u53d1\u7684\u7528\u6237\uff0c\u53ef\u4ee5\u9009\u62e9\u4ece\u6e90\u7801\u5b89\u88c5\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4e0b\u8f7d\u6e90\u7801<\/strong><\/p>\n<\/p>\n<p><p>\u53ef\u4ee5\u4eceBasemap\u7684GitHub\u4ed3\u5e93\u6216SourceForge\u4e0b\u8f7d\u6e90\u7801\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">git clone https:\/\/github.com\/matplotlib\/basemap.git<\/p>\n<p>cd basemap<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5\u4f9d\u8d56\u9879<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u5b89\u88c5\u524d\uff0c\u9700\u8981\u786e\u4fdd\u7cfb\u7edf\u4e0a\u5df2\u5b89\u88c5\u6240\u6709\u4f9d\u8d56\u9879\uff0c\u5305\u62ecnumpy\u3001matplotlib\u3001GEOS\u3001PROJ.4\u7b49\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7f16\u8bd1\u548c\u5b89\u88c5<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u6e90\u7801\u76ee\u5f55\u4e0b\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u7f16\u8bd1\u548c\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python setup.py install<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5982\u679c\u9700\u8981\u5728\u5f00\u53d1\u6a21\u5f0f\u4e0b\u4f7f\u7528\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python setup.py develop<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6d4b\u8bd5\u5b89\u88c5<\/strong><\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u5bfc\u5165Basemap\u5e76\u8fd0\u884c\u793a\u4f8b\u4ee3\u7801\u6765\u9a8c\u8bc1\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from mpl_toolkits.basemap import Basemap<\/p>\n<p>print(&quot;Basemap installed successfully from source!&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u4f7f\u7528Basemap\u8fdb\u884c\u5730\u56fe\u7ed8\u5236<\/p>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528Basemap\u8fdb\u884c\u5404\u79cd\u5730\u56fe\u7ed8\u5236\u3002Basemap\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u529f\u80fd\u6765\u5904\u7406\u5730\u7406\u6570\u636e\u5e76\u751f\u6210\u5730\u56fe\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521b\u5efaBasemap\u5b9e\u4f8b<\/strong><\/p>\n<\/p>\n<p><p>Basemap\u7c7b\u662f\u4f7f\u7528Basemap\u8fdb\u884c\u7ed8\u56fe\u7684\u6838\u5fc3\u3002\u901a\u8fc7\u5b9e\u4f8b\u5316Basemap\u5bf9\u8c61\uff0c\u53ef\u4ee5\u6307\u5b9a\u6295\u5f71\u7c7b\u578b\u3001\u533a\u57df\u8303\u56f4\u7b49\u53c2\u6570\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from mpl_toolkits.basemap import Basemap<\/p>\n<p>import matplotlib.pyplot as plt<\/p>\n<p>m = Basemap(projection=&#39;merc&#39;, llcrnrlat=-80, urcrnrlat=80,<\/p>\n<p>            llcrnrlon=-180, urcrnrlon=180, resolution=&#39;c&#39;)<\/p>\n<p>m.drawcoastlines()<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u521b\u5efa\u4e86\u4e00\u4e2aMercator\u6295\u5f71\u7684\u4e16\u754c\u5730\u56fe\uff0c\u5e76\u7ed8\u5236\u4e86\u6d77\u5cb8\u7ebf\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6dfb\u52a0\u5730\u7406\u5143\u7d20<\/strong><\/p>\n<\/p>\n<p><p>Basemap\u652f\u6301\u7ed8\u5236\u591a\u79cd\u5730\u7406\u5143\u7d20\uff0c\u5982\u56fd\u5bb6\u8fb9\u754c\u3001\u6cb3\u6d41\u3001\u57ce\u5e02\u6807\u8bb0\u7b49\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">m.drawcountries()<\/p>\n<p>m.drawrivers()<\/p>\n<p>m.drawmapboundary(fill_color=&#39;aqua&#39;)<\/p>\n<p>m.fillcontinents(color=&#39;coral&#39;, lake_color=&#39;aqua&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\u6765\u4e30\u5bcc\u5730\u56fe\u7684\u7ec6\u8282\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7ed8\u5236\u6570\u636e<\/strong><\/p>\n<\/p>\n<p><p>Basemap\u53ef\u4ee5\u4e0ematplotlib\u7ed3\u5408\u4f7f\u7528\u6765\u7ed8\u5236\u6570\u636e\u3002\u53ef\u4ee5\u901a\u8fc7\u8f6c\u6362\u7ecf\u7eac\u5ea6\u5750\u6807\u6765\u5c06\u6570\u636e\u7ed8\u5236\u5728\u5730\u56fe\u4e0a\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<h2><strong>\u793a\u4f8b\u6570\u636e<\/strong><\/h2>\n<p>lons = np.linspace(-180, 180, 36)<\/p>\n<p>lats = np.linspace(-90, 90, 18)<\/p>\n<p>data = np.random.rand(18, 36)<\/p>\n<p>x, y = np.meshgrid(lons, lats)<\/p>\n<p>x_map, y_map = m(x, y)<\/p>\n<p>plt.contourf(x_map, y_map, data, cmap=&#39;viridis&#39;)<\/p>\n<p>plt.colorbar()<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u5c55\u793a\u4e86\u5982\u4f55\u5728\u5730\u56fe\u4e0a\u7ed8\u5236\u7b49\u503c\u7ebf\u56fe\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u603b\u7ed3\u6765\u8bf4\uff0cBasemap\u662f\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u7684\u5730\u7406\u6570\u636e\u53ef\u89c6\u5316\u5de5\u5177\uff0c\u901a\u8fc7pip\u3001conda\u548c\u6e90\u7801\u5b89\u88c5\u53ef\u4ee5\u65b9\u4fbf\u5730\u5728Python\u73af\u5883\u4e2d\u4f7f\u7528\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0cBasemap\u63d0\u4f9b\u4e86\u591a\u79cd\u5730\u56fe\u6295\u5f71\u3001\u5730\u7406\u5143\u7d20\u7ed8\u5236\u4ee5\u53ca\u6570\u636e\u53ef\u89c6\u5316\u529f\u80fd\uff0c\u4f7f\u5f97\u7528\u6237\u80fd\u591f\u4ee5\u76f4\u89c2\u7684\u65b9\u5f0f\u5c55\u793a\u5730\u7406\u6570\u636e\u3002\u65e0\u8bba\u662f\u7b80\u5355\u7684\u5730\u56fe\u7ed8\u5236\u8fd8\u662f\u590d\u6742\u7684\u5730\u7406\u6570\u636e\u5206\u6790\uff0cBasemap\u90fd\u80fd\u591f\u63d0\u4f9b\u5f3a\u5927\u7684\u652f\u6301\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5b89\u88c5Basemap\uff1f<\/strong><br \/>\u8981\u5728Python\u4e2d\u5b89\u88c5Basemap\uff0c\u53ef\u4ee5\u4f7f\u7528pip\u547d\u4ee4\u3002\u6253\u5f00\u7ec8\u7aef\u6216\u547d\u4ee4\u63d0\u793a\u7b26\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a  <\/p>\n<pre><code>pip install basemap\n<\/code><\/pre>\n<p>\u5982\u679c\u60a8\u4f7f\u7528\u7684\u662fAnaconda\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a  <\/p>\n<pre><code>conda install -c conda-forge basemap\n<\/code><\/pre>\n<p>\u786e\u4fdd\u60a8\u7684Python\u73af\u5883\u5df2\u6b63\u786e\u8bbe\u7f6e\uff0c\u4ee5\u907f\u514d\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u95ee\u9898\u3002<\/p>\n<p><strong>Basemap\u4e0eMatplotlib\u7684\u517c\u5bb9\u6027\u5982\u4f55\uff1f<\/strong><br \/>Basemap\u662f\u4e00\u4e2a\u4e3aMatplotlib\u63d0\u4f9b\u5730\u56fe\u7ed8\u5236\u529f\u80fd\u7684\u5de5\u5177\u3002\u4e3a\u4e86\u786e\u4fddBasemap\u6b63\u5e38\u5de5\u4f5c\uff0c\u60a8\u9700\u8981\u786e\u4fdd\u5b89\u88c5\u7684Matplotlib\u7248\u672c\u4e0eBasemap\u517c\u5bb9\u3002\u4e00\u822c\u60c5\u51b5\u4e0b\uff0cBasemap\u652f\u6301Matplotlib 1.5\u53ca\u66f4\u9ad8\u7248\u672c\u3002\u5728\u4f7f\u7528\u524d\uff0c\u5efa\u8bae\u60a8\u67e5\u770bBasemap\u7684\u5b98\u65b9\u6587\u6863\uff0c\u4ee5\u83b7\u53d6\u6700\u65b0\u7684\u517c\u5bb9\u6027\u4fe1\u606f\u3002<\/p>\n<p><strong>\u4f7f\u7528Basemap\u7ed8\u5236\u5730\u56fe\u7684\u57fa\u672c\u6b65\u9aa4\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u4f7f\u7528Basemap\u7ed8\u5236\u5730\u56fe\u7684\u4e00\u822c\u6b65\u9aa4\u5305\u62ec\uff1a  <\/p>\n<ol>\n<li>\u5bfc\u5165Basemap\u548cMatplotlib\u5e93\u3002  <\/li>\n<li>\u521b\u5efaBasemap\u5b9e\u4f8b\uff0c\u9009\u62e9\u6240\u9700\u7684\u5730\u56fe\u6295\u5f71\u548c\u8303\u56f4\u3002  <\/li>\n<li>\u6dfb\u52a0\u5730\u56fe\u5143\u7d20\uff0c\u5982\u6d77\u6d0b\u3001\u9646\u5730\u3001\u8fb9\u754c\u7b49\u3002  <\/li>\n<li>\u4f7f\u7528Matplotlib\u7684\u7ed8\u56fe\u529f\u80fd\u663e\u793a\u5730\u56fe\u3002<br \/>\u5177\u4f53\u4ee3\u7801\u793a\u4f8b\u5982\u4e0b\uff1a<\/li>\n<\/ol>\n<pre><code class=\"language-python\">from mpl_toolkits.basemap import Basemap\nimport matplotlib.pyplot as plt\n\n# \u521b\u5efaBasemap\u5b9e\u4f8b\nm = Basemap(projection=&#39;lcc&#39;, resolution=&#39;h&#39;, lat_0=37.5, lon_0=-119,\n            width=5E6, height=3E6)\n\n# \u7ed8\u5236\u5730\u56fe\u5143\u7d20\nm.shadedrelief()\nm.drawcoastlines()\nm.drawcountries()\n\n# \u663e\u793a\u5730\u56fe\nplt.show()\n<\/code><\/pre>\n<p>\u901a\u8fc7\u8fd9\u4e9b\u6b65\u9aa4\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u521b\u5efa\u57fa\u7840\u5730\u56fe\u5e76\u8fdb\u884c\u81ea\u5b9a\u4e49\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u4e2d\u4e0b\u8f7dBasemap\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5305\u62ec\u901a\u8fc7\u547d\u4ee4\u884c\u4f7f\u7528pip\u3001\u901a\u8fc7Anaconda\u4f7f\u7528conda\u3001\u4ece [&hellip;]","protected":false},"author":3,"featured_media":937850,"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\/937849"}],"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=937849"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/937849\/revisions"}],"predecessor-version":[{"id":937851,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/937849\/revisions\/937851"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/937850"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=937849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=937849"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=937849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}