You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Michael Mior (JIRA)" <ji...@apache.org> on 2017/11/02 17:45:00 UTC

[jira] [Commented] (CALCITE-2031) Implement more OpenGIS functions

    [ https://issues.apache.org/jira/browse/CALCITE-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16236238#comment-16236238 ] 

Michael Mior commented on CALCITE-2031:
---------------------------------------

Sounds like a fun project to implement some of these. I'll take {{ST_X}} and {{ST_Y}} as a start.

> Implement more OpenGIS functions
> --------------------------------
>
>                 Key: CALCITE-2031
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2031
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>
> The initial set of OpenGIS functions were implemented in CALCITE-1968 but there are quite a few more to implement.
> Each function can be implemented separately, and with very little effort: you typically need to find the commented function in in {{[spatial.iq|https://github.com/apache/calcite/blob/master/core/src/test/resources/sql/spatial.iq]}} (it will be followed by the comment {{# Not implemented}}), add one or two queries as test case, add a method to {{GeoFunctions.java}}, iterate until the test cases work, then add a row to one of the tables in {{reference.md}} to document that the function is now implemented.
> I suggest that each pull request implements a few related functions. A good place to start would be {{ST_X(geom)}}; {{ST_Z(geom)}} is very similar and is already implemented.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)