{"id":41838,"date":"2023-10-10T06:08:22","date_gmt":"2023-05-06T11:41:46","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%9c%a8ubuntu18-04-lts%e4%b8%8a%e6%90%ad%e5%bb%bapgrouting%e7%8e%af%e5%a2%83%ef%bc%8c%e4%bd%bf%e7%94%a8postgis3-0%e7%bc%96%e8%be%91%e3%80%82\/"},"modified":"2024-05-04T03:35:03","modified_gmt":"2024-05-03T19:35:03","slug":"%e5%b0%9d%e8%af%95%e5%9c%a8ubuntu18-04-lts%e4%b8%8a%e6%90%ad%e5%bb%bapgrouting%e7%8e%af%e5%a2%83%ef%bc%8c%e4%bd%bf%e7%94%a8postgis3-0%e7%bc%96%e8%be%91%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%9c%a8ubuntu18-04-lts%e4%b8%8a%e6%90%ad%e5%bb%bapgrouting%e7%8e%af%e5%a2%83%ef%bc%8c%e4%bd%bf%e7%94%a8postgis3-0%e7%bc%96%e8%be%91%e3%80%82\/","title":{"rendered":"\u5c1d\u8bd5\u5728Ubuntu18.04 LTS\u4e0a\u642d\u5efapgRouting\u73af\u5883\uff0c\u4f7f\u7528PostGIS3.0\u7f16\u8f91"},"content":{"rendered":"<p>2019\u5e7410\u670820\u65e5\uff0cPostGIS\u7684\u4e3b\u8981\u7248\u672c\u5347\u7ea73.0\u5df2\u7ecf\u53d1\u5e03\uff01\u8bf7\u67e5\u770bhttps:\/\/postgis.net\/2019\/10\/20\/postgis-3.0.0\/\u3002<\/p>\n<p>FindsJP\u5148\u751f\u53d1\u5e03\u4e86\u624b\u518c\u7684\u4e2d\u6587\u7ffb\u8bd1\u7248\u672c\uff0c\u975e\u5e38\u611f\u6fc0\u3002<br \/>\n\u611f\u8c22\u60a8\u7684\u4ed8\u51fa\u3002<br \/>\nhttp:\/\/www.finds.jp\/docs\/pgisman\/3.0.0\/postgis-ja.html<br \/>\n\u2193\u57df\u540d\u5df2\u66f4\u6539<br \/>\nhttp:\/\/aginfo.cgk.affrc.go.jp\/docs\/pgisman\/3.0.0\/index.html<\/p>\n<p>\u56e0\u6b64\uff0c\u6211\u7acb\u5373\u5b89\u88c5\u4e86\u5b83\uff0c\u5e76\u5c06\u6b65\u9aa4\u8bb0\u5f55\u4e0b\u6765\u4f5c\u4e3a\u6211\u81ea\u5df1\u7684\u5907\u5fd8\u5f55\u3002<\/p>\n<h2>\u6dfb\u52a0\u5b58\u50a8\u5e93<\/h2>\n<p>\u8bf7\u53c2\u8003\uff1ahttps:\/\/wiki.postgresql.org\/wiki\/Apt \u6dfb\u52a0 PostgreSQL \u7684\u5b58\u50a8\u5e93\u3002<\/p>\n<pre class=\"post-pre\"><code>$ sudo apt install curl ca-certificates\r\n$ curl https:\/\/www.postgresql.org\/media\/keys\/ACCC4CF8.asc | sudo apt-key add -\r\n$ sudo sh -c 'echo \"deb http:\/\/apt.postgresql.org\/pub\/repos\/apt\/ $(lsb_release -cs)-pgdg main\" &gt; \/etc\/apt\/sources.list.d\/pgdg.list'\r\n<\/code><\/pre>\n<p>\u66f4\u65b0\u8f6f\u4ef6\u5305\u5217\u8868<\/p>\n<pre class=\"post-pre\"><code>$ sudo apt update\r\n<\/code><\/pre>\n<h2>\u5b89\u88c5<\/h2>\n<p>\u7531\u4e8ePostGIS 3.0\u517c\u5bb9\u4e8ePostgreSQL 10\u53caPostgreSQL 9.5\u4e4b\u540e\u7684\u7248\u672c\uff0c\u6211\u6253\u7b97\u5c1d\u8bd5\u5c06\u5176\u4e0e\u5f53\u524d\u6700\u65b0\u7684PostgreSQL 12\u7ed3\u5408\u5b89\u88c5\u3002\u9996\u5148\uff0c\u6211\u4f1a\u641c\u7d22\u5305\u7684\u540d\u79f0\u3002<\/p>\n<pre class=\"post-pre\"><code>$ sudo apt search postgresql-12\r\n\u30bd\u30fc\u30c8\u4e2d... \u5b8c\u4e86\r\n\u5168\u6587\u691c\u7d22... \u5b8c\u4e86  \r\npostgresql-12\/bionic-pgdg 12.0-2.pgdg18.04+1 amd64\r\n  object-relational SQL database, version 12 server\r\n\uff1c\u7565\uff1e\r\npostgresql-12-pgrouting\/bionic-pgdg 2.6.2-1.pgdg18.04+1 amd64\r\n  Routing functionality support for PostgreSQL\/PostGIS\r\n\uff1c\u7565\uff1e\r\npostgresql-12-postgis-3\/bionic-pgdg 3.0.0+dfsg-1.pgdg18.04+1 amd64\r\n  Geographic objects support for PostgreSQL 12\r\n\uff1c\u7565\uff1e\r\n<\/code><\/pre>\n<p>\u4ece\u4e2d\u9009\u62e9\u5b89\u88c5PostgreSQL-12\u3001PostGIS-3\u548cpgRouting\u3002<\/p>\n<p>\u4e3a\u4e86\u786e\u8ba4PostGIS\u7684\u7248\u672c\u662f\u5426\u4e0epgRouting\u4e00\u8d77\u5b89\u88c5\uff0c\u6211\u4eec\u5c06\u4f7f\u7528apt install\u547d\u4ee4\u8fdb\u884c\u786e\u8ba4\u3002<\/p>\n<pre class=\"post-pre\"><code>$ sudo apt install postgresql-12-pgrouting\r\n\u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30b9\u30c8\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059... \u5b8c\u4e86\r\n\u4f9d\u5b58\u95a2\u4fc2\u30c4\u30ea\u30fc\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059                \r\n\u72b6\u614b\u60c5\u5831\u3092\u8aad\u307f\u53d6\u3063\u3066\u3044\u307e\u3059... \u5b8c\u4e86\r\n\u4ee5\u4e0b\u306e\u8ffd\u52a0\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059:\r\n  cpp-7 gcc-7-base gcc-8-base gdal-data libaec0 libarmadillo8 libarpack2\r\n  libblas3 libboost-serialization1.65.1 libcc1-0 libcgal13 libdap25\r\n  libdapclient6v5 libepsilon1 libfreexl1 libfyba0 libgcc1 libgdal20\r\n  libgeos-3.7.1 libgeos-c1v5 libgeotiff2 libgfortran4 libgif7 libgmpxx4ldbl\r\n  libgomp1 libhdf4-0-alt libhdf5-100 libkmlbase1 libkmldom1 libkmlengine1\r\n  liblapack3 libminizip1 libmysqlclient20 libnetcdf13 libodbc1 libogdi3.2\r\n  libopenjp2-7 libpq5 libproj12 libprotobuf-c1 libqhull7 libquadmath0\r\n  libsfcgal1 libspatialite7 libstdc++6 libsuperlu5 libsz2 liburiparser1\r\n  libxerces-c3.2 mysql-common odbcinst odbcinst1debian2 pgdg-keyring\r\n  postgresql-12 postgresql-12-pgrouting-scripts postgresql-12-postgis-3\r\n  postgresql-12-postgis-3-scripts postgresql-client-12\r\n  postgresql-client-common postgresql-common proj-bin proj-data sysstat\r\n\u63d0\u6848\u30d1\u30c3\u30b1\u30fc\u30b8:\r\n  gcc-7-locales geotiff-bin gdal-bin libgeotiff-epsg libhdf4-doc\r\n  libhdf4-alt-dev hdf4-tools libmyodbc odbc-postgresql tdsodbc unixodbc-bin\r\n  ogdi-bin postgresql-12-pgrouting-doc postgis postgresql-doc-12 libjson-perl\r\n  isag\r\n\u4ee5\u4e0b\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u65b0\u305f\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059:\r\n  gdal-data libaec0 libarmadillo8 libarpack2 libblas3\r\n  libboost-serialization1.65.1 libcgal13 libdap25 libdapclient6v5 libepsilon1\r\n  libfreexl1 libfyba0 libgdal20 libgeos-3.7.1 libgeos-c1v5 libgeotiff2\r\n  libgfortran4 libgif7 libgmpxx4ldbl libhdf4-0-alt libhdf5-100 libkmlbase1\r\n  libkmldom1 libkmlengine1 liblapack3 libminizip1 libmysqlclient20\r\n  libnetcdf13 libodbc1 libogdi3.2 libopenjp2-7 libpq5 libproj12\r\n  libprotobuf-c1 libqhull7 libquadmath0 libsfcgal1 libspatialite7 libsuperlu5\r\n  libsz2 liburiparser1 libxerces-c3.2 mysql-common odbcinst odbcinst1debian2\r\n  pgdg-keyring postgresql-12 postgresql-12-pgrouting\r\n  postgresql-12-pgrouting-scripts postgresql-12-postgis-3\r\n  postgresql-12-postgis-3-scripts postgresql-client-12\r\n  postgresql-client-common postgresql-common proj-bin proj-data sysstat\r\n\u4ee5\u4e0b\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3055\u308c\u307e\u3059:\r\n  cpp-7 gcc-7-base gcc-8-base libcc1-0 libgcc1 libgomp1 libstdc++6\r\n\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9: 7 \u500b\u3001\u65b0\u898f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb: 57 \u500b\u3001\u524a\u9664: 0 \u500b\u3001\u4fdd\u7559: 560 \u500b\u3002\r\n51.0 MB \u4e2d 50.4 MB \u306e\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u53d6\u5f97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\r\n\u3053\u306e\u64cd\u4f5c\u5f8c\u306b\u8ffd\u52a0\u3067 189 MB \u306e\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\u304c\u6d88\u8cbb\u3055\u308c\u307e\u3059\u3002\r\n\u7d9a\u884c\u3057\u307e\u3059\u304b? [Y\/n] \r\n<\/code><\/pre>\n<p>\u5982\u679c\u786e\u8ba4\u5df2\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305\uff0c\u5b89\u88c5postgresql-12-pgrouting\u5c06\u4f1a\u540c\u65f6\u5b89\u88c5PostgreSQL12\u548cPostGIS3.0\u3002\u90a3\u4e48\uff0c\u6211\u4eec\u7ee7\u7eed\u5b89\u88c5\uff0c\u8bf7\u8f93\u5165&#8221;Y&#8221;\u3002<\/p>\n<pre class=\"post-pre\"><code>\u7d9a\u884c\u3057\u307e\u3059\u304b? [Y\/n] y\r\n\uff1c\u7565\uff1e\r\npostgresql-12 (12.0-2.pgdg18.04+1) \u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059 ...\r\nCreating new PostgreSQL cluster 12\/main ...\r\n\/usr\/lib\/postgresql\/12\/bin\/initdb -D \/var\/lib\/postgresql\/12\/main --auth-local peer --auth-host md5\r\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b7\u30b9\u30c6\u30e0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6240\u6709\u8005\u306f\u30e6\u30fc\u30b6\"postgres\"\u3068\u306a\u308a\u307e\u3059\u3002\r\n\u3053\u306e\u30e6\u30fc\u30b6\u3092\u30b5\u30fc\u30d0\u30d7\u30ed\u30bb\u30b9\u306e\u6240\u6709\u8005\u3068\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\r\n\r\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30af\u30e9\u30b9\u30bf\u306f\u30ed\u30b1\u30fc\u30eb\"ja_JP.UTF-8\"\u3067\u521d\u671f\u5316\u3055\u308c\u307e\u3059\u3002\r\n\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u7b26\u53f7\u5316\u65b9\u5f0f\u306f\u305d\u308c\u306b\u5bfe\u5fdc\u3057\u3066UTF8\u306b\u8a2d\u5b9a\u3055\u308c\u307e\u3057\u305f\u3002\r\ninitdb: could not find suitable text search configuration for locale \"ja_JP.UTF-8\"\r\n\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30c6\u30ad\u30b9\u30c8\u691c\u7d22\u69cb\u6210\u306f simple \u306b\u8a2d\u5b9a\u3055\u308c\u307e\u3059\u3002\r\n\r\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b8\u306e\u30c1\u30a7\u30c3\u30af\u30b5\u30e0\u306f\u7121\u52b9\u3067\u3059\u3002\r\n\r\n\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\/var\/lib\/postgresql\/12\/main\u306e\u6a29\u9650\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059 ... ok\r\n\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059 ... ok\r\n\u52d5\u7684\u5171\u6709\u30e1\u30e2\u30ea\u306e\u5b9f\u88c5\u3092\u9078\u629e\u3057\u3066\u3044\u307e\u3059 ... posix\r\n\u30c7\u30d5\u30a9\u30eb\u30c8\u306emax_connections\u3092\u9078\u629e\u3057\u3066\u3044\u307e\u3059 ... 100\r\n\u30c7\u30d5\u30a9\u30eb\u30c8\u306e shared_buffers \u3092\u9078\u629e\u3057\u3066\u3044\u307e\u3059 ... 128MB\r\nselecting default time zone ... Asia\/Tokyo\r\n\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059 ... ok\r\n\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059 ... ok\r\n\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u5f8c\u306e\u521d\u671f\u5316\u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059 ... ok\r\n\u30c7\u30fc\u30bf\u3092\u30c7\u30a3\u30b9\u30af\u306b\u540c\u671f\u3057\u3066\u3044\u307e\u3059 ... ok\r\n\r\n\u6210\u529f\u3057\u307e\u3057\u305f\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d0\u3092\u8d77\u52d5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059:\r\n\r\n    pg_ctlcluster 12 main start\r\n\uff1c\u7565\uff1e\r\n<\/code><\/pre>\n<p>\u7531\u4e8e\u6210\u529f\u5b89\u88c5\u5b8c\u6210\uff0c\u6211\u5c06\u542f\u52a8\u5b83\u8fdb\u884c\u6d4b\u8bd5\u3002<\/p>\n<pre class=\"post-pre\"><code>$ sudo pg_ctlcluster 12 main start\r\n<\/code><\/pre>\n<p>\u4f3c\u4e4e\u5df2\u7ecf\u6210\u529f\u5730\u542f\u52a8\u4e86\uff0c\u6ca1\u6709\u9047\u5230\u4efb\u4f55\u9519\u8bef\u3002<\/p>\n<h2>\u6700\u521d\u7684\u8bbe\u7f6e<\/h2>\n<p>\u7531\u4e8e\u5df2\u7ecf\u521b\u5efa\u4e86postgres\u7528\u6237\uff0c\u56e0\u6b64\u5207\u6362\u5230\u8be5\u7528\u6237\u8fdb\u884c\u5de5\u4f5c\u3002<\/p>\n<pre class=\"post-pre\"><code>$ sudo su - postgres\r\n<\/code><\/pre>\n<p>\u4f7f\u7528psql\u547d\u4ee4\u8fde\u63a5\u5e76\u8bbe\u7f6epostgres\u8d26\u6237\uff08PostgreSQL\u767b\u5f55\u89d2\u8272\uff09\u7684\u5bc6\u7801\uff0c\u5e76\u521b\u5efa\u6d4b\u8bd5\u6570\u636e\u5e93\u3002<\/p>\n<pre class=\"post-pre\"><code>$ psql\r\npostgres=# ALTER USER postgres PASSWORD 'new_password';\r\nALTER ROLE\r\npostgres=# create database testdb;\r\nCREATE DATABASE\r\npostgres=# \\q\r\n<\/code><\/pre>\n<p>\u8fd9\u6b21\u6211\u4eec\u5c06\u4f7f\u7528postgres\u5e10\u6237\u8fde\u63a5\u5230\u6d4b\u8bd5\u6570\u636e\u5e93\uff0c\u5e76\u542f\u7528PostGIS\u548cpgRouting\u3002<\/p>\n<pre class=\"post-pre\"><code>$ psql -d testdb -U postgres\r\ntestdb=# CREATE EXTENSION postgis;\r\nCREATE EXTENSION\r\ntestdb=# CREATE EXTENSION pgrouting;\r\nCREATE EXTENSION\r\n<\/code><\/pre>\n<p>\u63a5\u4e0b\u6765\u6211\u4eec\u6765\u786e\u8ba4\u4e00\u4e0b\u7248\u672c\u3002<\/p>\n<pre class=\"post-pre\"><code>testdb=# SELECT postgis_version();\r\n            postgis_version            \r\n---------------------------------------\r\n 3.0 USE_GEOS=1 USE_PROJ=1 USE_STATS=1\r\n(1 \u884c)\r\n\r\ntestdb=# SELECT  * FROM pgr_version();\r\n version |  tag   |   hash    | branch | boost  \r\n---------+--------+-----------+--------+--------\r\n 2.6.2   | v2.6.2 | b14f4d56b | master | 1.65.1\r\n(1 \u884c)\r\n\r\n<\/code><\/pre>\n<p>\u6211\u5df2\u786e\u8ba4PostGIS 3.0\u548cpgRouting 2.6.2\u5df2\u5b89\u88c5\u3002<\/p>\n<p>\u8fd9\u5c31\u662f\u4ee5\u4e0a\u7684\u5185\u5bb9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>2019\u5e7410\u670820\u65e5\uff0cPostGIS\u7684\u4e3b\u8981\u7248\u672c\u5347\u7ea73.0\u5df2\u7ecf\u53d1\u5e03\uff01\u8bf7\u67e5\u770bhttps:\/\/postgis.ne [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-41838","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5c1d\u8bd5\u5728Ubuntu18.04 LTS\u4e0a\u642d\u5efapgRouting\u73af\u5883\uff0c\u4f7f\u7528PostGIS3.0\u7f16\u8f91 - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5c1d\u8bd5\u5728ubuntu18-04-lts\u4e0a\u642d\u5efapgrouting\u73af\u5883\uff0c\u4f7f\u7528postgis3-0\u7f16\u8f91\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5c1d\u8bd5\u5728Ubuntu18.04 LTS\u4e0a\u642d\u5efapgRouting\u73af\u5883\uff0c\u4f7f\u7528PostGIS3.0\u7f16\u8f91\" \/>\n<meta property=\"og:description\" content=\"2019\u5e7410\u670820\u65e5\uff0cPostGIS\u7684\u4e3b\u8981\u7248\u672c\u5347\u7ea73.0\u5df2\u7ecf\u53d1\u5e03\uff01\u8bf7\u67e5\u770bhttps:\/\/postgis.ne [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5c1d\u8bd5\u5728ubuntu18-04-lts\u4e0a\u642d\u5efapgrouting\u73af\u5883\uff0c\u4f7f\u7528postgis3-0\u7f16\u8f91\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-06T11:41:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-03T19:35:03+00:00\" \/>\n<meta name=\"author\" content=\"\u9038, \u79d1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u9038, \u79d1\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%9c%a8ubuntu18-04-lts%e4%b8%8a%e6%90%ad%e5%bb%bapgrouting%e7%8e%af%e5%a2%83%ef%bc%8c%e4%bd%bf%e7%94%a8postgis3-0%e7%bc%96%e8%be%91%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%9c%a8ubuntu18-04-lts%e4%b8%8a%e6%90%ad%e5%bb%bapgrouting%e7%8e%af%e5%a2%83%ef%bc%8c%e4%bd%bf%e7%94%a8postgis3-0%e7%bc%96%e8%be%91%e3%80%82\/\",\"name\":\"\u5c1d\u8bd5\u5728Ubuntu18.04 LTS\u4e0a\u642d\u5efapgRouting\u73af\u5883\uff0c\u4f7f\u7528PostGIS3.0\u7f16\u8f91 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-05-06T11:41:46+00:00\",\"dateModified\":\"2024-05-03T19:35:03+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%9c%a8ubuntu18-04-lts%e4%b8%8a%e6%90%ad%e5%bb%bapgrouting%e7%8e%af%e5%a2%83%ef%bc%8c%e4%bd%bf%e7%94%a8postgis3-0%e7%bc%96%e8%be%91%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%9c%a8ubuntu18-04-lts%e4%b8%8a%e6%90%ad%e5%bb%bapgrouting%e7%8e%af%e5%a2%83%ef%bc%8c%e4%bd%bf%e7%94%a8postgis3-0%e7%bc%96%e8%be%91%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%9c%a8ubuntu18-04-lts%e4%b8%8a%e6%90%ad%e5%bb%bapgrouting%e7%8e%af%e5%a2%83%ef%bc%8c%e4%bd%bf%e7%94%a8postgis3-0%e7%bc%96%e8%be%91%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5c1d\u8bd5\u5728Ubuntu18.04 LTS\u4e0a\u642d\u5efapgRouting\u73af\u5883\uff0c\u4f7f\u7528PostGIS3.0\u7f16\u8f91\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\",\"name\":\"\u9038, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"caption\":\"\u9038, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%9c%a8ubuntu18-04-lts%e4%b8%8a%e6%90%ad%e5%bb%bapgrouting%e7%8e%af%e5%a2%83%ef%bc%8c%e4%bd%bf%e7%94%a8postgis3-0%e7%bc%96%e8%be%91%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5c1d\u8bd5\u5728Ubuntu18.04 LTS\u4e0a\u642d\u5efapgRouting\u73af\u5883\uff0c\u4f7f\u7528PostGIS3.0\u7f16\u8f91 - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u5c1d\u8bd5\u5728ubuntu18-04-lts\u4e0a\u642d\u5efapgrouting\u73af\u5883\uff0c\u4f7f\u7528postgis3-0\u7f16\u8f91\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5c1d\u8bd5\u5728Ubuntu18.04 LTS\u4e0a\u642d\u5efapgRouting\u73af\u5883\uff0c\u4f7f\u7528PostGIS3.0\u7f16\u8f91","og_description":"2019\u5e7410\u670820\u65e5\uff0cPostGIS\u7684\u4e3b\u8981\u7248\u672c\u5347\u7ea73.0\u5df2\u7ecf\u53d1\u5e03\uff01\u8bf7\u67e5\u770bhttps:\/\/postgis.ne [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5c1d\u8bd5\u5728ubuntu18-04-lts\u4e0a\u642d\u5efapgrouting\u73af\u5883\uff0c\u4f7f\u7528postgis3-0\u7f16\u8f91\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-05-06T11:41:46+00:00","article_modified_time":"2024-05-03T19:35:03+00:00","author":"\u9038, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u9038, \u79d1","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%9c%a8ubuntu18-04-lts%e4%b8%8a%e6%90%ad%e5%bb%bapgrouting%e7%8e%af%e5%a2%83%ef%bc%8c%e4%bd%bf%e7%94%a8postgis3-0%e7%bc%96%e8%be%91%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%9c%a8ubuntu18-04-lts%e4%b8%8a%e6%90%ad%e5%bb%bapgrouting%e7%8e%af%e5%a2%83%ef%bc%8c%e4%bd%bf%e7%94%a8postgis3-0%e7%bc%96%e8%be%91%e3%80%82\/","name":"\u5c1d\u8bd5\u5728Ubuntu18.04 LTS\u4e0a\u642d\u5efapgRouting\u73af\u5883\uff0c\u4f7f\u7528PostGIS3.0\u7f16\u8f91 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-05-06T11:41:46+00:00","dateModified":"2024-05-03T19:35:03+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%9c%a8ubuntu18-04-lts%e4%b8%8a%e6%90%ad%e5%bb%bapgrouting%e7%8e%af%e5%a2%83%ef%bc%8c%e4%bd%bf%e7%94%a8postgis3-0%e7%bc%96%e8%be%91%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%9c%a8ubuntu18-04-lts%e4%b8%8a%e6%90%ad%e5%bb%bapgrouting%e7%8e%af%e5%a2%83%ef%bc%8c%e4%bd%bf%e7%94%a8postgis3-0%e7%bc%96%e8%be%91%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%9c%a8ubuntu18-04-lts%e4%b8%8a%e6%90%ad%e5%bb%bapgrouting%e7%8e%af%e5%a2%83%ef%bc%8c%e4%bd%bf%e7%94%a8postgis3-0%e7%bc%96%e8%be%91%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5c1d\u8bd5\u5728Ubuntu18.04 LTS\u4e0a\u642d\u5efapgRouting\u73af\u5883\uff0c\u4f7f\u7528PostGIS3.0\u7f16\u8f91"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487","name":"\u9038, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","caption":"\u9038, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e5%9c%a8ubuntu18-04-lts%e4%b8%8a%e6%90%ad%e5%bb%bapgrouting%e7%8e%af%e5%a2%83%ef%bc%8c%e4%bd%bf%e7%94%a8postgis3-0%e7%bc%96%e8%be%91%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41838","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=41838"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41838\/revisions"}],"predecessor-version":[{"id":95873,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41838\/revisions\/95873"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=41838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=41838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=41838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}