当前位置:网站首页>PostGIS space function
PostGIS space function
2022-07-03 07:50:00 【A reserved and calm man】
1.ST_AsText()
Convert spatial data (geom type ) Display as text
2.ST_GeomFromGeoJSON()
take geojson Format data is converted into spatial data (geom type )
SELECT ST_AsText(ST_GeomFromGeoJSON('{"coordinates":[[[506725.4551631873,2492636.8135885904],[505878.7868031839,2487462.7288792557],[513216.58097909775,2488497.546337888],[513310.6529445854,2493671.6310472228]]],"type":"Polygon"}'))

3.ST_GeometryFromText()
take wkt Format text data into spatial data (geom type )
SELECT ST_AsText(ST_GeometryFromText('POLYGON((117.083114730229 22.5607317467891,117.082720462537 22.5607646218051,117.08269342201 22.5604848493124,117.082238586205 22.560524508964,117.082193809566 22.5600594071482,117.083049766267 22.559990716164,117.083114730229 22.5607317467891))'))
4.ST_Transform()
Coordinate conversion function
SELECT ST_AsText(ST_Transform(st_geometryfromtext('POLYGON((117.083114730229 22.5607317467891,117.082720462537 22.5607646218051,117.08269342201 22.5604848493124,117.082238586205 22.560524508964,117.082193809566 22.5600594071482,117.083049766267 22.559990716164,117.083114730229 22.5607317467891))',4326),2384))
边栏推荐
- Partage de l'expérience du projet: mise en œuvre d'un pass optimisé pour la fusion IR de la couche mindstore
- HarmonyOS第三次培训笔记
- Register keyword
- Iterm2 setting
- 【LeetCode】3. Merge Two Sorted Lists·合并两个有序链表
- Go language foundation ----- 10 ----- string related operations (operation function, string conversion)
- Go language foundation ----- 18 ----- collaboration security, mutex lock, read-write lock, anonymous lock, sync Once
- When did you find out that youth was over
- 哪一刻你才发现青春结束了
- Static keyword
猜你喜欢

Pat class a 1030 travel plan

Technical dry goods | reproduce iccv2021 best paper swing transformer with Shengsi mindspire

技术干货|利用昇思MindSpore复现ICCV2021 Best Paper Swin Transformer

The difference between hdmi2.1 and hdmi2.0 and the conversion of PD signals.

项目经验分享:基于昇思MindSpore,使用DFCNN和CTC损失函数的声学模型实现

Usage of requests module

技术干货 | AlphaFold/ RoseTTAFold开源复现(2)—AlphaFold流程分析和训练构建

技术干货|百行代码写BERT,昇思MindSpore能力大赏

在浏览器输入url后执行什么

【cocos creator】点击按钮切换界面
随机推荐
[at] ABC 258g - Triangle triples reachable - violence
WorldView卫星遥感影像数据/米级分辨率遥感影像
PAT甲级 1031 Hello World for U
LwIP learning socket (API)
The difference between hdmi2.1 and hdmi2.0 and the conversion of PD signals.
Project experience sharing: Based on mindspore, the acoustic model is realized by using dfcnn and CTC loss function
opensips与对方tls sip trunk对接注意事项
Redis batch startup and shutdown script
Go language foundation ----- 09 ----- exception handling (error, panic, recover)
[MySQL 12] MySQL 8.0.18 reinitialization
OSPF protocol summary
Go language foundation ----- 06 ----- anonymous fields, fields with the same name
技术干货|昇思MindSpore可变序列长度的动态Transformer已发布!
Iterm2 setting
How to clear the console password for s7700 device
experiment.........
技术干货|昇思MindSpore初级课程上线:从基本概念到实操,1小时上手!
【MindSpore论文精讲】AAAI长尾问题中训练技巧的总结
Go language - loop statement
[at] ABC 258g - triple Reach - violence