# HG changeset patch # User Raimund Renkert # Date 1389190084 -3600 # Node ID b9d8bcb49e4e5228f1c929bb594878e85cb90e42 # Parent 857341d9c879b692f21aa4e3bce50ebb675336e7 Updated importer config. diff -r 857341d9c879 -r b9d8bcb49e4e config/import.json --- a/config/import.json Wed Jan 08 15:07:47 2014 +0100 +++ b/config/import.json Wed Jan 08 15:08:04 2014 +0100 @@ -13,7 +13,7 @@ "default": "" }, { "key": "datenbasis_s", - "regex": "[0-9]{2}", + "regex": "[0-9]{1,2}", "default": "00" }, { "key": "netzkennung", @@ -108,6 +108,10 @@ "regex": ".{1,100}", "default": "" }, { + "key": "medium", + "regex": ".{1,100}", + "default": "" + }, { "key": "rei_programmpunkt", "regex": ".{1,10}", "default": "" @@ -142,7 +146,7 @@ "default": "" }, { "key": "messzeit_sekunden", - "regex": "[0-9]{8}", + "regex": "[0-9]{1,8}", "default": "" }, { "key": "messmethode_c", @@ -171,7 +175,11 @@ }], "ort": [{ "key": "ort_id", - "regex": "[0-9]{10}", + "regex": "[0-9]{1,10}", + "default": "" + }, { + "key": "ort_code", + "regex": ".{3,12}", "default": "" }, { "key": "ort_typ", @@ -191,14 +199,14 @@ "default": "" }, { "key": "ort_land_s", - "regex": "[0-9]{8}", + "regex": "[0-9]{1,8}", "default": "" }, { "key": "ort_netzbetreiber", "regex": ".{2}", "default": "" }, { - "key": "ort_gemeindeschlüssel", + "key": "ort_gemeindeschluessel", "regex": "[0-9]{8}", "default": "" }, { @@ -227,7 +235,7 @@ "default": "" }, { "key": "ort_nuts_code", - "regex": "[0-9]{10}", + "regex": ".{1,10}", "default": "" }, { "key": "ort_hoehe_land",