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

Kurtis Seebaldt commented on SEDONA-39:
---------------------------------------

This can be fixed by setting a system property:

System.setProperty("org.geotools.referencing.forceXY", "true");

 

See here for more info:

https://docs.geotools.org/latest/userguide/library/referencing/order.html

> Fix the Lon/lat order in ST_Transform
> -------------------------------------
>
>                 Key: SEDONA-39
>                 URL: https://issues.apache.org/jira/browse/SEDONA-39
>             Project: Apache Sedona
>          Issue Type: Bug
>    Affects Versions: 1.0.0, 1.0.1
>            Reporter: Jia Yu
>            Priority: Major
>
> Since Sedona 1.0.0, the lon/lat order in ST_Transform is swapped by default. 
> This makes it inconsistent with PostGIS and other similar apps.
>  
> This should be fixed.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to