Skip to content

[Feature] 关于mysql MULTIPOLYGON 类型函数的支持 #627

Open

Description

@QingShan512

Description

SELECT id,camera_name FROM ivs_video_device WHERE st_contains(view_area, POINT(3, 3));
update ivs_video_device set view_area = st_geomfromtext('MULTIPOLYGON(((2 2, 2 7, 7 7, 7 2, 2 2)))') where id = 1694855561796;

我希望可以对MULTIPOLYGON使用查询和新增函数,但是目前未找到解决方案

Activity

  1. TommyLemon commented on Nov 12, 2023

    @TommyLemon
    Member

    用 @raw,把 POINT(3, 3) / st_contains(view_area, POINT(3, 3)) 和 st_geomfromtext('MULTIPOLYGON(((2 2, 2 7, 7 7, 7 2, 2 2)))') 作为原始 SQL 片段
    #588

  2. TommyLemon commented on Nov 12, 2023

    @TommyLemon
    Member

    新增支持多字段 IN,SQL 函数 作为 表达式 左侧 值 等条件
    0e947d2
    image

    "st_contains_view_area_point_3_3": 1,
    "@key":"st_contains_view_area_point_3_3:st_contains(view_area,POINT(3,3))"

  3. QingShan512 commented on Nov 13, 2023

    @QingShan512
    Author

    收到

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions