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

Mechanism to manage non-standardized prj file #1312

Merged
merged 5 commits into from
Jun 16, 2022

Conversation

ebocher
Copy link
Member

@ebocher ebocher commented Jun 16, 2022

This PR adds a new mechanism to manage a prj that doesn't contain any EPSG authority code.

When a prj file doesn't contain any EPSG code, we read the prj and if the prj is valid we generate a default srid value.
The new srid value and prj information's are stored on a temporary table available for the current connection. The table is named USER_SPATIAL_REF_SYS.
The ST_Transform function has been updated to look in to USER_SPATIAL_REF_SYS when the SRID value is missing in the SPATIAL_REF_SYS.

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 this pull request may close these issues.

None yet

1 participant