diff --git a/docs/assets/webapp/downloads-2.png b/docs/assets/webapp/downloads-2.png new file mode 100644 index 0000000000000000000000000000000000000000..48711eea4edf648af078f3c430e548cecbd58fc7 Binary files /dev/null and b/docs/assets/webapp/downloads-2.png differ diff --git a/docs/components/custom-apps/web-app/dataset/api.md b/docs/components/custom-apps/web-app/dataset/api.md index db8e0870bc7fcabadbe07289fe1c8d7f08108d34..ac25123b6ca4e48169325939f7d7c2f34a8d00da 100644 --- a/docs/components/custom-apps/web-app/dataset/api.md +++ b/docs/components/custom-apps/web-app/dataset/api.md @@ -25,11 +25,3 @@ Here is an example of the page. For each service you have the possibility to create a custom reequest (exception for the `SOS` service) and change the options such as the output formats, the projection system or the regions. From that you can copy the custom request, or download the resources that link will give you. In the previous example in the picture, I would be able to download the image of the 'arbres d'alignement' dataset from the WMS (Web Map Service). - -## Static resources - - - -## Other resources - - diff --git a/docs/components/custom-apps/web-app/dataset/dataset-detail.md b/docs/components/custom-apps/web-app/dataset/dataset-detail.md index e478ea01f0354fc4cc86fc545660aeb5f5987237..398a4f8d1f95f5191f706a037087828670307920 100644 --- a/docs/components/custom-apps/web-app/dataset/dataset-detail.md +++ b/docs/components/custom-apps/web-app/dataset/dataset-detail.md @@ -9,4 +9,4 @@ It's cut into one to four tabs: * [Data tab](./data.md): only if geographical data. It displays the data into a table and a map. * [Information](./info.md): always display. It presents the metadata and other important information of the dataset. * [Downloads](./downloads.md): a list of files available to download -* [API](./api.md): \ No newline at end of file +* [API](./api.md): access to the geographical services available for the dataset diff --git a/docs/components/custom-apps/web-app/dataset/downloads.md b/docs/components/custom-apps/web-app/dataset/downloads.md index 6134caf354191532dc1613efeb90461666974e22..ada412a0f06d2caf56e356bfeeba1900b15564e6 100644 --- a/docs/components/custom-apps/web-app/dataset/downloads.md +++ b/docs/components/custom-apps/web-app/dataset/downloads.md @@ -1,3 +1,15 @@ # Downloads - \ No newline at end of file +## From API + +In the first section, the files are created by using the API. + + + +For example a PNG file is created by querying the WMS service with specific paramameters. Then the response is converted into a `blob` to allow the browser launch the download. + +## Static and other resources + + + +Any other resources like static files (eg a `.csv` or `.tiff`) or an url are listed in two other sections as seen in the figure above. \ No newline at end of file diff --git a/docs/components/custom-apps/web-app/dataset/info.md b/docs/components/custom-apps/web-app/dataset/info.md index aee11614c41ded84213e6503241ba6f55202018d..54d649e105483f4f50d4c71cbd2435135534bcfb 100644 --- a/docs/components/custom-apps/web-app/dataset/info.md +++ b/docs/components/custom-apps/web-app/dataset/info.md @@ -7,15 +7,13 @@ This tab shows metadata related to the visited dataset. Let us note that metadata: * are originally filled in by the back-office team via the [GeoNetwork](https://www.geonetwork-opensource.org/) off-the-shelf application; -* comply to two different templates: -* ISO19139 for geographical datasets; -* Dublin Core for non-geographical datesets; +* comply to two different templates: + * ISO19139 for geographical datasets; + * Dublin Core for non-geographical datesets; * are indexed in Elasticsearch by a [custom indexer](https://forge.grandlyon.com/web-et-numerique/web-et-numerique-internet/data.grandlyon.com/web-portal/components/indexers/metadata-and-data), in order to enable full-text searches. This Web Application retrieves metadata from Elasticsearch, by applying a filter on the `slug` field. -*QUESTION: do you confirm that such a filter is the right one?* - ## Parent and children datasets Between datasets can exist a relationship of parents and children. It usually happens when many datasets share the same metadata, and then are separated in multiple datasets for the data.