changeset 402:b9d8bcb49e4e

Updated importer config.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 08 Jan 2014 15:08:04 +0100
parents 857341d9c879
children 0bc65c128530
files config/import.json
diffstat 1 files changed, 14 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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",
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)