This is an automated email from the ASF dual-hosted git repository. desruisseaux pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/sis-site.git
The following commit(s) were added to refs/heads/main by this push: new a33365c Add warning and workaround for know bug: download of EPSG data does not work. https://issues.apache.org/jira/browse/SIS-523 a33365c is described below commit a33365c9566439ac5a7264004d4bbd8c84af57a6 Author: Martin Desruisseaux <martin.desruisse...@geomatys.com> AuthorDate: Tue Oct 12 12:27:30 2021 +0200 Add warning and workaround for know bug: download of EPSG data does not work. https://issues.apache.org/jira/browse/SIS-523 --- source/command-line.md | 20 ++++++++++++++++++++ source/javafx.md | 25 ++++++++++++++++++++++++- 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/source/command-line.md b/source/command-line.md index 55b39a0..3c35568 100644 --- a/source/command-line.md +++ b/source/command-line.md @@ -148,6 +148,26 @@ This automatic download happen only when using the command-line tools described Developers who wish to use the EPSG dataset in their applications can use the Maven artifact documented in [download](downloads.html#epsg) page. +<div class="warning"> +<h3>Known bug</h3> +<p>Automatic download of EPSG data described in above paragraph does not work, +because Maven central does not accept anymore <code>"http:"</code> URLs +(they have to be changed to <code>"https:"</code>). +This problem will be fixed in Apache {{% SIS %}} 1.2. +In the meantime, the following commands can be executed in a Unix shell as a workaround +if you accept the <a href="https://epsg.org/terms-of-use.html">EPSG terms of use</a>.</p> + +{{< highlight bash >}} +cd apache-sis-1.1/data +rm -rf Databases +wget https://repo1.maven.org/maven2/org/apache/sis/non-free/sis-embedded-data/1.1/sis-embedded-data-1.1.jar +unzip sis-embedded-data-1.1.jar SIS_DATA/Databases/* +mv SIS_DATA/Databases . +rmdir SIS_DATA +cd .. +{{< / highlight >}} +</div> + The above output is compatible with version 2 of _Well Known Text_ (WKT) format. The output format can be controlled as below: diff --git a/source/javafx.md b/source/javafx.md index 79061ce..a972a97 100644 --- a/source/javafx.md +++ b/source/javafx.md @@ -12,13 +12,36 @@ But it can give an idea of what is available there. For launching the application, [download](downloads.html) binaries, unzip then execute (on Unix system): {{< highlight bash >}} -bash -x apache-sis-{{% version %}}/bin/sisfx +bash apache-sis-{{% version %}}/bin/sisfx {{< / highlight >}} On first execution, the application will ask user to download the [JavaFX framework][JavaFX] (if not already done). That framework is not included in the Apache {{% SIS %}} binaries for licensing reasons (it is under GPL license). Later on, the application will offer to download the [EPSG geodetic dataset](epsg.html) when first needed. That dataset is not included neither again for licensing reasons. + + +<div class="warning"> +<h3>Known bug</h3> +<p>Automatic download of EPSG data described in above paragraph does not work, +because Maven central does not accept anymore <code>"http:"</code> URLs +(they have to be changed to <code>"https:"</code>). +This problem will be fixed in Apache {{% SIS %}} 1.2. +In the meantime, the following commands can be executed in a Unix shell as a workaround +if you accept the <a href="https://epsg.org/terms-of-use.html">EPSG terms of use</a>.</p> + +{{< highlight bash >}} +cd apache-sis-1.1/data +rm -rf Databases +wget https://repo1.maven.org/maven2/org/apache/sis/non-free/sis-embedded-data/1.1/sis-embedded-data-1.1.jar +unzip sis-embedded-data-1.1.jar SIS_DATA/Databases/* +mv SIS_DATA/Databases . +rmdir SIS_DATA +cd .. +{{< / highlight >}} +</div> + + After those two steps are completed, user can see an application like below: <div id="carousel" class="carousel slide" data-bs-ride="carousel">