Skip to content

Commit

Permalink
[quality] Make sure duplicate_ids field in error_layers support very …
Browse files Browse the repository at this point in the history
…long lists of t_ili_tids (fix #467)
  • Loading branch information
gacarrillor committed Jul 23, 2021
1 parent 2c17329 commit 7a0491d
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions asistente_ladm_col/config/quality_rules_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def get_quality_rules_config():
QUALITY_RULE_NAME: translated_strings[EnumQualityRule.Point.OVERLAPS_IN_BOUNDARY_POINTS],
QUALITY_RULE_TABLE_NAME: QCoreApplication.translate("QualityRulesConfig", "punto_lindero_superposicion"),
QUALITY_RULE_TABLE_FIELDS: [
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_punto_lindero"), QVariant.String),
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_punto_lindero"), QVariant.String, 'string'),
QgsField(QCoreApplication.translate("QualityRulesConfig", "conteo"), QVariant.Int)
],
QUALITY_RULE_DOMAIN_ERROR_CODES: [
Expand All @@ -145,7 +145,7 @@ def get_quality_rules_config():
QUALITY_RULE_NAME: translated_strings[EnumQualityRule.Point.OVERLAPS_IN_CONTROL_POINTS],
QUALITY_RULE_TABLE_NAME: QCoreApplication.translate("QualityRulesConfig", "punto_control_superposicion"),
QUALITY_RULE_TABLE_FIELDS: [
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_punto_control"), QVariant.String),
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_punto_control"), QVariant.String, 'string'),
QgsField(QCoreApplication.translate("QualityRulesConfig", "conteo"), QVariant.Int)
],
QUALITY_RULE_DOMAIN_ERROR_CODES: [
Expand Down Expand Up @@ -413,7 +413,7 @@ def get_quality_rules_config():
QUALITY_RULE_TABLE_NAME: QCoreApplication.translate("QualityRulesConfig", "participaciones_agrupacion_no_suman_1"),
QUALITY_RULE_TABLE_FIELDS: [
QgsField(QCoreApplication.translate("QualityRulesConfig", "id_agrupacion"), QVariant.String),
QgsField(QCoreApplication.translate("QualityRulesConfig", "miembros"), QVariant.String),
QgsField(QCoreApplication.translate("QualityRulesConfig", "miembros"), QVariant.String, 'string'),
QgsField(QCoreApplication.translate("QualityRulesConfig", "suma_participaciones"), QVariant.String)
],
QUALITY_RULE_DOMAIN_ERROR_CODES: [
Expand Down Expand Up @@ -539,7 +539,7 @@ def get_quality_rules_config():
QUALITY_RULE_NAME: translated_strings[EnumQualityRule.Logic.DUPLICATE_RECORDS_IN_BOUNDARY_POINT],
QUALITY_RULE_TABLE_NAME: QCoreApplication.translate("QualityRulesConfig", "punto_lindero_con_registro_repetido"),
QUALITY_RULE_TABLE_FIELDS: [
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String),
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String, 'string'),
QgsField(QCoreApplication.translate("QualityRulesConfig", "conteo"), QVariant.Int)
],
QUALITY_RULE_DOMAIN_ERROR_CODES: [
Expand All @@ -551,7 +551,7 @@ def get_quality_rules_config():
QUALITY_RULE_NAME: translated_strings[EnumQualityRule.Logic.DUPLICATE_RECORDS_IN_SURVEY_POINT],
QUALITY_RULE_TABLE_NAME: QCoreApplication.translate("QualityRulesConfig", "punto_levantamiento_con_registro_repetido"),
QUALITY_RULE_TABLE_FIELDS: [
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String),
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String, 'string'),
QgsField(QCoreApplication.translate("QualityRulesConfig", "conteo"), QVariant.Int)
],
QUALITY_RULE_DOMAIN_ERROR_CODES: [
Expand All @@ -563,7 +563,7 @@ def get_quality_rules_config():
QUALITY_RULE_NAME: translated_strings[EnumQualityRule.Logic.DUPLICATE_RECORDS_IN_CONTROL_POINT],
QUALITY_RULE_TABLE_NAME: QCoreApplication.translate("QualityRulesConfig", "punto_control_con_registro_repetido"),
QUALITY_RULE_TABLE_FIELDS: [
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String),
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String, 'string'),
QgsField(QCoreApplication.translate("QualityRulesConfig", "conteo"), QVariant.Int)
],
QUALITY_RULE_DOMAIN_ERROR_CODES: [
Expand All @@ -575,7 +575,7 @@ def get_quality_rules_config():
QUALITY_RULE_NAME: translated_strings[EnumQualityRule.Logic.DUPLICATE_RECORDS_IN_BOUNDARY],
QUALITY_RULE_TABLE_NAME: QCoreApplication.translate("QualityRulesConfig", "lindero_con_registro_repetido"),
QUALITY_RULE_TABLE_FIELDS: [
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String),
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String, 'string'),
QgsField(QCoreApplication.translate("QualityRulesConfig", "conteo"), QVariant.Int)
],
QUALITY_RULE_DOMAIN_ERROR_CODES: [
Expand All @@ -587,7 +587,7 @@ def get_quality_rules_config():
QUALITY_RULE_NAME: translated_strings[EnumQualityRule.Logic.DUPLICATE_RECORDS_IN_PLOT],
QUALITY_RULE_TABLE_NAME: QCoreApplication.translate("QualityRulesConfig", "terreno_con_registro_repetido"),
QUALITY_RULE_TABLE_FIELDS: [
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String),
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String, 'string'),
QgsField(QCoreApplication.translate("QualityRulesConfig", "conteo"), QVariant.Int)
],
QUALITY_RULE_DOMAIN_ERROR_CODES: [
Expand All @@ -599,7 +599,7 @@ def get_quality_rules_config():
QUALITY_RULE_NAME: translated_strings[EnumQualityRule.Logic.DUPLICATE_RECORDS_IN_BUILDING],
QUALITY_RULE_TABLE_NAME: QCoreApplication.translate("QualityRulesConfig", "construccion_con_registro_repetido"),
QUALITY_RULE_TABLE_FIELDS: [
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String),
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String, 'string'),
QgsField(QCoreApplication.translate("QualityRulesConfig", "conteo"), QVariant.Int)
],
QUALITY_RULE_DOMAIN_ERROR_CODES: [
Expand All @@ -611,7 +611,7 @@ def get_quality_rules_config():
QUALITY_RULE_NAME: translated_strings[EnumQualityRule.Logic.DUPLICATE_RECORDS_IN_BUILDING_UNIT],
QUALITY_RULE_TABLE_NAME: QCoreApplication.translate("QualityRulesConfig", "unidad_construccion_con_registro_repetido"),
QUALITY_RULE_TABLE_FIELDS: [
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String),
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String, 'string'),
QgsField(QCoreApplication.translate("QualityRulesConfig", "conteo"), QVariant.Int)
],
QUALITY_RULE_DOMAIN_ERROR_CODES: [
Expand All @@ -623,7 +623,7 @@ def get_quality_rules_config():
QUALITY_RULE_NAME: translated_strings[EnumQualityRule.Logic.DUPLICATE_RECORDS_IN_PARCEL],
QUALITY_RULE_TABLE_NAME: QCoreApplication.translate("QualityRulesConfig", "predio_con_registro_repetido"),
QUALITY_RULE_TABLE_FIELDS: [
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String),
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String, 'string'),
QgsField(QCoreApplication.translate("QualityRulesConfig", "conteo"), QVariant.Int)
],
QUALITY_RULE_DOMAIN_ERROR_CODES: [
Expand All @@ -635,7 +635,7 @@ def get_quality_rules_config():
QUALITY_RULE_NAME: translated_strings[EnumQualityRule.Logic.DUPLICATE_RECORDS_IN_PARTY],
QUALITY_RULE_TABLE_NAME: QCoreApplication.translate("QualityRulesConfig", "interesado_con_registro_repetido"),
QUALITY_RULE_TABLE_FIELDS: [
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String),
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String, 'string'),
QgsField(QCoreApplication.translate("QualityRulesConfig", "conteo"), QVariant.Int)
],
QUALITY_RULE_DOMAIN_ERROR_CODES: [
Expand All @@ -647,7 +647,7 @@ def get_quality_rules_config():
QUALITY_RULE_NAME: translated_strings[EnumQualityRule.Logic.DUPLICATE_RECORDS_IN_RIGHT],
QUALITY_RULE_TABLE_NAME: QCoreApplication.translate("QualityRulesConfig", "derecho_con_registro_repetido"),
QUALITY_RULE_TABLE_FIELDS: [
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String),
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String, 'string'),
QgsField(QCoreApplication.translate("QualityRulesConfig", "conteo"), QVariant.Int)
],
QUALITY_RULE_DOMAIN_ERROR_CODES: [
Expand All @@ -659,7 +659,7 @@ def get_quality_rules_config():
QUALITY_RULE_NAME: translated_strings[EnumQualityRule.Logic.DUPLICATE_RECORDS_IN_RESTRICTION],
QUALITY_RULE_TABLE_NAME: QCoreApplication.translate("QualityRulesConfig", "restriccion_con_registro_repetido"),
QUALITY_RULE_TABLE_FIELDS: [
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String),
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String, 'string'),
QgsField(QCoreApplication.translate("QualityRulesConfig", "conteo"), QVariant.Int)
],
QUALITY_RULE_DOMAIN_ERROR_CODES: [
Expand All @@ -671,7 +671,7 @@ def get_quality_rules_config():
QUALITY_RULE_NAME: translated_strings[EnumQualityRule.Logic.DUPLICATE_RECORDS_IN_ADMINISTRATIVE_SOURCE],
QUALITY_RULE_TABLE_NAME: QCoreApplication.translate("QualityRulesConfig", "fuente_administrativa_con_registro_repetido"),
QUALITY_RULE_TABLE_FIELDS: [
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String),
QgsField(QCoreApplication.translate("QualityRulesConfig", "ids_duplicados"), QVariant.String, 'string'),
QgsField(QCoreApplication.translate("QualityRulesConfig", "conteo"), QVariant.Int)
],
QUALITY_RULE_DOMAIN_ERROR_CODES: [
Expand Down

0 comments on commit 7a0491d

Please sign in to comment.