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

Martin Desruisseaux commented on CALCITE-5399:
----------------------------------------------

On the library stub approach, this is the purpose of GeoAPI interfaces 
([http://www.geoapi.org/).] Current implementations are:

* Apache SIS
* PROJ-JNI (native wrappers around PROJ C/C++ library)
* UCAR library in a separated project (limited services).

PROJ4J does not yet implement GeoAPI interfaces, but I may be able to offer 
them a contribution as an optional module (because not everyone will want those 
interfaces). If Calcite uses only GeoAPI interfaces for their map projection 
services, it would be implementation independent.

If the implementation is Apache SIS, there is no need for "provided" 
dependency. Instead, the EPSG data are provided in a separated JAR file. The 
developer need to add the Maven dependency themselves 
(https://sis.apache.org/epsg.html). If they do that, SIS detects and uses the 
data automatically. If they don't do that, SIS still work for everything that 
do not require EPSG codes (e.g. parsing a CRS definition in WKT or GML format). 
Alternatively, SIS also has a mechanism for allowing developers to prompt user 
the first time that en EPSG code is needed. So even if Calcite does nothing in 
this regard, developers using Calcite + SIS could do that if they want.


> Proj4j license is not compatible with Apache
> --------------------------------------------
>
>                 Key: CALCITE-5399
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5399
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Bertil Chapuis
>            Priority: Major
>
> As explained by [~desruisseaux] in [1], despite being released with an Apache 
> compatible license, Proj4j is a problematic dependency. The EPSG codes used 
> by Proj4j come with restrictive terms of use [2] and we should find an 
> alternative.
> [1] [https://lists.apache.org/thread/2g6j1jx7q5l1sx4mfp1w29obgnvrnvq5]
> [2] [https://epsg.org/terms-of-use.html]



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

Reply via email to