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

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.
主站蜘蛛池模板: 杭州市| 板桥市| 博野县| 南安市| 恩施市| 孝感市| 丹阳市| 西乡县| 永登县| 确山县| 冀州市| 湘西| 孟津县| 新密市| 太原市| 江永县| 汉川市| 迭部县| 浙江省| 象山县| 罗江县| 泰安市| 东丽区| 万载县| 精河县| 竹溪县| 辰溪县| 洞口县| 玉树县| 乌拉特中旗| 三原县| 喀喇| 景宁| 剑川县| 铜川市| 宜章县| 淄博市| 兴安县| 高要市| 理塘县| 宝清县|