惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
P
Palo Alto Networks Blog
T
ThreatConnect
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
T
True Tiger Recordings
P
Privacy & Cybersecurity Law Blog
B
Blog
IT之家
IT之家
Last Week in AI
Last Week in AI
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
C
Comments on: Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
N
News and Events Feed by Topic
NISL@THU
NISL@THU
腾讯CDC
雷峰网
雷峰网
Security Latest
Security Latest
李成银的技术随笔
M
Microsoft Research Blog - Microsoft Research
L
LangChain Blog
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Check Point Blog
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
博客园 - Franky
N
News | PayPal Newsroom
V
V2EX
A
About on SuperTechFans
The Register - Security
The Register - Security
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
MyScale Blog
MyScale Blog
Cisco Talos Blog
Cisco Talos Blog
Vercel News
Vercel News
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
The Hacker News
The Hacker News
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
爱范儿
爱范儿
A
Arctic Wolf
L
LINUX DO - 最新话题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

博客园 - Bo Schwarzstein

紫微斗数之自化禄真的是损耗嘛? - Bo Schwarzstein 紫微斗数个人经验之三合或者四化看哪个 - Bo Schwarzstein A Practical Methodology, HSM, Handler,Service,Model, for Golang Backend Development 问ChatGPT玄学问题,看来命理师还是不会被取代的 - Bo Schwarzstein Compile Sqlite3 Executable, Static Library, and Shared Library on Linux Benchmark JuiceFS at AWS 2 - Bo Schwarzstein Benchmark JuiceFS on AWS 1 Work with AWS VPC, Lambda and Internet - Bo Schwarzstein Far & Unifield Field Augmented Reality 紫微斗数是否对外国人有用 - Bo Schwarzstein Create CloudFront Signed URL in 1 Minute 2022壬寅年天干四化 《中有成就秘笈》之中央密严刹土 IPFS与般若文海 Moira果老星宗七政四余排盘软件下载 Play Old Diablo 2 on macOS Catalina Use Go Micro Web with HTTP Handler 视频平台设计思路大灌顶 Unity Input System教程
发布关于PostGIS对于USD格式的拓展
Bo Schwarzst · 2023-08-07 · via 博客园 - Bo Schwarzstein

我们非常高兴的发布为了一年一度的SIGGRAPH 2023发布关于为PostGIS支持USD格式的新拓展。

新添加了3个函数

ST_AsUSDA(geom geometry, usd_root_name text, usd_geom_name text, width float)
ST_AsUSDC(geom geometry, usd_root_name text, usd_geom_name text, width float)
ST_GeomFromUSD(format int, content bytea)

函数ST_AsUSDA和ST_AsUSDC用于转换PostGIS的geometry为USD数据,可以是文本格式的USDA用于调试,或者是紧凑的二进制USDC格式。所有的参数解释如下。

  • geom, 输入PostGIS几何体
  • usd_root_name text, USD默认Prim的名字,默认为World
  • usd_geom_name text, 生成的USD对象Prim名字,默认为_geometry
  • width, 默认为1.0,对于点Point和线Curve类似的geomtry, 此参数设置其宽度

ST_GeomFromUSD用于转换USD文件到GEOMETRYCOLLECTION,

  • format,设置为1,输入内容为USDA,设置为2,为二进制USDC

代码仓库

  • https://github.com/j-cube/postgis

分支

  • feature-usd

编译和安装的方式等同于PostGIS,一切按照PostGIS文档所描述进行即可。

感谢香港特新科技对本项目的赞助和支持。

We're happy to annouce that the USD format in PostGIS is working for SIGGRAPH 2023.

There are 3 major functions were created,

ST_AsUSDA(geom geometry, usd_root_name text, usd_geom_name text, width float)
ST_AsUSDC(geom geometry, usd_root_name text, usd_geom_name text, width float)
ST_GeomFromUSD(format int, content bytea)

The function ST_AsUSDA and ST_AsUSDC are used convert a PostGIS geometry to USD content, either in ASCII(USDA) format or binary Crate format(USDC). Both of them supports all geometry type. Here is the explanation for all arguments.

  • geom, the PostGIS geometry
  • usd_root_name text, default value is "World", generated USD has default prim with same name
  • usd_geom_name text, default value is "_geometry", if a geometry contains sub-geometry, the all geometry object will be created with flatten USD prims with this name
  • width, default value is 1.0, for Point or Curve-like geometry, it sets the USD width at USD geometry

ST_GeomFromUSD is is used to convert a USD content back to a set of geometry wrapped by GEOMETRYCOLLECTION.

  1. format = 1 when content is USDA, format = 2 for USDC

Repository

  • https://github.com/j-cube/postgis

Branch

  • feature-usd

Build and test as PostGIS document described.

Thanks for the support from Jadason Technology Ltd for this project.

日本語

私たちは、PostGISでUSD格式をサポートすることが発表されました。

新し3つSQL関数は使えるようになりました。

ST_AsUSDA(geom geometry, usd_root_name text, usd_geom_name text, width float)
ST_AsUSDC(geom geometry, usd_root_name text, usd_geom_name text, width float)
ST_GeomFromUSD(format int, content bytea)

関数ST_AsUSDAとST_AsUSDCは、PostGISで幾何学的な物体、USD格式に変換します、USDA文本格式とUSDCバイナリ形式がサポートされます。

関数ST_GeomFromUSDは、SQL文本とバイナリのデータは、USDA文本格式とUSDCに変換することができます。引数formatは、1意味が入データが文本格式、2がバイナリ格式。

Repository

  • https://github.com/j-cube/postgis

Branch

  • feature-usd

スポンサーJadason Technlogy Ltdに感謝申し上げます。

posted on 2023-08-07 09:07  Bo Schwarzstein  阅读(197)  评论()    收藏  举报