時(shí)間:2023-05-07 22:39:01 | 來(lái)源:網(wǎng)站運(yùn)營(yíng)
時(shí)間:2023-05-07 22:39:01 來(lái)源:網(wǎng)站運(yùn)營(yíng)
空間數(shù)據(jù)庫(kù):PostSQL+PostGIS+plv8Point 點(diǎn) | |
---|---|
Geometry 幾何 | |
Feature 要素 | |
Feature Class 要素類 | 要素的集合,地理對(duì)象 |
Point | Curve 曲線 | Surface 面 |
---|---|---|
LineString | Line | LinearRing |
---|---|---|
閉合線,不算作面 |
MultiPoint | MultiLingString | MultiPolygon |
---|---|---|
群島點(diǎn) | 河流水系分支 | 群島塊 |
ln -s /usr/local/share/postgresql/extension/postgis* /usr/local/Cellar/postgresql/13.1/share/postgresql/extension/ln -s /usr/local/lib/postgresql/postgis-3.so /usr/local/Cellar/postgresql/13.1/lib/postgresqlln -s /usr/local/lib/postgresql/rtpostgis-2.3.so /usr/local/Cellar/postgresql/13.1/lib/
sudo docker run -it --name pgsql -e "POSTGRES_PASSWORD=~" -e POSTGRES_USER=Alex -p 5432 -d postgresdocker ps -a #啟動(dòng)
也選用postgresql集成postGIS好的docker pull kartoza/postgisdocker start jiang_postgisdocker pull dpage/pgadmin4docker ps #啟動(dòng)docker exec -it f14ca5f1cd9d bashcat /etc/hosts
官網(wǎng)host.docker.internal
注意這時(shí)候我設(shè)置的用戶名和密碼已經(jīng)是Alex,~http://localhost:5433/ #也可以網(wǎng)頁(yè)打開(kāi)http://172.17.0.2:5433/ #一般是這個(gè)
重啟后的電腦 sudo docker run --name postgrest_tut -p 54321:5432 -e POSTGRES_MULTIPLE_EXTENSIONS=postgis -d -t kartoza/postgis
要在docker中安裝虛擬機(jī) LInuxdocker container ls
docker run --name my_postgis_server -p 5433:5432 -e POSTGRES_USER=postgres -d mdillon/postgis
geom 就是地理位置(可以是國(guó)家也可以是城市)PG_MODE=primaryPG_PRIMARY_USER=postgresPG_PRIMARY_PASSWORD=postgres PG_DATABASE=postgisdbPG_USER=pgisdbPG_PASSWORD=postgresPG_ROOT_PASSWORD=postgresPG_PRIMARY_PORT=5433
docker run --publish 5451:5451 / --volume=pgvolume:/pgdata / --env-file=pg-env.list / --name=postgres / --hostname=postgres / --network=pgnetwork / --detach /crunchydata/crunchy-postgres-gis:centos8-13.2-3.0-4.6.2
一行docker run --publish 5432:5432 --volume=pgvolume:/pgdata --env-file=pg-env.list --name=postgres --hostname=postgres --network=pgnetwork --detach crunchydata/crunchy-postgres-gis:centos8-13.2-3.0-4.6.2
PGADMIN_SETUP_EMAIL=pgadminPGADMIN_SETUP_PASSWORD=pgadminSERVER_PORT=5050
docker run --publish 5050:5050 / --volume=pgvolume:/pgdata / --env-file=pgadmin-env.list / --name=pgadmin / --hostname=pgadmin / --network=pgnetwork / --detach /crunchydata/crunchy-pgadmin4:centos8-13.2-4.6.2
arm64下的postgishttp://localhost:5051/
查看IP關(guān)鍵詞:數(shù)據(jù),空間
客戶&案例
營(yíng)銷資訊
關(guān)于我們
客戶&案例
營(yíng)銷資訊
關(guān)于我們
微信公眾號(hào)
版權(quán)所有? 億企邦 1997-2025 保留一切法律許可權(quán)利。