Jia Yu created SEDONA-16:
----------------------------
Summary: Use a GeoTools Maven Central wrapper to fix failed
Jupyter notebook examples
Key: SEDONA-16
URL: https://issues.apache.org/jira/browse/SEDONA-16
Project: Apache Sedona
Issue Type: Improvement
Reporter: Jia Yu
Currently, GeoTools libraries are used in Sedona ShapefileReader and CRS
transformation. These are optional features.
GeoTools lib are put on OSGEO maven repo, not on Maven Central. This leads to
two issues
# Some cloud environments do not allow additional maven repo. Only Maven
Central is allowed.
# GeoTools internally depends on javax-media:jai-core 1.1.3. jai-core is not
available on Maven Central but on OSGEO and others repo. However, jai-core's
POM.xml file is on Maven Central. This misleads many environments to Maven
Central and stops there. For example, this method in Sedona Jupyter notebook
example does not work because of "jai-core not found" issue.
!image-2021-02-14-15-04-08-820.png!
To fix these two issues, I have created a Geotools wrapper to move GeoTools to
Maven Central. GeoTools is LGPL so I think this is OK. Please see my PR.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)