Skip to content

point is in polygon #28

@mohammad6006

Description

@mohammad6006

I create places table with name and location column
but location is not point
its polygon and i store polygon of a places in table

now how can i check the point is on which column

I try :

$s9 = new Point(38.021996, 46.3799);
$spaa = Place::find(3);
$spac = $spaa->location;
$result=$spac->contains('location',$s9);

but not work

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions