名稱

postgis_srs_codes — 返回與給定授權機構相關聯的 SRS 代碼列表。

概要

setof text postgis_srs_codes(text auth_name);

說明

返回給定 auth_name 的所有 auth_srid 集合。

可用性: 3.4.0

Proj 版本 6+

範例

列出與 EPSG 授權機構相關聯的前十個代碼。

SELECT * FROM postgis_srs_codes('EPSG') LIMIT 10;

 postgis_srs_codes
-------------------
 2000
 20004
 20005
 20006
 20007
 20008
 20009
 2001
 20010
 20011