PostGIS

Ubuntu 安装Postgresql与PostGIS

1.前言最近在做GIS分析,采集设备的经纬度点判断是否进出围栏以及是否产生道路偏移报警,在之前的文章有介绍过Windows下使用C#来实现,参考文章:利用Postgresql+Postgis进行空间地理信息分析(道路偏移,进出电子围栏等)_postgres 空间分析_大鱼>的博客-CSDN博客最近新 ......
Postgresql PostGIS Ubuntu

centos7 yum安装Postgresql14和postgis

1.安装postgresql # 安装依赖包 yum install -y glibc-devel bison flex readline-devel zlib-devel pgdg-srpm-macros lz4-devel libicu-devel llvm5.0-devel llvm-tool ......
Postgresql centos7 postgis centos yum

centos7安装postgresql15、postgis3.3

直接使用yum安装的时候,都会提示缺少某些包无法安装。我这里把缺少的包的安装方式列一下。 yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest ......
postgresql postgis3 centos7 postgis centos

docker部署PostgreSQL数据库(带有postgis插件)

1、拉PostgreSQL(带有postgis插件)镜像 docker pull mdillon/postgis 2、启动数据库容器 docker run --name postgis -e POSTGRES_PASSWORD=postgis -p 5432:5432 -d mdillon/post ......
PostgreSQL 插件 postgis 数据库 数据

【SDE】docker安装 pg-postgis 并配置 sde

安装 # 1. 下载image docker pull postgis/postgis:12-3.3 # 4. 运行 sudo docker run --name postgis1233 -e POSTGRES_PASSWORD=test -v /home/postgis:/home/geoscen ......
pg-postgis postgis docker SDE sde

postgreSql使用postgis实现空间聚簇

