官术网_书友最值得收藏!

Connecting to external data sources with foreign data wrappers

Since PostgreSQL 9.1, one can use Foreign Data Wrappers (FDW) in order to connect to the external data sources that are then treated as they were local tables. More information can be found on the PostgreSQL wiki: https://wiki.postgresql.org/wiki/Foreign_data_wrappers.

Querying the external files or databases seems to be standard these days. But how about querying WFS services or OSM directly? Now, this sounds cool, doesn't it? You should certainly have a look at some of the clever GEO data wrappers:

In this example, we'll use ogr_fdw to connect to some external data sources. Starting with PostGIS 2.2, it is a part of the bundle and there is no need to install it as it should already be available.

Examples shown in this section can be executed in both psql or in PgAdmin.
主站蜘蛛池模板: 禄丰县| 余庆县| 沂源县| 丁青县| 施甸县| 张掖市| 敖汉旗| 聊城市| 星子县| 吉木乃县| 郑州市| 茶陵县| 三门峡市| 临邑县| 阿克| 盱眙县| 潞城市| 安国市| 都安| 加查县| 南乐县| 尖扎县| 海南省| 平湖市| 丹寨县| 江安县| 磴口县| 即墨市| 香河县| 剑阁县| 油尖旺区| 宝应县| 平顶山市| 通州市| 泰顺县| 沅陵县| 博野县| 通山县| 射洪县| 玉树县| 咸丰县|