Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WKT might contain a SRID #1731

Open
jze opened this issue Feb 2, 2025 · 1 comment · May be fixed by #1732
Open

WKT might contain a SRID #1731

jze opened this issue Feb 2, 2025 · 1 comment · May be fixed by #1732

Comments

@jze
Copy link
Contributor

jze commented Feb 2, 2025

I found a CSV file that contains a column with Well-known-text (WKT) that includes a Spatial Reference System Identifier (SRID), e.g.
SRID=25832;POINT (574009.086492192 6028393.69530573)

@jze jze linked a pull request Feb 2, 2025 that will close this issue
@pierrecamilleri
Copy link
Collaborator

Hi Jesper,

From what I understand:

  • WKT is supported as a string format in frictionless-py (only documentation I found) but is not specified in TableSchema.
  • SRID prefix support is not part of the standard WKT but a PostGIS extended version EWKT.
  • it seems that the SRID is the major (if not only) difference between WKT and EWKT (from the previous link : )

a PostGIS specific format that includes the spatial reference system (SRID) identifier

Under these conditions, I think it is OK to add support for EWKT (even if the format name is kept as wkt), provided we leave some hint about it in the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants