<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 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.E-MailFormatvorlage18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@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="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hallo Liste,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>in unserem Mapbender-Projekt haben wir die ALKIS-Daten aus der postgreSQL als Mapserverdatei eingebunden. Der Dienst wird lagerichtig angezeigt, obwohl unser Mapbender noch in GK4 ist und der Dienst in UTM32.<o:p></o:p></p><p class=MsoNormal>Dann habe ich in der postgreSQL einen View gebastelt, den ich als Flurstücks-Suche im Mapbender integriert habe. So weit, so gut.<o:p></o:p></p><p class=MsoNormal>Ergebnis ist folgendes:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='mso-fareast-language:DE'><img width=866 height=460 id="Grafik_x0020_1" src="cid:image003.jpg@01D63F20.8ADCD540" alt="cid:image003.jpg@01D63F20.8ADCD540"></span><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Die Lage ist verschoben, d.h. die Transformation des Koordinatensystem hat augenscheinlich nicht funktioniert. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Mein View sieht so aus (ich habe versucht die Geometriespalte zu transformieren):<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><i>CREATE OR REPLACE VIEW postnas.flurstueckssuche<o:p></o:p></i></p><p class=MsoNormal><i>AS<o:p></o:p></i></p><p class=MsoNormal><i>SELECT ax_flurstueck.gid,<o:p></o:p></i></p><p class=MsoNormal><i> st_transform(ax_flurstueck.wkb_geometry, 31468)::geometry(Geometry,31468) AS geom,<o:p></o:p></i></p><p class=MsoNormal><i> gem_shl.gemname AS gemeindename,<o:p></o:p></i></p><p class=MsoNormal><i> gema_shl.gemarkung AS gemarkungsname,<o:p></o:p></i></p><p class=MsoNormal><i> ax_flurstueck.zaehler,<o:p></o:p></i></p><p class=MsoNormal><i> ax_flurstueck.nenner<o:p></o:p></i></p><p class=MsoNormal><i> FROM postnas.ax_flurstueck<o:p></o:p></i></p><p class=MsoNormal><i> JOIN postnas.gema_shl ON "substring"(ax_flurstueck.flurstueckskennzeichen::text, 1, 6) = gema_shl.gemashl::text<o:p></o:p></i></p><p class=MsoNormal><i> JOIN postnas.gem_shl ON gem_shl.gemshl = gema_shl.gemshl<o:p></o:p></i></p><p class=MsoNormal><i> WHERE gema_shl.gemshl IS NOT NULL<o:p></o:p></i></p><p class=MsoNormal><i> ORDER BY gema_shl.gemarkung, (ax_flurstueck.zaehler::integer), (ax_flurstueck.nenner::integer) NULLS FIRST;</i><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'>Freundliche Grüße<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'>Markus Lütke Brintrup</span><span style='font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'> </span><span style='font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'>WipflerPLAN</span><span style='font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'>Niederlassung Donauries</span><span style='font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'>Telefon: 09081 27509-44</span><span style='font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'>Telefax: 09081 27509-50</span><span style='font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'><a href="mailto:mlb@wipflerplan.de"><span style='color:windowtext'>mlb@wipflerplan.de</span></a></span><span style='font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:DE'><a href="http://www.wipflerplan.de/" title="blocked::http://www.wipflerplan.de/"><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:windowtext'>www.wipflerplan.de</span></a></span><span style='font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'>WipflerPLAN Planungsgesellschaft mbH</span><span style='font-family:"Arial",sans-serif;mso-fareast-language:DE'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'>Standort Nördlingen<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'>An der Lach 11 a<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'>86720 Nördlingen<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'>Amtsgericht Ingolstadt HRB 190595</span><span style='font-family:"Arial",sans-serif;mso-fareast-language:DE'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'>Geschäftsführer:</span><span style='font-family:"Arial",sans-serif;mso-fareast-language:DE'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'>Wilhelm Wipfler</span><span style='font-family:"Arial",sans-serif;mso-fareast-language:DE'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'>Ursula Burkart<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial",sans-serif;mso-fareast-language:DE'>Adelheid Buchard</span><span style='mso-fareast-language:DE'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><i><o:p> </o:p></i></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>