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

推荐订阅源

B
Blog
I
InfoQ
Y
Y Combinator Blog
The Last Watchdog
The Last Watchdog
博客园_首页
The Cloudflare Blog
博客园 - 【当耐特】
Engineering at Meta
Engineering at Meta
罗磊的独立博客
月光博客
月光博客
V
V2EX
大猫的无限游戏
大猫的无限游戏
腾讯CDC
GbyAI
GbyAI
云风的 BLOG
云风的 BLOG
Stack Overflow Blog
Stack Overflow Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Attack and Defense Labs
Attack and Defense Labs
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Google Online Security Blog
Google Online Security Blog
B
Blog RSS Feed
Webroot Blog
Webroot Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
N
Netflix TechBlog - Medium
量子位
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Vercel News
Vercel News
C
CERT Recently Published Vulnerability Notes
人人都是产品经理
人人都是产品经理
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Recent Announcements
Recent Announcements
Cyberwarzone
Cyberwarzone
G
Google Developers Blog
H
Heimdal Security Blog
MyScale Blog
MyScale Blog
The Register - Security
The Register - Security
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
aimingoo的专栏
aimingoo的专栏
T
Tenable Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
O
OpenAI News
C
Check Point Blog
Forbes - Security
Forbes - Security
SecWiki News
SecWiki News
K
Kaspersky official blog
The GitHub Blog
The GitHub Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
F
Full Disclosure
阮一峰的网络日志
阮一峰的网络日志

博客园 - Bo Schwarzstein

紫微斗数之自化禄真的是损耗嘛? 紫微斗数个人经验之三合或者四化看哪个 A Practical Methodology, HSM, Handler,Service,Model, for Golang Backend Development 问ChatGPT玄学问题,看来命理师还是不会被取代的 Compile Sqlite3 Executable, Static Library, and Shared Library on Linux Benchmark JuiceFS at AWS 2 Benchmark JuiceFS on AWS 1 Work with AWS VPC, Lambda and Internet Far & Unifield Field Augmented Reality 紫微斗数是否对外国人有用 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 Schwarzstein · 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  阅读(211)  评论()    收藏  举报