Skip to content

Releases: opengisch/QgisModelBaker

v3.0.5

12 Apr 06:31
Compare
Choose a tag to compare

Changes in version v3.0.5

Improve layer order by taking rasters and tables into account

Configure domains for structures

Improve layer order by taking rasters and tables into account

Fix domains for layers with multiple geometries

Configure domains of multigeometry tables

Fix #116

v3.0.4

06 Apr 12:50
Compare
Choose a tag to compare

Changes in version v3.0.4

v3.0.3

06 Apr 12:31
Compare
Choose a tag to compare

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

13 Mar 12:06
Compare
Choose a tag to compare

Changes in version v3.0.2

  • Windows specific bugfix

v3.0.1

12 Mar 20:26
Compare
Choose a tag to compare

Changes in version v3.0.1

Support for 3D geometries

  • Properly detect Z and M values in Postgis (Fix #124)

Updated ili2pg

  • Update ili2pg to v3.11.2

v3.0.0

03 Mar 12:57
Compare
Choose a tag to compare

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

09 Jan 17:04
3f693f0
Compare
Choose a tag to compare

Changes in version v2.0.1

Fix link to docs

Do not print added layers

Fix #92

By default evaluate default values server side

v2.0.0

15 Dec 07:28
Compare
Choose a tag to compare

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

25 Nov 14:11
Compare
Choose a tag to compare

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.

v1.0.1

21 Sep 14:52
868552b
Compare
Choose a tag to compare

Changes in version v1.0.1

Multiple repositories single ilimodels.xml file

Fix #102

Use Smart2 inheritance as default

Ignore alias tables if missing