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 6d3519b64956286a5af67df219b0a3e60cef4601.
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()