Skip to content

Commit

Permalink
init profil mofa4q
Browse files Browse the repository at this point in the history
  • Loading branch information
pfavero-wheregroup committed Mar 19, 2024
0 parents commit f886bd6
Show file tree
Hide file tree
Showing 120 changed files with 39,621 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
__pycache__/
console_history.txt
*.d
previewImages/*
*.pyc
cache
mofa4q*.qgs~
geopackages/*.*
geopackages/public/*.*
geopackages/public/backup/
geopackages/private/*.*
geopackages/private/backup/
geopackages/dop/*.*
geopackages/search/*.*
/.idea/*
/.vscode/*
/bookmarks.xml
/mofa4q_attachments.zip
/user-history.db

674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

667 changes: 667 additions & 0 deletions QGIS/QGIS3.ini

Large diffs are not rendered by default.

2,271 changes: 2,271 additions & 0 deletions QGIS/QGISCUSTOMIZATION3.ini

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Profile MoFa4Q

MoFa4Q is abbreaviation of the german word "Mobile-Fachschale-QGIS" (mobile application for QGIS)

## Features
- Designed for offline use
- Reduced QGIS interface and optimized for tablet use, but can also be used in normal desktop use
- Customized layer selection
- Public layers (central management by administrator)
- Integration of local or private geopackages (in private section)
- Search in geopackages
- Address search
- Object search
- Imprint/AppInfo
- Toolbar:
- Zoom in and out
- Zoom to total extent of the geopackages
- Ruler and surface area measuring tool
- Object feature info
- Print dialog:
- Selection of print templates
- Selection of print scale
- Rotation of the print frame
- Export as PDF or direct print to the printer
- Add annotations/notes
- Using a geodata synctool to update the geodata

## Installation MoFa4Q
The installation can be done with MoFa4Q-Installer (see https://github.com/WhereGroup/qgis_mofa4q_installer)

## Data structure
* Public geopackages (and their QLR files) are imported by the synctool under the folder geopackages/public
The sequence_qlr.yml file is also imported
* Private geopackages are imported by the user (via the application) under geopackages/private
* The geopackage from the search remains as it was before (imported under geopackages/search)
* the geopackage from the background map is also imported by the installer under geopackages/dop
The background layer is referenced directly in the QGIS project (in the file mofa4q.qgs).

![alt text](init/data_structure.png)

### Synctool
MoFa4Q used all offline data, even for the background map. A Synctool has been developed to refresh and update the data. When the PC is connected to a network it is possible to check if new data is available and download it.


### Local customization by the user
The user settings are saved in a number of files so that the customized configuration is
is available again the next time the application is started.
The configuration files are:
- prj_conf.yaml: general configuration. For example, whether debug mode is active or whether the background map is switched off.
And it also contains the setting of the private layer
- annotations.yaml: the list of annotations (notes) is stored here
- the public layers are stored in the QLR files

## Activating debug mode
To activate the debug mode you have to define in the file python/plugins/moFa4Q_plugin
define isDebug: true
160 changes: 160 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
# Changelog

All notable changes to this project will be documented in this file.
For each version important additions, changes and removals are listed here.

The format is inspired from [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and the versioning aims to respect [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [v2.1.0] Minor and Feature Release - 2024-01-28

### Added
- add MainWindow Function and change icon or title name
- show warning when closing QGIS. Improve popup dialog
- add icon to main window
- add missed improt

### Changed
- simplify the gpkg_popup.py code
- adjust button dimensions based on resolution
- minor change
- change README.md
- change QGIS projects file
- optimize QGIS3.ini to version 3.34
- change QGIS Version to 3.34.1
- improve comments
- move file to the annotation folder
- change zoom to max extent

### Removed
- remove button function zoom out
- remove comment
- remove unuseful codes

### Fixed
- fix leftPanel bug on initialization
- fix macros indipendent from process of saving QLR file
- fix position buttons when monitor scale > 125%
- fix position buttons when page resized
- fix rotation for annotations in print
- fix and change main titel and icon path fix
- fix title of the main window
- fix bug log private geopackages

## [v2.0.2] Fix and Change - 2023-12-29

### Added
- add _initCheckGeopackagesLayer and change gpkg_popup.py to dynamic strings
- add new deployment
- add close qgis windows event to close btn of openSynchTool def
- add marco to gpkg_popup
- add alphabetically layers of a new private gpkg file

### Changed
- change manifest.txt
- change marco path
- change again height els in layer tree
- minor change
- increase width based on text in layer tree

### Removed
- remove horizontal scrollbar in layer tree
- remove unuseful resources, othe minor changes
- remove red symbol from text annotation
- remove fake geopackage

### Fixed
- fix gpkgPopup
- fix bugs
- fix marco and qgis project: Save automatic layertree to sequence.yml
- fix gpkgPopup.show mit custom text

## [v2.0.0] Minor and Feature Release - 2023-11-08

### Added
- improvement comments of annotations.py

### Changed
- change north-arrow to print templates
- improve print and pdf export
- change splash.png
- change projectfile to qgz basename

### Removed
- remove old qgis ltr version
- remove time info to print templates
- remove unused file
- optimze python code

### Fixed
- fix bug a4_hoch.qpt
- fix backgroundlayer
- fix problem dim frame of text notation
- fix mFeature.attribute id String of search dialog
- fix height of layer page in left panel
- fix extent of luftbilder layer and optimize view

## [v1.3.3] Change and Fix - 2023-10-13

### Added
- add more variable to manifest file

### Fixed
- fix path Server_folder

## [v1.3.2] Change and Fix - 2023-06-22

### Changed
- change and update qgis-ltr to 3.22.16

### Fixed
- fixed run msi installer

## [v1.3.1] Change and Fix - 2023-03-24

### Added

### Changed
- change and update to QGIS 3.28.4

### Removed

### Fixed
- bugfix qgis style

## [v1.3.0] Minor Release - 2022-07-01

### Added

### Changed
- toolbar disable

### Removed

### Fixed
- fix bug if info geopackage is corrupt

## [v1.2.6] Minor Release - 2022-05-31

### Added
- set visibility background image
- improve warning for search
- add empty folder to git

### Changed

### Removed

### Fixed

## [v1.2.5] Minor Release - 2021-11-19

### Added
- Improvement plot

### Changed

### Removed
- remove warning for some gpkgs

### Fixed
Loading

0 comments on commit f886bd6

Please sign in to comment.