聚合前 聚合后 具体sql /* 使用ST_ClusterDBSCAN函数,ST_ClusterDBSCAN是窗口函数用来对数据进行聚簇 第一个参数是字段,第二个参数是距离,他是用的是度,这里写0.000179大约就是20米,minpoints表示多少个聚合才算是一个簇,比如两台车就算是聚集,那就设 ......
postgreSql postgis 空间

PostGIS的geometry类型及使用方法

转:https://blog.csdn.net/supermapsupport/article/details/123573338 作者:WuMY PostGIS中矢量数据如何存储和构造,有哪些注意事项?其空间数据模型体系又遵循哪些标准规范?本文进行了详细介绍,并提供实操内容供读者参考。 此外,Yu ......
使用方法 geometry PostGIS 类型 方法

PostGIS创建Gis空间数据库,shp数据入库

转自:https://blog.csdn.net/An1090239782/article/details/123509645 postgresql 创建gis空间数据库,shp数据入库https://blog.csdn.net/gis_zzu/article/details/91045052htt ......
数据 PostGIS 数据库 空间 Gis

postgis导入shp数据指空间坐标系的方法

转自:https://www.jianshu.com/p/2e3f31b9b903 1、通过postgis导入界面进行设置 2、通过sql语句进行设置 SELECT UpdateGeometrySRID('表名','geom',4326); 执行成功后可在geometrycolomns里这个表的sr ......
坐标系 坐标 postgis 方法 数据

PostGIS安装及空间数据库的创建与shp数据导入

PostGIS is a spatial database extender for PostgreSQL object-relational database. It adds support for geographic objects allowing location queries to ......
数据 PostGIS 数据库 空间 shp

postgis常用函数介绍(二)

概述: 书接上文,本文继续讲解Postgres中常用的空间函数的使用。 常用函数: 1、判断geometry是否为空 通过函数st_isempty(geom)可以判断geometry是否为空,返回是布尔型的true或者false,具体使用如下: 2、判断一个geometry是否在一个geometry ......
函数 常用 postgis

PgSql - PostGIS 在 PostgreSQL 中使用

首先来介绍一下 PostGIS 是什么?PostGIS 是 PostgreSQL 对象关系数据库的一个空间数据库扩展。它增加了对地理对象的支持,允许在SQL中运行位置查询。 官方介绍: PostGIS:Spatial and Geographic objects for PostgreSQL Pos ......
PostgreSQL PostGIS PgSql

PostgreSQL 12及PostGIS离线安装(centos7.9)

PostgreSQL 12及PostGIS离线安装(centos7.9)postgresql 12.6安装下载插件设置镜像地址下载离线包切换用户进入 psql修改postgres(pgsql的)密码退出 psql设置允许的远程地址设置监听的端口及ipnavicator 连接外部psql连接pgcli ......
PostgreSQL PostGIS centos7 centos

PostGIS常用函数

1、st_astext 2、 3、st_dumppoints ST_DumpPoints 函数将几何对象中的所有点转换为单独的行,并返回一个包含所有点的几何对象集合。 以下是一个示例查询,它将一个 MULTIPOLYGON 对象转换为坐标集合,并使用 ST_AsText 函数将其转换为WKT格式的字 ......
函数 常用 PostGIS

KingbaseES数据库安装PostGIS扩展GEOSUnaryunionPrec错误

一、问题现象: KingbaseES V008R006C007B0012数据库集群安装PostGIS扩展插件报错。 create extension postgis; ERROR: could not load iibrary "/opt/kingbase/cluster/kingbase/lib/ ......

Postgresql结合Postgis实现大批量矢量点数据转换为线面数据

最近在测试客户给的csv数据时,发现了系统中处理的csv导入功能,存在内存处理不当的问题,问题背景是客户给的csv矢量点数据接近100万条,而我们工程师之前实现的时候,是将csv的数据全部查出到VO层,然后再分批插入,这种传统处理方式,在数据体量比较小的情况下,可以满足业务需求,但是当数据体量比较大 ......
数据 大批量 矢量 Postgresql Postgis

postgis如何判断要素的类型&判断要素的个数

st_geometrytype ST_NumGeometries 而ST_GeometryN是? 参考:https://qastack.cn/gis/28835/changing-geometry-type-from-point-to-multipoint-within-existing-table ......
要素 个数 postgis 类型 amp

postgis 点到线上的投影(垂足)

参考1:https://blog.csdn.net/xujingzhong0077/article/details/90168277(线性参考) 参考2:https://blog.csdn.net/qq_35629963/article/details/127369447 ......
点到 postgis

postgis create index创建索引&删除索引

CREATE INDEX "xxx_geom_idx" ON "public"."xxx" USING gist ( "geom" "public"."gist_geometry_ops_2d" ); 给某一列创建索引 在navicat里查看表时确实看到索引名的存在。 但是怎么知道这个索引有没有实际 ......
索引 postgis create index amp

mac 安装 postgis

### 安装 pgsql ``` brew uninstall --force postgresql rm -rf /usr/local/var/postgres brew install postgres brew install postgis ``` ### 查看版本 ``` psql -V ......
postgis mac

pg、mysql_fdw、postgis安装

pg wget https://ftp.postgresql.org/pub/source/v14.4/postgresql-14.4.tar.gz --no-check-certificateyum install -y gcc xml2 readlinedev* zlib perldev* py ......
mysql_fdw postgis mysql fdw

发布关于PostGIS对于USD格式的拓展

我们非常高兴的发布为了一年一度的SIGGRAPH 2023发布关于为PostGIS支持USD格式的新拓展。 新添加了3个函数 ST_AsUSDA(geom geometry, usd_root_name text, usd_geom_name text, width float) ST_AsUSDC ......
发布关于 PostGIS 格式 USD

PostGIS:ST_LineLocatePoint函数

`ST_LineLocatePoint` 是 PostGIS 中的一个函数,用于计算点在线段上的位置。 函数的语法如下: ```sql ST_LineLocatePoint(geometry linestring, geometry point); ``` 参数说明: - `geometry lin ......

KingbaseES数据库安装PostGIS扩展GEOSUnaryunionPrec错误

## 一、问题现象: KingbaseES V008R006C007B0012数据库集群安装PostGIS扩展插件报错。 ``` create extension postgis; ERROR: could not load iibrary "/opt/kingbase/cluster/kingba ......

使用docker部署pg集群(postgresql+postgis+pgrouting+pgpool)

# 使用docker部署pg集群(postgresql+postgis+pgrouting+pgpool) ## 1,安装docker ```` yum install docker ```` ## 2,拉取docker容器 ```` docker pull hub-mirror.c.163.com ......
集群 postgresql pgrouting postgis docker

Ubuntu18.04下安装PostgreSQL 9.6和PostGis 2.5

### 一、安装PostgreSQL #### 1、添加库 ``` sudo add-apt-repository "deb https://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" ``` #### 2、添加key ``` wget - ......
PostgreSQL PostGis Ubuntu 18.04 9.6

PostGIS 空间数据库入门

### 一、简介 #### 1、PostgreSQL 与 PostGIS关系 我们在开发中可能需要使用 GIS 的需求,尽管在PostgreSQL提供了上述几项支持空间数据的特性,但其提供的空间特性很难达到GIS的要求,主要表现在 :缺乏复杂的空间类型;没有提供空间分析;没有提供投影变换功能。为了使 ......
PostGIS 数据库 数据 空间

centos7使用yum安装postgis数据库

https://www.postgresql.org/download/linux/redhat/ 1 添加PostgreSQL Yum源 sudo yum install epel-release sudo yum install -y https://download.postgresql.or ......
centos7 postgis 数据库 数据 centos

PostGIS中获取所有EPSG的编码以及对应Proj4字符串

场景 PostGIS在Windows上的下载与安装: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/124107198 在上面安装好PostGIS后会默认生成一个spatial_ref_sys表,此表 保存空间数据库中使用的坐标系 ......
字符串 字符 编码 PostGIS Proj4

Ubuntu:PostgreSql安装PostGis、TimeScaleDB插件

Ubuntu:PostgreSql安装PostGis、TimeScaleDB插件 https://docs.timescale.com/self-hosted/latest/install/installation-linux/ Installing self-hosted TimescaleDB ......
TimeScaleDB PostgreSql 插件 PostGis Ubuntu
共34篇  :1/2页 首页上一页1下一页尾页