<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:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 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.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.E-MailFormatvorlage19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.highlight
{mso-style-name:highlight;}
.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;}
/* List Definitions */
@list l0
{mso-list-id:879780991;
mso-list-type:hybrid;
mso-list-template-ids:642023316 -307698390 67567619 67567621 67567617 67567619 67567621 67567617 67567619 67567621;}
@list l0:level1
{mso-level-start-at:15;
mso-level-number-format:bullet;
mso-level-text:-;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l1
{mso-list-id:1534882741;
mso-list-type:hybrid;
mso-list-template-ids:-158593800 1354938546 67567619 67567621 67567617 67567619 67567621 67567617 67567619 67567621;}
@list l1:level1
{mso-level-start-at:15;
mso-level-number-format:bullet;
mso-level-text:-;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";}
@list l1:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l1:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l1:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l1:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l1:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l1:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l1:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l1:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></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,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>ich hab noch ein paar Probleme mit PostNAS, vielleicht könntet Ihr mir behilflich sein:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l1 level1 lfo2'><![if !supportLists]><span class=highlight><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]>Nach dem Datenimport sind bei den Tabelle <span class=highlight>AX_LagebezeichnungMitHausnummer und „AX_LagebezeichnungOhneHausnummer“ die folgende Felder Null:<o:p></o:p></span></p><p class=MsoListParagraph>+ land<o:p></o:p></p><p class=MsoListParagraph>+ regierungsbezirk<o:p></o:p></p><p class=MsoListParagraph>+ kreis<o:p></o:p></p><p class=MsoListParagraph>+ gemeinde<o:p></o:p></p><p class=MsoListParagraph>+ lage<o:p></o:p></p><p class=MsoListParagraph><o:p> </o:p></p><p class=MsoListParagraph>In Bayern werden diese Felder nicht im Knoten „<span class=highlight>AX_LagebezeichnungMitHausnummer“ mitgeliefert. Hab ich vielleicht ein Tabellenupdate vergessen?<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l1 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'> </span></span><![endif]>Folgender insert im Skript <b>pp_laden</b> klappt nicht, da gleiche Gemarkungsnummern in verschiedenen Gemeinden bei uns vorkommen können:<o:p></o:p></p><p class=MsoListParagraph style='text-indent:34.8pt'><b><span style='color:#1F497D'>INSERT INTO pp_gemarkung<o:p></o:p></span></b></p><p class=MsoListParagraph style='text-indent:34.8pt'><b><span style='color:#1F497D'> ( land, regierungsbezirk, kreis, gemeinde, gemarkung )<o:p></o:p></span></b></p><p class=MsoListParagraph style='text-indent:34.8pt'><b><span style='color:#1F497D'> SELECT DISTINCT land, regierungsbezirk, kreis, gemeinde, gemarkungsnummer<o:p></o:p></span></b></p><p class=MsoListParagraph style='text-indent:34.8pt'><b><span style='color:#1F497D'> FROM ax_flurstueck<o:p></o:p></span></b></p><p class=MsoListParagraph style='text-indent:34.8pt'><b><span style='color:#1F497D'> WHERE endet IS NULL<o:p></o:p></span></b></p><p class=MsoListParagraph style='text-indent:34.8pt'><b><span style='color:#1F497D'> ORDER BY land, regierungsbezirk, kreis, gemeinde, gemarkungsnummer ;<o:p></o:p></span></b></p><p class=MsoListParagraph> <o:p></o:p></p><p class=MsoListParagraph>Das Problem liegt am „CONSTRAINT pp_gemarkung_pk“ in der Tabelle pp_gemarkung.<o:p></o:p></p><p class=MsoNormal> Vielleicht den Key ändern auf:<o:p></o:p></p><p class=MsoNormal> <b><span style='color:#1F497D'>ALTER TABLE pp_gemarkung<o:p></o:p></span></b></p><p class=MsoNormal style='margin-left:35.4pt;text-indent:35.4pt'><b><span style='color:#1F497D'> ADD CONSTRAINT pp_gemarkung_pk PRIMARY KEY(land, gemarkung, </span><u><span style='color:red'>gemeinde</span></u><span style='color:#1F497D'>);<o:p></o:p></span></b></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l1 level1 lfo2'><![if !supportLists]><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'> </span></span><![endif]>In der Tabelle Nutzung ist der „Constraint enforce_srid_wkb_geometry“ hinterlegt mit dem check auf „25832“.<o:p></o:p></p><p class=MsoListParagraph>Hier könnte bei der Taberstellung eine Variable gesetzt werden.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Vielen Dank für Eure Hilfe.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-family:"Arial","sans-serif";mso-fareast-language:DE'>Mit freundlichen Gruessen<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-family:"Arial","sans-serif";mso-fareast-language:DE'>Wolfgang Escherl<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE'>_________________________________________________________<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:4.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE'>Im Entwurf gezeichnet, per e-mail bzw. PC-Fax versandt:<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-size:8.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE'><o:p> </o:p></span></b></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-size:8.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE'>Landkreis Amberg-Sulzbach, EDV-Organisation<o:p></o:p></span></b></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-size:8.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE'>Schlossgraben 3, 92224 Amberg, Tel.: (+49) 09621-390<o:p></o:p></span></b></p><p class=MsoNormal style='text-autospace:none'><b><span lang=IT style='font-size:8.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE'>e-mail: <a href="mailto:edv@amberg-sulzbach.de"><span style='color:blue'>edv@amberg-sulzbach.de</span></a><o:p></o:p></span></b></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE'>Ansprechpartner: Wolfgang Escherl,<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE'>Bachelor of Information Systems and Management (B.I.S.M.)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE'>Tel. (direkt): (+49) 09621-39153, Fax (direkt): (+49) 09621-37605301<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE'>e-mail (direkt): <a href="mailto:wolfgang.escherl@amberg-sulzbach.de"><span style='color:blue'>mailto:wolfgang.escherl@amberg-sulzbach.de</span></a><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE'>web: <a href="http://www.amberg-sulzbach.de"><span style='color:blue'>http://www.amberg-sulzbach.de</span></a><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;font-family:"Arial","sans-serif";mso-fareast-language:DE'>_________________________________________________________<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>