<font size=2 face="sans-serif">Hallo</font>
<br>
<br><font size=2 face="sans-serif">Ich persönlich bevorzuge in solchen
Fällen, für die SQL-Abfrage einen Datenbank-View anzulegen und im Map-File</font>
<br><font size=2 face="sans-serif">dann eine übersichtlichere Anweisung
wie &quot;DATA geom FROM (SELECT * FROM MYVIEW)&quot; zu haben.</font>
<br>
<br><font size=2 face="sans-serif">Ob Mapserver beispielsweise mit unbenamten
Spalten wie &quot;</font><tt><font size=2>((R_VORGANG.OID)-(255297803876564992))</font></tt><font size=2 face="sans-serif">&quot;
</font>
<br><font size=2 face="sans-serif">ohne wieteres klar kommt?</font>
<br>
<br><font size=2 face="sans-serif">Grüße, Benedikt</font>
<br>
<br>
<br><tt><font size=2>mapserver-de-bounces@freegis.org schrieb am 18.12.2009
08:59:12:<br>
<br>
&gt; Stefan Schantz &lt;sschantz@bfs.de&gt; </font></tt>
<br><tt><font size=2>&gt; Gesendet von: mapserver-de-bounces@freegis.org<br>
&gt; </font></tt>
<br><tt><font size=2>&gt; 18.12.2009 09:31</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; An</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; mapserver-de@freegis.org</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Kopie</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Thema</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; [Mapserver-DE] Query Error bei getFqatureRequest auf Oracle DB</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Hallo Liste,<br>
&gt; ich habe einen Layer, der seine Daten aus einer Oracle DB holt und
sich <br>
&gt; sich problemlos auf meinem Clienten darstellen läßt.<br>
&gt; Sobald ich jedoch einen getFeatureRequest absetze, erscheint die <br>
&gt; Fehlermeldung &quot;msOracleSpatialLayerGetItems(): Query error. Cannot
<br>
&gt; retrieve column list&quot;<br>
&gt; Im Log-File stehen 2 SQLs. Das eine SQL mit der Spatial-Abfrage kann
ich <br>
&gt; im Oracle Developer &nbsp;ausführen und erhalte ein Ergebnis. &nbsp;Warum
&nbsp;erhält <br>
&gt; der UMN keine Daten?<br>
&gt; Danke für die Unterstützung!<br>
&gt; <br>
&gt; Grüße<br>
&gt; Stefan Schantz<br>
&gt; <br>
&gt; ############################## Ausschnitt <br>
&gt; Layerdefinition############################<br>
&gt; LAYER<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; NAME &quot;aero_nukspez_cs137&quot;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; STATUS ON<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; DEBUG ON<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; TYPE POINT<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; PROJECTION<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;init=epsg:25832&quot;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; END<br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; METADATA<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;...<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; END<br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; DUMP TRUE<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; CONNECTIONTYPE oraclespatial<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; CONNECTION <br>
&gt; &quot;***/***@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=***)(PORT=
<br>
&gt; 1521)))(CONNECT_DATA=(SID=***)))&quot;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; PROCESSING &quot;CLOSE_CONNECTION=DEFER&quot;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; DATA &quot;GEOM from (SELECT<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;geom,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_PROBE.PROBEENTNAHME_BEGINN,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_PROBE.PROBEENTNAHME_ENDE,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; S_MESSGROESSE.BEZEICHNUNG,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; to_char(P_MESSWERT.MESSWERT, '0.99999')
AS WERT,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;S_MESS_EINHEIT1.BEZEICHNUNG,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_MESSWERT.MESSFEHLER,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_PROBE.MITTELUNGSDAUER,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; S_NETZ_BETREIBER.BEZEICHNUNG,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; dwd_mess_utm.mst_id AS ID,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_ENTNAHMEORT.KOORD_X_UTM,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_ENTNAHMEORT.KOORD_Y_UTM,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; ((R_VORGANG.OID)-(255297803876564992)),<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; R_VORGANG.AUSFUEHRUNGSDATUM,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_MESSUNG.STATUS_1,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_MESSUNG.STATUS_2,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_MESSUNG.STATUS_4,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; S_STATUS_BMU.BEZEICHNUNG,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_PROBE.IST_TESTDATENSATZ<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; FROM<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; dwd_mess_utm,IMIS.P_ENTNAHMEORT,IMIS.S_MESS_EINHEIT
<br>
&gt; S_MESS_EINHEIT1,IMIS.S_MESSGROESSE,IMIS.S_STATUS_BMU,IMIS.P_MESSUNG,IMIS.S_NETZ_BETREIBER,IMIS.P_MESSWERT,IGS2.R_VORGANG_MESSUNG_P,IMIS.P_PROBE,IMIS.S_MESS_STELLE<br>
&gt; S_MESS_STELLE14,IGS2.R_VORGANG<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; WHERE<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; (R_VORGANG_MESSUNG_P.S_OID = R_VORGANG.OID(+)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND R_VORGANG_MESSUNG_P.T_PROBE_ID(+)
= P_MESSUNG.PROBE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND R_VORGANG_MESSUNG_P.T_MESSUNGS_ID(+)
= P_MESSUNG.MESSUNGS_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND p_probe.mst_id = dwd_mess_utm.mst_id<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_ENTNAHMEORT.PROBE_ID = P_PROBE.PROBE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSUNG.STATUS_5 = S_STATUS_BMU.STATUS_5<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND S_MESS_STELLE14.NETZBETREIBER_ID =
<br>
&gt; S_NETZ_BETREIBER.NETZBETREIBER_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSUNG.PROBE_ID = P_PROBE.PROBE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSWERT.MESSGROESSE_ID = S_MESSGROESSE.MESSGROESSE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_ENTNAHMEORT.PROBE_ID = P_PROBE.PROBE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_PROBE.MST_ID = S_MESS_STELLE14.MST_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSWERT.PROBE_ID = P_MESSUNG.PROBE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSWERT.MESSUNGS_ID = P_MESSUNG.MESSUNGS_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSWERT.MEH_ID = S_MESS_EINHEIT1.MEH_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND (P_PROBE.UMW_ID IN ('L31'))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND (P_MESSWERT.MESSGROESSE_ID IN (373))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND (P_ENTNAHMEORT.STAAT_ID IN (0))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND (P_PROBE.DATENBASIS_ID IN (1))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND (P_PROBE.NETZBETREIBER_ID IN ('W'))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_PROBE.PROBEENTNAHME_BEGINN = TO_DATE('16.12.2009
<br>
&gt; 06:00','DD.MM.YYYY HH24:MI')))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; USING UNIQUE ID SRID 25832&quot;<br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; TEMPLATE &quot;../templates/getFeature_ODL.html&quot;<br>
&gt; ...<br>
&gt; ########################################################################################<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; ####################################### MS <br>
&gt; LOGFILE######################################<br>
&gt; [Fri Dec 18 08:36:05 2009].932804 msOracleSpatialLayerClose. Cleaning
<br>
&gt; Oracle Cache.<br>
&gt; [Fri Dec 18 08:36:05 2009].932814 msOracleSpatialLayerClose. Release
the <br>
&gt; Oracle Pool.<br>
&gt; [Fri Dec 18 08:36:05 2009].932816 <br>
&gt; msConnPoolRelease(aero_nukspez_cs137,i****/***@(DESCRIPTION=<br>
&gt; (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=***)(PORT= <br>
&gt; 1521)))(CONNECT_DATA=(SID=***))),82368a8)<br>
&gt; [Fri Dec 18 08:36:05 2009].932981 <br>
&gt; msConnPoolClose(***/***@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=<br>
&gt; (PROTOCOL=TCP)(HOST=***)(PORT= <br>
&gt; 1521)))(CONNECT_DATA=(SID=***))),82368a8)<br>
&gt; [Fri Dec 18 08:36:06 2009].470320 msOracleSpatialLayerOpen called
with: <br>
&gt; GEOM from (SELECT<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;geom,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_PROBE.PROBEENTNAHME_BEGINN,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_PROBE.PROBEENTNAHME_ENDE,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; S_MESSGROESSE.BEZEICHNUNG,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; to_char(P_MESSWERT.MESSWERT, '0.99999')
AS WERT,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;S_MESS_EINHEIT1.BEZEICHNUNG,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_MESSWERT.MESSFEHLER,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_PROBE.MITTELUNGSDAUER,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; S_NETZ_BETREIBER.BEZEICHNUNG,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; dwd_mess_utm.mst_id AS ID,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_ENTNAHMEORT.KOORD_X_UTM,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_ENTNAHMEORT.KOORD_Y_UTM,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; ((R_VORGANG.OID)-(255297803876564992)),<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; R_VORGANG.AUSFUEHRUNGSDATUM,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_MESSUNG.STATUS_1,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_MESSUNG.STATUS_2,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_MESSUNG.STATUS_4,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; S_STATUS_BMU.BEZEICHNUNG,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_PROBE.IST_TESTDATENSATZ<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; FROM<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; dwd_mess_utm,IMIS.P_ENTNAHMEORT,IMIS.S_MESS_EINHEIT
<br>
&gt; S_MESS_EINHEIT1,IMIS.S_MESSGROESSE,IMIS.S_STATUS_BMU,IMIS.P_MESSUNG,IMIS.S_NETZ_BETREIBER,IMIS.P_MESSWERT,IGS2.R_VORGANG_MESSUNG_P,IMIS.P_PROBE,IMIS.S_MESS_STELLE<br>
&gt; S_MESS_STELLE14,IGS2.R_VORGANG<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; WHERE<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; (R_VORGANG_MESSUNG_P.S_OID = R_VORGANG.OID(+)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND R_VORGANG_MESSUNG_P.T_PROBE_ID(+)
= P_MESSUNG.PROBE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND R_VORGANG_MESSUNG_P.T_MESSUNGS_ID(+)
= P_MESSUNG.MESSUNGS_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND p_probe.mst_id = dwd_mess_utm.mst_id<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_ENTNAHMEORT.PROBE_ID = P_PROBE.PROBE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSUNG.STATUS_5 = S_STATUS_BMU.STATUS_5<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND S_MESS_STELLE14.NETZBETREIBER_ID =
<br>
&gt; S_NETZ_BETREIBER.NETZBETREIBER_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSUNG.PROBE_ID = P_PROBE.PROBE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSWERT.MESSGROESSE_ID = S_MESSGROESSE.MESSGROESSE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_ENTNAHMEORT.PROBE_ID = P_PROBE.PROBE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_PROBE.MST_ID = S_MESS_STELLE14.MST_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSWERT.PROBE_ID = P_MESSUNG.PROBE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSWERT.MESSUNGS_ID = P_MESSUNG.MESSUNGS_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSWERT.MEH_ID = S_MESS_EINHEIT1.MEH_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND (P_PROBE.UMW_ID IN ('L31'))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND (P_MESSWERT.MESSGROESSE_ID IN (373))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND (P_ENTNAHMEORT.STAAT_ID IN (0))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND (P_PROBE.DATENBASIS_ID IN (1))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND (P_PROBE.NETZBETREIBER_ID IN ('W'))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_PROBE.PROBEENTNAHME_BEGINN = TO_DATE('16.12.2009
<br>
&gt; 06:00','DD.MM.YYYY HH24:MI')))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; USING UNIQUE ID SRID 25832<br>
&gt; [Fri Dec 18 08:36:06 2009].494014 msOracleSpatialLayerOpen. Shared
<br>
&gt; connection not available. Creating one.<br>
&gt; [Fri Dec 18 08:36:06 2009].494020 <br>
&gt; msConnPoolRegister(aero_nukspez_cs137,***/***@(DESCRIPTION=<br>
&gt; (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=***)(PORT= <br>
&gt; 1521)))(CONNECT_DATA=(SID=***))),82368a8)<br>
&gt; [Fri Dec 18 08:36:06 2009].500778 msOracleSpatialLayerFreeItemInfo
was <br>
&gt; called.<br>
&gt; [Fri Dec 18 08:36:06 2009].500796 msOracleSpatialLayerInitItemInfo
was <br>
&gt; called.<br>
&gt; [Fri Dec 18 08:36:06 2009].500972 msOracleSpatialLayerWhichShapes
was <br>
&gt; called.<br>
&gt; [Fri Dec 18 08:36:06 2009].501042 msOracleSpatialLayerWhichShapes.
Using <br>
&gt; this Sql to retrieve the data: SELECT ID, WERT, GEOM FROM (SELECT<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;geom,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_PROBE.PROBEENTNAHME_BEGINN,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_PROBE.PROBEENTNAHME_ENDE,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; S_MESSGROESSE.BEZEICHNUNG,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; to_char(P_MESSWERT.MESSWERT, '0.99999')
AS WERT,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;S_MESS_EINHEIT1.BEZEICHNUNG,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_MESSWERT.MESSFEHLER,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_PROBE.MITTELUNGSDAUER,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; S_NETZ_BETREIBER.BEZEICHNUNG,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; dwd_mess_utm.mst_id AS ID,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_ENTNAHMEORT.KOORD_X_UTM,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_ENTNAHMEORT.KOORD_Y_UTM,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; ((R_VORGANG.OID)-(255297803876564992)),<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; R_VORGANG.AUSFUEHRUNGSDATUM,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_MESSUNG.STATUS_1,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_MESSUNG.STATUS_2,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_MESSUNG.STATUS_4,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; S_STATUS_BMU.BEZEICHNUNG,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_PROBE.IST_TESTDATENSATZ<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; FROM<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; dwd_mess_utm,IMIS.P_ENTNAHMEORT,IMIS.S_MESS_EINHEIT
<br>
&gt; S_MESS_EINHEIT1,IMIS.S_MESSGROESSE,IMIS.S_STATUS_BMU,IMIS.P_MESSUNG,IMIS.S_NETZ_BETREIBER,IMIS.P_MESSWERT,IGS2.R_VORGANG_MESSUNG_P,IMIS.P_PROBE,IMIS.S_MESS_STELLE<br>
&gt; S_MESS_STELLE14,IGS2.R_VORGANG<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; WHERE<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; (R_VORGANG_MESSUNG_P.S_OID = R_VORGANG.OID(+)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND R_VORGANG_MESSUNG_P.T_PROBE_ID(+)
= P_MESSUNG.PROBE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND R_VORGANG_MESSUNG_P.T_MESSUNGS_ID(+)
= P_MESSUNG.MESSUNGS_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND p_probe.mst_id = dwd_mess_utm.mst_id<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_ENTNAHMEORT.PROBE_ID = P_PROBE.PROBE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSUNG.STATUS_5 = S_STATUS_BMU.STATUS_5<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND S_MESS_STELLE14.NETZBETREIBER_ID =
<br>
&gt; S_NETZ_BETREIBER.NETZBETREIBER_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSUNG.PROBE_ID = P_PROBE.PROBE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSWERT.MESSGROESSE_ID = S_MESSGROESSE.MESSGROESSE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_ENTNAHMEORT.PROBE_ID = P_PROBE.PROBE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_PROBE.MST_ID = S_MESS_STELLE14.MST_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSWERT.PROBE_ID = P_MESSUNG.PROBE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSWERT.MESSUNGS_ID = P_MESSUNG.MESSUNGS_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSWERT.MEH_ID = S_MESS_EINHEIT1.MEH_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND (P_PROBE.UMW_ID IN ('L31'))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND (P_MESSWERT.MESSGROESSE_ID IN (373))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND (P_ENTNAHMEORT.STAAT_ID IN (0))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND (P_PROBE.DATENBASIS_ID IN (1))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND (P_PROBE.NETZBETREIBER_ID IN ('W'))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_PROBE.PROBEENTNAHME_BEGINN = TO_DATE('16.12.2009
<br>
&gt; 06:00','DD.MM.YYYY HH24:MI'))) WHERE SDO_FILTER( GEOM, <br>
&gt; MDSYS.SDO_GEOMETRY(2003, 25832, <br>
&gt; NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),MDSYS.SDO_ORDINATE_ARRAY<br>
&gt; (814703.455,5375543.26,827001.233,5393241.81) <br>
&gt; ),'querytype=window') = 'TRUE'<br>
&gt; [Fri Dec 18 08:36:06 2009].543163 msOracleSpatialLayerFreeItemInfo
was <br>
&gt; called.<br>
&gt; [Fri Dec 18 08:36:06 2009].543169 msOracleSpatialLayerClose was called.
<br>
&gt; Layer name: aero_nukspez_cs137. Layer connection: <br>
&gt; ***/***@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=***)(PORT=
<br>
&gt; 1521)))(CONNECT_DATA=(SID=***)))<br>
&gt; [Fri Dec 18 08:36:06 2009].543172 msOracleSpatialLayerClose. Cleaning
<br>
&gt; layerinfo handlers.<br>
&gt; [Fri Dec 18 08:36:06 2009].543201 msOracleSpatialLayerClose. Cleaning
<br>
&gt; Oracle Cache.<br>
&gt; [Fri Dec 18 08:36:06 2009].543236 msOracleSpatialLayerClose. Release
the <br>
&gt; Oracle Pool.<br>
&gt; [Fri Dec 18 08:36:06 2009].543238 <br>
&gt; msConnPoolRelease(aero_nukspez_cs137,***/***@(DESCRIPTION=<br>
&gt; (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=***)(PORT= <br>
&gt; 1521)))(CONNECT_DATA=(SID=***))),82368a8)<br>
&gt; [Fri Dec 18 08:36:06 2009].543297 msOracleSpatialLayerOpen called
with: <br>
&gt; GEOM from (SELECT<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;geom,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_PROBE.PROBEENTNAHME_BEGINN,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_PROBE.PROBEENTNAHME_ENDE,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; S_MESSGROESSE.BEZEICHNUNG,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; to_char(P_MESSWERT.MESSWERT, '0.99999')
AS WERT,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;S_MESS_EINHEIT1.BEZEICHNUNG,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_MESSWERT.MESSFEHLER,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_PROBE.MITTELUNGSDAUER,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; S_NETZ_BETREIBER.BEZEICHNUNG,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; dwd_mess_utm.mst_id AS ID,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_ENTNAHMEORT.KOORD_X_UTM,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_ENTNAHMEORT.KOORD_Y_UTM,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; ((R_VORGANG.OID)-(255297803876564992)),<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; R_VORGANG.AUSFUEHRUNGSDATUM,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_MESSUNG.STATUS_1,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_MESSUNG.STATUS_2,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_MESSUNG.STATUS_4,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; S_STATUS_BMU.BEZEICHNUNG,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; P_PROBE.IST_TESTDATENSATZ<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; FROM<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; dwd_mess_utm,IMIS.P_ENTNAHMEORT,IMIS.S_MESS_EINHEIT
<br>
&gt; S_MESS_EINHEIT1,IMIS.S_MESSGROESSE,IMIS.S_STATUS_BMU,IMIS.P_MESSUNG,IMIS.S_NETZ_BETREIBER,IMIS.P_MESSWERT,IGS2.R_VORGANG_MESSUNG_P,IMIS.P_PROBE,IMIS.S_MESS_STELLE<br>
&gt; S_MESS_STELLE14,IGS2.R_VORGANG<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; WHERE<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; (R_VORGANG_MESSUNG_P.S_OID = R_VORGANG.OID(+)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND R_VORGANG_MESSUNG_P.T_PROBE_ID(+)
= P_MESSUNG.PROBE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND R_VORGANG_MESSUNG_P.T_MESSUNGS_ID(+)
= P_MESSUNG.MESSUNGS_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND p_probe.mst_id = dwd_mess_utm.mst_id<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_ENTNAHMEORT.PROBE_ID = P_PROBE.PROBE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSUNG.STATUS_5 = S_STATUS_BMU.STATUS_5<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND S_MESS_STELLE14.NETZBETREIBER_ID =
<br>
&gt; S_NETZ_BETREIBER.NETZBETREIBER_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSUNG.PROBE_ID = P_PROBE.PROBE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSWERT.MESSGROESSE_ID = S_MESSGROESSE.MESSGROESSE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_ENTNAHMEORT.PROBE_ID = P_PROBE.PROBE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_PROBE.MST_ID = S_MESS_STELLE14.MST_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSWERT.PROBE_ID = P_MESSUNG.PROBE_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSWERT.MESSUNGS_ID = P_MESSUNG.MESSUNGS_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_MESSWERT.MEH_ID = S_MESS_EINHEIT1.MEH_ID<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND (P_PROBE.UMW_ID IN ('L31'))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND (P_MESSWERT.MESSGROESSE_ID IN (373))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND (P_ENTNAHMEORT.STAAT_ID IN (0))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND (P_PROBE.DATENBASIS_ID IN (1))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND (P_PROBE.NETZBETREIBER_ID IN ('W'))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AND P_PROBE.PROBEENTNAHME_BEGINN = TO_DATE('16.12.2009
<br>
&gt; 06:00','DD.MM.YYYY HH24:MI')))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; USING UNIQUE ID SRID 25832<br>
&gt; [Fri Dec 18 08:36:06 2009].543311 <br>
&gt; msConnPoolRequest(aero_nukspez_cs137,***/***@(DESCRIPTION=<br>
&gt; (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=***)(PORT= <br>
&gt; 1521)))(CONNECT_DATA=(SID=***)))) -&gt; got 82368a8<br>
&gt; [Fri Dec 18 08:36:06 2009].550280 msOracleSpatialLayerFreeItemInfo
was <br>
&gt; called.<br>
&gt; [Fri Dec 18 08:36:06 2009].550283 msOracleSpatialLayerGetItems was
called.<br>
&gt; [Fri Dec 18 08:36:06 2009].562636 msOracleSpatialLayerGetItems():
Query <br>
&gt; error. Cannot retrieve column list<br>
&gt; [Fri Dec 18 08:36:06 2009].562686 mapserv request processing time
<br>
&gt; (msLoadMap not incl.): 0.093s<br>
&gt; [Fri Dec 18 08:36:06 2009].562706 msFreeMap(): freeing map at 82052a8.<br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; Mapserver-DE mailing list<br>
&gt; Mapserver-DE@freegis.org<br>
&gt; </font></tt><a href="https://freegis.org/mailman/listinfo/mapserver-de"><tt><font size=2>https://freegis.org/mailman/listinfo/mapserver-de</font></tt></a><tt><font size=2><br>
</font></tt>