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

function st_asewkb(traffic.geometry) does not exist #214

Open
jspetrak opened this issue Nov 6, 2020 · 0 comments
Open

function st_asewkb(traffic.geometry) does not exist #214

jspetrak opened this issue Nov 6, 2020 · 0 comments

Comments

@jspetrak
Copy link

jspetrak commented Nov 6, 2020

My Doctrine configurate has single geometry type added

point: CrEOF\Spatial\DBAL\Types\Geometry\PointType

I use it in single entity with following property definition

/**
 * @ORM\Column(type="point", nullable=true)
 */
private ?Point $location;

When launching web application, I am getting error

SQLSTATE[42883]: Undefined function: 7 ERROR: function st_asewkb(traffic.geometry) does not exist

I do not see implementation for ST_AsEWKB even though it is used by CrEOF\Spatial\DBAL\Platform\PostgreSql. I have also tried to create support implementation for SpatialDQLFunction and registered it into Doctrine as custom numeric function. It did not make any difference.

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

No branches or pull requests

1 participant