Skip to content

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

@jspetrak

Description

@jspetrak

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions