Skip to content
Snippets Groups Projects
Commit eb243527 authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Merge branch 'master' of...

Merge branch 'master' of forge.grandlyon.com:web-et-numerique/web-et-numerique-internet/data.grandlyon.com/web-portal/documentation
parents 57a42f81 11a7bfd8
Branches
No related tags found
No related merge requests found
docs/assets/webapp/downloads.png

52.3 KiB | W: | H:

docs/assets/webapp/downloads.png

44.7 KiB | W: | H:

docs/assets/webapp/downloads.png
docs/assets/webapp/downloads.png
docs/assets/webapp/downloads.png
docs/assets/webapp/downloads.png
  • 2-up
  • Swipe
  • Onion skin
# Downloads
## From API
## From the API
In the first section, the files are created by using the API.
In the first section, the files are created by using the API (see [here](./api.md))
![Downloads query](../../../../assets/webapp/downloads.png)
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.
Depending on the format and the dataset, it is possible to modify the localization (municipality) and the projection system.
For each format, it may have 0, 1 or 2 parameters to download the file:
* datasets with an `insee` code have the option to choose the municipality
* for files retrived from services allowing multiple projection system as output (for example `WMS` or `WFS`), it's possible to choose the projection system
* for a file format with no projection system (for example JSON of the non-standard `WS` service), and a dataset with no `insee` code, no option are provided
Once the user clicked on the `Download button`, a 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
![Downloads other](../../../../assets/webapp/downloads-2.png)
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
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.
These files are raw resources (document or link), and cannot be configured as the resources using the API.
# Elasticsearch
## Data storage
## Multiple indexes
- [metadata and data](../indexers/metadata-and-data.md)
- [editorial content from Ghost](../indexers/editorial-content.md): posts and pages
## How the content is used
### Search
### Autocompletion
### Suggestion
### Editorial content
## Aliases strategy
Quid de la couche AUTHZ ?
## Multiple instances
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment