<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Sprechblasentext Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.SprechblasentextZchn
        {mso-style-name:"Sprechblasentext Zchn";
        mso-style-priority:99;
        mso-style-link:Sprechblasentext;
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hallo zusammen,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">ich habe ein kleines Problem beim Import von NAS-Dateien aus Baden-Württemberg und Sachsen per norGIS ALKIS-Import.<o:p></o:p></p>
<p class="MsoNormal">Ich nutze folgendes:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">Import-Version: ad0475a<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Datenbank-Version: PostgreSQL 9.6.9 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16), 64-bit<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">PostGIS-Version: 2.3 USE_GEOS=1 USE_PROJ=1 USE_STATS=1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">GDAL 2.4.0dev, released 2018/99/99|<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">psql (PostgreSQL) 9.2.4|<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal">Bis hierher scheint alles gut zu laufen, aber egal welche Datei aus Baden-Württemberg oder Sachsen ich einlesen möchte, an dieser Stelle steigen alle aus:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">postprocessing.d\1_ableitungsregeln\91001.sql ausgeführt.<o:p></o:p></p>
<p class="MsoNormal">Flurgrenzen werden aufbereitet...|<o:p></o:p></p>
<p class="MsoNormal">psql:postprocessing.d/1_ableitungsregeln/gebiete.sql:169: ERROR:  null value in column "layer" violates not-null constraint|<o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">DETAIL:  Failing row contains (88, DEBWL001000bN5I8, Politische Grenzen, null, pg-flur, null, pg-flur, {norGIS}, 0106000020E8640000010000000103000000010000002C000000A4675D3C3270...).|<o:p></o:p></span></p>
<p class="MsoNormal">Fehler bei Prozeß: 3<o:p></o:p></p>
<p class="MsoNormal">postprocessing.d\1_ableitungsregeln\gebiete.sql gescheitert.<o:p></o:p></p>
<p class="MsoNormal">Import nach 1m36s abgebrochen.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Mit einer alten Import-Version<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">Import-Version: 80b5cee<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Datenbank-Version: PostgreSQL 9.6.9 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16), 64-bit<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">PostGIS-Version: 2.3 USE_GEOS=1 USE_PROJ=1 USE_STATS=1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">GDAL 2.2.4, released 2018/03/19|<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">psql (PostgreSQL) 9.2.4|<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal">funktioniert es einwandfrei.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Kann mir hier jemand weiterhelfen? Habt ihr das auch?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE">Vielen Dank schonmal und viele Grüße,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE">Tina</span><o:p></o:p></p>
</div>
</body>
</html>