Skip to content

[Enhancement] Fix GEO Functions Logic #62498

Closed
kaori-seasons/doris
#1

Description

@zclllyybb

Search before asking

  • I had searched in the issues and found no similar issues.

Description

Currently, we support a large number of geographic information functions (st_xxx), but some functions have not been correctly implemented with three-dimensional semantics, leading to incorrect or inconsistent calculation results.
This is the initial research: https://selectdb.feishu.cn/wiki/HCJYwb8HVi6k07kKseJcWTDdnbg

Solution

You need to review the current behavior of all geographic information functions and support the correct semantic for two-dimensional/ three-dimensional calculations.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. benvdh commented on Apr 15, 2026

    @benvdh

    @zclllyybb Is it perhaps an idea too look at GDAL for these implementations? It's licensed under a MIT like License, and has APIs for both Java and C++, and GDAL is already used in many geo-related applications...

    It could perhaps speed up the implementation of the geo functions too, and ensure implementations are correct...

  2. zclllyybb commented on Apr 15, 2026

    @zclllyybb
    ContributorAuthor

    @zclllyybb Is it perhaps an idea too look at GDAL for these implementations? It's licensed under the Apache License, and has APIs for both Java and C++, and GDAL is already used in many geo-related applications...

    It could perhaps speed up the implementation of the geo functions too, and ensure implementations are correct...

    actually we already have some basic libraries like S2 to do the same thing. considering should keep same behaviour with PostGIS, I think we'd better continue finishing our fix base on it.

  3. shiliang commented on Apr 30, 2026

    @shiliang

    I would like to take over this issue.

  4. zclllyybb commented on Apr 30, 2026

    @zclllyybb
    ContributorAuthor

    I would like to take over this issue.

    ok, let's do it!

  5. added 7 commits that reference this issue on Oct 1, 2026
    79f8438
    d9a9fb7
    9b23847
    72c0bfb
    c07654d
    f610235
    2c0847a
  6. github-actions commented on Oct 28, 2026

    @github-actions
    Contributor

    We're closing this issue because it hasn't been updated in a while.
    If you'd like to revive this issue, please reopen it and feel free a maintainer to remove the Stale tag!

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions