MANAGE THE DATASETS YOU WANT TO DISPLAY
Configure your ODAMAP datasets
What you have to know
Your ODAMAP instance is fully configurable. So you can change either the texts, the translation, the data you want to display, the routes you want for your website, etc…
ODAMAP frontend/static
folder’s structure
frontend
│ README.md
│ .env
│
└─── static
│
└─── configs
│ │ ... <config files production / JSON files>
│
└─── datasets
│
└─── geodata
│ │ ... <your geojson data>
│
└─── prod
│ ... <your data as JSON>
The files contained in frontend/static
are integrated to the build when you run npm run dev
or npm run build
. They are served by your ODAMAP / SPA app.
Those files could be used as a primary source of data, or a backup source of data. More on that topic here
Those static files have different purposes :
frontend/static/configs
: contains the static configuration files, aka the translation to JSON of the config files. More info on that topic here ;frontend/static/datasets
: contains the static datasets./geeodata
: geoJSON files for you map components. More on that topic here ;/prod
: any other static dataset file you want to use for your instance.