[
https://issues.apache.org/jira/browse/SEDONA-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17597265#comment-17597265
]
JUAN MENDEZ commented on SEDONA-125:
------------------------------------
Looks like the _"quick and dirty"_ solution is to patch
geotools-wrapper-1.1.0-25.2.jar adding the new EPSG code to the file
_org\geotools\referencing\epsg\esri\unnamed.properties_
Looks like the right way to do it is to upgrade the EPSG libraries of geotools
to v10.075 but at this moment it is out of my reach (See
[https://github.com/geotools/geotools/pull/3997#issuecomment-1229998908] )
> Allows customized CRS in ST_Transform
> -------------------------------------
>
> Key: SEDONA-125
> URL: https://issues.apache.org/jira/browse/SEDONA-125
> Project: Apache Sedona
> Issue Type: New Feature
> Reporter: JUAN MENDEZ
> Priority: Major
>
> Is it possible to add a custom CRS?
>
> The following query:
> _st_transform(st_geomFromWKT(u.SHAPE),'EPSG:9377', 'EPSG:4326' )_
> raises this error:
> _org.opengis.referencing.NoSuchAuthorityCodeException: No code "EPSG:9377"
> from authority "European Petroleum Survey Group" found for object of type
> "CoordinateReferenceSystem"._
>
>
> This can be improved by better support (e.g., WKT CRS) for Geotools CRS:
> https://docs.geotools.org/latest/userguide/library/referencing/crs.html
--
This message was sent by Atlassian Jira
(v8.20.10#820010)