当前位置:网站首页>PostGIS create spatial database

PostGIS create spatial database

2022-06-26 14:23:00 Chaoying.

  • First create a normal database , Don't repeat
  • Add extensions to the created spatial database postgis, To store raster data, add extensions postgis raster

Methods to add extensions :

  • pgAdmin
     Insert picture description here
     Insert picture description here
  • pg Command line
CREATE EXTENSION postgis
    SCHEMA public
    VERSION "3.1.2";

CREATE EXTENSION postgis_raster
    SCHEMA public
    VERSION "3.1.2";

原网站

版权声明
本文为[Chaoying.]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202170508310922.html