Giter Club home page Giter Club logo

mzs-tools's Introduction

MzS Tools

DOI Documentation Status

QGIS plugin for italian Seismic Microzonation.

Download and install from the QGIS 3.22+ plugin manager or directly from the plugin repository.

Documentation: https://mzs-tools.readthedocs.io

Changelog

v1.9.1

  • Updated style expressions for MS level 2-3 layers

v1.9.0

  • Updated styles and print layouts
  • Improved compatibility with MS standard v4.2

v1.8.3

  • Updated styles and expressions in QGIS project
  • Updated and improved print layouts
  • Added available regional CTR WMS services
  • Fix potential problems in import process

v1.8.2

  • Experimental fixes for slow data import and export processes
  • Updated styles and expressions in QGIS project
  • Updated and improved print layouts

v1.8.1

  • Fix problem with version strings in project update

v1.8

  • QGIS project template improvements

v1.7

  • Update ISTAT administrative boundaries and codes to the latest 2022 version
  • Update styles for editing layers
  • Add QGIS action for punctual and linear surveys layers to directly search for available survey documents in the project folder

v1.6

  • Fix Python error in geotec editing
  • Update project template (snapping options, symbols)

v1.5

v1.4

  • Updated to new MS 4.2 standards;
  • update project (fixed labels, update .py files, added new style);
  • updated italian manual.

v1.3

  • updated layout "CDI - Carta delle Indagini" (added legend);
  • updated export shapefiles and "Export geodatabase to project folder" tool (to meet the standards);
  • removed "Validate project" tool;
  • fixed bug in log files;
  • update project (fixed labels, update .py files);
  • updated italian manual.

v1.2

  • updated layouts ("Carta di Microzonazione Sismica (FA 0.1-0.5 s)", "Carta di Microzonazione Sismica (FA 0.4-0.8 s)", "Carta di Microzonazione Sismica (FA 0.7-1.1 s)");
  • added "pkey" field in "Indagini" and "Parametri" tables;
  • removed english manual.

v1.1

  • modified the layout layer "CDI - Indagini puntuali";
  • modified the layout layer "MOPS - HVSR";
  • updated export database ("CdI_Tabelle.sqlite").

v1.0

  • stable version;
  • added a new video-guide ("Indagine stazione singola (HVSR)");
  • update project (fixed labels and styles errors, update .py files);
  • updated italian manuals.

v0.9

  • update table "Indagine stazione singola (HVSR)", "freq.ui" mask and added a new layout ("Carta delle frequenze naturali dei terreni fr");
  • update constraint "quota_slm_top_verify" and "quota_slm_bot_verify" in "indagini_puntuali", "parametri_puntuali" and "parametri_lineari" tables;
  • moved export process to a separate thread;
  • export progress shown in qgis interface;
  • fixed bug in "siti_ind_param.py";
  • update "New project" tool;
  • added a new table ("metadati");
  • added a new video-guide ("Indagine stazione singola (HVSR)");
  • update project (in particular .ui, .py files);
  • updated italian manuals.

v0.8

  • fixed bug in "indagini_puntuali.py";
  • update "siti_puntuali" and "siti_lineari" triggers;
  • added a new table ("Indagine stazione singola (HVSR)") and a new layout ("Carta delle frequenze naturali dei terreni");
  • update project (in particular .ui, .py files);
  • changed update project process and removed "Update project" tool;
  • updated italian manuals.

v0.7

  • moved import process to a separate thread;
  • import progress shown in qgis interface;
  • fixed bug with empty numeric values in csv files during import;
  • reimplemented import log file;
  • added "Update project" tool;
  • update project (in particular .ui, .py files);
  • updated italian manuals.

v0.6

  • video-guide additions;
  • update project (in particular .ui, .py files);
  • resolved bugs;
  • updated italian manual.

v0.5

  • improved "Add feature or record" tool;
  • removed useless tool;
  • update project (in particular .ui, .py files);
  • resolved bugs;
  • updated manuals.

v0.4

  • initial relase.

Development

Some Python and PyQT libraries may be required depending on the development environment used. On Ubuntu:

sudo apt install python3-pip virtualenv python3-venv qttools5-dev-tools pyqt5-dev-tools

Example of a Linux development environment with Visual Studio Code, poetry and pb_tool:

  • Install poetry
  • Install Visual Studio Code with the Python, Pylance and reStructuredText (for documentation) extensions.
    • If needed, install the python libraries required for reStructuredText extension (pip install snooty-lextudio rstcheck)
  • Clone the repository
  • Execute poetry install
  • Open the project in vscode
  • Set vscode python interpreter (ctrl-shift-P - "Python: Select interpreter"), selecting the "Poetry" virtualenv in the list
  • Set PYTHONPATH in .env according to the position of the QGIS python libraries in your system
  • Change plugin_path in pb_tool.cfg according to the QGIS plugin path on your system
  • Execute poetry shell followed by pb_tool deploy to install the current plugin version in QGIS (pb_tool --help for more commands)
  • Install "First Aid" (for debugging) and "Plugin Reloader" (to reload the plugin deployed with pb_tool deploy) plugins in QGIS
  • Optionally, check and update the linting and formatting options in .vscode/settings.json.

Utility scripts:

  • Use the update_project_template.sh script (execute from the root of the repository), to update data/progetto_MS.zip package with modifications made in the template_code directory.
  • Use trans_update.sh to update the translations and then open the .ts file(s) in poedit to translate new strings or update existing translations.
  • Use trans_compile.sh to compile the updated translation(s).

mzs-tools's People

Contributors

dependabot[bot] avatar elpaso avatar emanueletarquini avatar fpennica avatar pinogcosentino avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mzs-tools's Issues

Better dev environment

  • poetry for dependency and virtualenv management
  • pb_tool
  • sphinx for future documentation management
  • flake8 and black for code linting and formatting
  • vscode settings

Inserimento "Indagini puntuali" - Parametro "classe_ind" non funziona

Step:

  1. inserimento indagine associata ad un sito già inserito
  2. Attiva modalità modifica per layer figlio
  3. Aggiungi elemento figlio
  4. nella finestra di inserimento non è possibile scegliere la Classe dell'indagine (classe_ind)

MzS Tools 1.9.0
QGIS 3.323.0 e 3.34.0
Windows 11 pro 23H2 x64

error

QGIS 2.18 EOL

Please note that QGIS 2.18 is end of life, and officially unsupported. Its use is discouraged.
Cheers.

Please remove unnecessary files

.pyc etc.
They are generated automatically during installation.
Also binary files (zip etc) should be removed or placed under a data dir, see other similar plugins.
Thanks.

general code refactoring

  • refactor gui classes initialization and logic
  • remove wildcard imports and format code
  • improve tool guis
  • implement tests

sphinx docs

remove pdf manual and add sphinx documentation

Bugs in "Indagini lineari" editing

  1. The “Message box” should be shown only when certain survey types are selected ("ERT", "PR", "SEO", "SEV", "RAD", "SL", "SR", "SGE", "STP").

  2. After creating a new "indagine lineare" and clicking ok, the survey type is reset, itroducing data inconsistencies

  3. Python error when selecting again the survey type from menu (tipo_ind):

2021-06-09 18_54_07-Window

  1. Selecting again the survey type and saving the record, the type is still null

svg symbols not recognized

When opening an existing MS project in a system where a new project has never been created, the svg symbols for "layout" layers are not displayed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.