duckdb / duckdb_spatial

MIT License
489 stars 40 forks source link

The data cannot currently set up a coordinate system #361

Open tpolong opened 4 months ago

tpolong commented 4 months ago

The data cannot currently set up a coordinate system.I hope to support calculations in different coordinate systems.

Maxxen commented 4 months ago

Hello! Thanks for opening this issue.

Indeed it is true that DuckDB doesn't store the coordinate system identifier inside the GEOMETRY type yet, but you can still transform between different coordinate systems using the ST_Transform() function. I would recommend that you store a CRS identifier as a separate column to make it easier to track which coordinate system each geometry is in.

tpolong commented 4 months ago

您好,您的邮件已收到,谢谢!