Deprecated by: https://youtu.be/ce1jMSyGJWE
- Svelte 46.1%
- Rust 33.6%
- TypeScript 16.1%
- CSS 1.9%
- JavaScript 1.8%
- Other 0.5%
| .github/workflows | ||
| .vscode | ||
| gdal@29fea61568 | ||
| src | ||
| src-tauri | ||
| static | ||
| .gitignore | ||
| .gitmodules | ||
| components.json | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| svelte.config.js | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
| vite.config.js | ||
HazTR
A GIS natural hazard analysis software.
Development
Ubuntu
Install Rust
Install GDAL
sudo apt install libgdal-dev
Install GEOS
sudo add-apt-repository ppa:ubuntugis/ppa
sudo apt install libgeos-dev
Clone Repository
git clone https://github.com/ManeraKai/haztr
cd haztr/
Run
npm run tauri dev
Windows
Install Rust
Install Miniconda
Install GDAL.
conda install -c conda-forge gdal=3.6.2
Install GDAL Libraries
Download and extract release-1930-x64-gdal-3-8-4-mapserver-8-0-1-libs.zip. Then add the below as an environment variable.
- GDAL_LIB_DIR:
C:\xxxxxxxx\shgdal\release-1930-x64-gdal-3-8-4-mapserver-8-0-1-libs\
Install GEOS
conda install -c conda-forge geos=3.11.1
Look where \include\geos\ is in your conda system files. Then add the below as environment variables:
- GEOS_LIB_DIR:
C:\xxxxxxxx\include\geos\ - GEOS_VERSION:
3.11.1
Install pkg-config
conda install -c conda-forge pkg-config
Clone Repository
git clone https://github.com/ManeraKai/haztr
cd haztr/
Run
npm run tauri dev
Recommended IDE Setup
VS Code + Svelte + Tauri + rust-analyzer.