Fix SRID not being optional for expression in GeometryCast
The current implementation of GeometryCast requires SRID to pressent in the expression.
The ST_GeomFromText specifications allows SRID not to be specified
I have adjusted GeometryCast to use the same regex and return 0 when SRID is not defined.
@nickknissen Hi, thanks for the PR, I'll review it later. What issue does it solve? Can you add tests to indicate the issue is solved?
@MatanYadaev
Currently ST_GeomFromText('POINT(9.581389 55.724167)') is not supported as an expression value. SRID is required.
I will add some tests.
@MatanYadaev I have updated the description with some more information about the error and added tests
Can you please resolve conflicts and fix CI?
Can you please resolve conflicts and fix CI?
It should be up to date now.
Thanks!