Archived
1
0
Fork 0
This repository has been archived on 2026-03-24. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Svelte 46.1%
  • Rust 33.6%
  • TypeScript 16.1%
  • CSS 1.9%
  • JavaScript 1.8%
  • Other 0.5%
Find a file
2024-10-09 20:02:00 +03:00
.github/workflows Update build.yml 2024-10-09 11:48:44 +03:00
.vscode The Big Bang! 2024-10-09 11:14:00 +03:00
gdal@29fea61568 The Big Bang! 2024-10-09 11:14:00 +03:00
src Improving box select 2024-10-09 20:02:00 +03:00
src-tauri The Big Bang! 2024-10-09 11:14:00 +03:00
static The Big Bang! 2024-10-09 11:14:00 +03:00
.gitignore The Big Bang! 2024-10-09 11:14:00 +03:00
.gitmodules The Big Bang! 2024-10-09 11:14:00 +03:00
components.json The Big Bang! 2024-10-09 11:14:00 +03:00
package-lock.json The Big Bang! 2024-10-09 11:14:00 +03:00
package.json The Big Bang! 2024-10-09 11:14:00 +03:00
postcss.config.js The Big Bang! 2024-10-09 11:14:00 +03:00
README.md The Big Bang! 2024-10-09 11:14:00 +03:00
svelte.config.js The Big Bang! 2024-10-09 11:14:00 +03:00
tailwind.config.ts The Big Bang! 2024-10-09 11:14:00 +03:00
tsconfig.json The Big Bang! 2024-10-09 11:14:00 +03:00
vite.config.js The Big Bang! 2024-10-09 11:14:00 +03:00

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

VS Code + Svelte + Tauri + rust-analyzer.