<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" 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 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Century Gothic";
        panose-1:2 11 5 2 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=DE link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hallo und Guten Morgen,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>ich habe in meinem Map-File einen Layer der mir via OGR<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>auf eine MS SQLServer-DB zugreift und von dort
Punktinformationen<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>erhält. Diesen würde ich gerne über den GetFeatureInfo-Aufruf
(WMS) abfragen.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Wie kann ich dem Layer mitteilen welche Spalten aus der
DB-Tabelle für den GetFeatureInfo-Request in Frage kommen?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Mein Layer sieht etwa wie folgt aus:<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'> LAYER <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'> NAME Sport<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'> GROUP Freizeit<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> STATUS
ON<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
CONNECTIONTYPE OGR<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> CONNECTION
"<OGRVRTDataSource><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <OGRVRTLayer
name='objekte'><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <SrcDataSource>ODBC:MapServer/MapServer@stadtplan_sql</SrcDataSource>
<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> </span></font><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><SrcSQL>SELECT
rechtswert, hochwert FROM objekte <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'> </span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New"'>WHERE layer='Sport' <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> AND
rechtswert BETWEEN SUBSTRING('%BBOX%', 0 ,11) AND SUBSTRING('%BBOX%', 25 ,11)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> AND
hochwert BETWEEN SUBSTRING('%BBOX%', 13 ,11) AND SUBSTRING('%BBOX%', 37
,11)</SrcSQL><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <GeometryType>wkbPoint</GeometryType><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <GeometryField
encoding='PointFromColumns' x='rechtswert' y='hochwert'/> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> </OGRVRTLayer><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> </OGRVRTDataSource>"<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> DATA
"OBJEKTE"<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> TYPE
POINT<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Mit freundlichen Grüßen,<o:p></o:p></span></font></p>
<p><b><font size=2 color="#333333" face="Century Gothic"><span
style='font-size:10.0pt;font-family:"Century Gothic";color:#333333;font-weight:
bold'>Gunter Becker</span></font></b> <br>
<b><font size=1 color="#333333" face="Century Gothic"><span style='font-size:
7.5pt;font-family:"Century Gothic";color:#333333;font-weight:bold'>__________________________________________________________________________________________________</span></font></b>
<br>
<b><font size=4 color="#333333" face=Tahoma><span style='font-size:13.5pt;
font-family:Tahoma;color:#333333;font-weight:bold'>CSO GmbH</span></font></b> <br>
<font size=2 color="#333333" face="Century Gothic"><span style='font-size:10.0pt;
font-family:"Century Gothic";color:#333333'>Informationslösungen</span></font> <br>
<font size=2 color="#333333" face="Century Gothic"><span style='font-size:10.0pt;
font-family:"Century Gothic";color:#333333'>Forsthausstraße 2</span></font> <br>
<font size=2 color="#333333" face="Century Gothic"><span style='font-size:10.0pt;
font-family:"Century Gothic";color:#333333'>75180 Pforzheim</span></font> <br>
<font size=2 color="#333333" face="Century Gothic"><span style='font-size:10.0pt;
font-family:"Century Gothic";color:#333333'>Fon +49 (0)
72 31 – 97 35 62</span></font><br>
<font size=2 color="#333333" face="Century Gothic"><span style='font-size:10.0pt;
font-family:"Century Gothic";color:#333333'>Fax +49 (0)
72 31 – 97 35 90</span></font> <br>
<font size=2 color="#333333" face="Century Gothic"><span style='font-size:10.0pt;
font-family:"Century Gothic";color:#333333'>eMail </span></font><font
size=2 face="Century Gothic"><span style='font-size:10.0pt;font-family:"Century Gothic"'><a
href="BLOCKED::mailto:gunter.becker@csogis.de"
title="mailto:gunter.becker@csogis.de">gunter.becker@csogis.de</a></span></font>
<br>
<b><font size=1 color="#333333" face="Century Gothic"><span style='font-size:
7.5pt;font-family:"Century Gothic";color:#333333;font-weight:bold'>__________________________________________________________________________________________________</span></font></b>
<o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>