Hello Christophe

Thanks for letting us know that it worked.

Le 04/06/2019 à 09:55, [email protected] a écrit :

> (…snip…)
> INFORMATION   [EPSGFactory.install] Creating EPSG schema in the 
> “jdbc:derby:L:/Christoph/SIS_DATA/Databases/SpatialMetadata” database.
> WARNUNG       [CommonCRS.geographic] Can not instantiate geodetic object for 
> “EPSG:4326”.
> ?             Caused by UnavailableFactoryException: Can not create the EPSG 
> schema in database.
> ?             Caused by FileNotFoundException: File “Tables.sql” has not been 
> found.
> (…snip…)
>
> I guess I have to add sis-epsg somewhere?

Yes. sis-epsg can not be on the Apache SIS classpath by default for
legal reasons, in order to make sure that users are aware that EPSG
licensing terms are different than Apache license. You can ignore the
warnings for now and create your own application. If sis-epsg is on the
classpath of your application and the SIS_DATA environment variable is
defined, than SIS will automatically creates the database in that
directory. The next time that you run the tests, SIS will detect that
the database exists and will use it even if the sis-epsg module is not
on the classpath.

Alternatively you can also download the SQL scripts manually from
http://www.epsg.org/ and unzip them in the
SIS_DATA/Databases/ExternalSources/ directory. SIS will use them
automatically for creating the database. Note: the version currently
available on www.epsg.org is more recent than the one currently bundled
in sis-epsg and I did not yet had an opportunity to test it with SIS.
However the compatibility between different versions of EPSG dataset is
generally good.

      Martin


Reply via email to