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

Jia Yu commented on SEDONA-255:
-------------------------------

I think the latest implementation of ST_Point / ST_PolygonFromEnvelope in 
Scala/Java allows any double type values, no need to cast any more. Can you try 
it in R?

 

[~gregleleu] 

> R – Translation issue for ST_Point and ST_PolygonFromEnvelope
> -------------------------------------------------------------
>
>                 Key: SEDONA-255
>                 URL: https://issues.apache.org/jira/browse/SEDONA-255
>             Project: Apache Sedona
>          Issue Type: Bug
>            Reporter: Gregoire Leleu
>            Priority: Major
>
> dbplyr translation for ST_Point and ST_PolygonFromEnvelope casts coordinates 
> as "DECIMAL(24, 20)". This fails when coordinates are not lat/longs because 
> there are more than 4 digits before the decimal point.
> Easy to fix, but unsure what the correct CAST would be.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to