Releases: opengisch/QgisModelBaker
v3.0.5
v3.0.4
Changes in version v3.0.4
v3.0.3
Changes in version v3.0.3
Merge pull request #168 from AgenciaImplementacion/fix_try_tests
put 'try' before create schema
put 'try' before create schema
Merge pull request #157 from AgenciaImplementacion/fix_155
Make Generate Project work on GPKG DBs and PostGIS schemas even if they don't come from INTERLIS
Using 'finally' structure to DROP database always
'assert' functions give an AssertionError exception AssertionError exception https://docs.python.org/3/library/exceptions.html#AssertionError
Merge branch 'master' into fix_155
Merge pull request #166 from AgenciaImplementacion/second_try_add_model_name_to_tables
Add the model name for each table in tables_info (for both GPKG and PG)
Tests: Clear QgsProject instance before each test
Raise NotImplementedError to force subclasses to implement a db_connector method
Revert \n\n ensuring messages are always visible
Add the model name for each table in tables_info (for both GPKG and PG)
Merge pull request #154 from AgenciaImplementacion/project_optional_parameters
Make transactions and evaluate_default_values optional parameters in Project dataobject
Merge pull request #164 from AgenciaImplementacion/dockerfile_java8
Tests: Use openjdk-8-jre explicitly instead of 'default-jre' in Dockerfile
Tests: Clean QgsProject.instance() before testing number of layers loaded
Tests: Use openjdk-8-jre explicitly instead of 'default-jre' in Dockerfile to avoid error 'java.lang.NoClassDefFoundError: javax/xml/ws/Holder' from Java 9
Tests: Use openjdk-8-jre explicitly instead of 'default-jre' in Dockerfile to avoid error 'java.lang.NoClassDefFoundError: javax/xml/ws/Holder' from Java 9
Final tweaks for tests (fix 155)
Fix tests, add missing parenthesis
Final tweaks for generic database/schema tests
Adjusting tests for differencing between tables with geometries and without them
Merge pull request #161 from opengisch/catalogueimport
Allow importing itf, xml, xls, xlsx
Merge pull request #160 from opengisch/fix_relationid
Use relation.id instead of referencedlayer.name as identificator
Removed the name for QgsAttributeEditorRelation
Because in QGIS it's removed as well - as fallback it gives the relationid as name
Allow importing itf, xml, xls, xlsx
References #131
References #15
use relation-id instead of referencelayer-name
to use as identificator (and label) in the qgis vectorproperties - attributesform-configuration as an item in the drop-list of dragndrop.
Add GPKG prefix-suffix patterns for table names to ignore (some clients seem to add their own tables with prefix-suffixes that we'll now list)
Merge pull request #156 from AgenciaImplementacion/fix_minor_issue_
_metadata_exists() should return a value even if no schema is given
adding test_postgis_db_with_no_empty_and_no_interlis_schema, test_postgres_db_with_no_empty_and_no_interlis_schema, test_postgis_db_with_no_empty_and_no_interlis_schema and test_postgres_db_with_no_empty_and_no_interlis_schema
Adding test_postgres_db_without_schema, test_postgres_db_with_empty_schema, test_empty_geopackage_db, test_not_empty_ogr_geopackage_db and test_not_empty_geopackage_db
Handling exception sqlite3.OperationalError
Caused by an empty geopackage, geometry_columns table does not exist
Adding empty and not empty geopackage according to ogc rules (created with qgis)
Adding ogr_empty_table to ignored tables list
https://trac.osgeo.org/gdal/wiki/Release/2.2.0-News
Empty geopackage database
Merge branch 'fix_minor_issue_' of github.com:AgenciaImplementacion/projectgenerator into fix_155
Make sure Generator returns empty lists and dicts for empty PostgreSQL schemas
Merge pull request #158 from AgenciaImplementacion/fix_140
When units are defined, if alias is not found use column name
When units are defined, if alias is not found use column name
Revert "It failed if it did not have metadata"
This reverts commit 6d3519b.
Initial template for test generation or project without ili2db metadata
It failed if it did not have metadata
Make generate project on GPKG databases work even if they don't come from INTERLIS
Check if database/schema has no layers to load and if so, stop there
Check if source db or schema exists when generating directly from PG or GPKG
Make PostGIS schemas work even if not coming from INTERLIS; allow table names with capital letters
_metadata_exists() should return a value even if no schema is given
Make transactions and evaluate_default_values optional parameters in Project dataobject
Merge pull request #147 from AgenciaImplementacion/vector_layer_order_in_layer_tree
Order layers by geometry, even for subsequent calls to project.create()
Order layers by geometry type: Don't rely on QgsProject being a singleton
Order layers by geometry: Add docstrings to new functions
Order layers by geometry, even for subsequent calls to project.create()
v3.0.2
Changes in version v3.0.2
- Windows specific bugfix
v3.0.1
v3.0.0
Changes in version v3.0.0
Fix multigeometry tables loose nested relations
- When a table has multiple geometries it will be loaded in multiple layers. We therefore need to also create the relations multiple times.
Visual feedback of progress
- Add a progressbar to generating projects
Add an API to make this usable from other plugins
Comaptibility with QGIS 3.0.0 🎉
v2.0.1
v2.0.0
Changes in version v2.0.0
Use 'iliCode' field name for GeoPackage tests
Fix #97 (Domain-Class relations) and unit tests for both GPKG and PG
Use Open/Save GPKG button depending on mode (gpkg/ili2gpkg)
Make models from custom ili also appear in Import/Export dialogs
Hide password in Java command (Fix #110)
Revert "Reimplement qgis.utils.spatialite_connect to avoid crash on Windows"
This reverts commit d1c614a.
Now it is safe to use Project Generator (GeoPackage branch) in QGIS v2.99 on Windows
after qgis/QGIS@24e6366,
for instance: v2.99.0-45 or newer installers.
Improve PG regexp to discover check contraints; unit tests for both PG and GPKG (Fix #53)
Add help and about actions and improve help
Show units in label (alias)
previously they were shown inside the line edit as suffix.
Fix #99
Make parent dialogs ask for multiple models string
Support selection of multiple models in Generate/Import/Export dialogs
v1.1.1
Changes in version v1.1.1
This version introduces support for GeoPackage (*.gpkg) files, which is a major step because for the first time in the existence of project generator it is now possible to run in an environment without database server infrastructure.