<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>

<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>Re: [UMN_MAPSERVER-USERS] error 1 on virtual point layer</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText12559 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Frank, what configuration 
details do you need to know? </FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>We're using IIS on Windows 2003 server, 
Oracle 9.x client, 9.2 database on a 2003 server.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>We're using sde, shapefiles, virtual points 
and virtual polygons via ogr OVF configuration, geotiff display and output. 
</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>We need support for proj, geos, wms client, 
and fastcgi.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Cheers.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV></DIV>
<DIV id=idSignature63370 dir=ltr><FONT face=Arial color=#000000 size=2><FONT 
face="Times New Roman" color=navy size=2><SPAN lang=EN-CA 
style="FONT-SIZE: 10pt; COLOR: navy">
<DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-CA 
style="FONT-SIZE: 10pt; COLOR: navy; mso-ansi-language: EN-CA">------------------------------</SPAN><SPAN 
style="COLOR: black"><?xml:namespace prefix = o ns = 
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></DIV>
<DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-CA 
style="FONT-SIZE: 10pt; COLOR: navy; mso-ansi-language: EN-CA">Mark 
Adams</SPAN><SPAN style="COLOR: black"><o:p></o:p></SPAN></DIV>
<DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-CA 
style="FONT-SIZE: 10pt; COLOR: navy; mso-ansi-language: EN-CA">Senior Analyst 
&amp; Project Manager</SPAN><SPAN style="COLOR: black"><o:p></o:p></SPAN></DIV>
<DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-CA 
style="FONT-SIZE: 10pt; COLOR: navy; mso-ansi-language: EN-CA">Cuesta Systems 
(DPRA <?xml:namespace prefix = st1 ns = 
"urn:schemas-microsoft-com:office:smarttags" /><st1:country-region 
w:st="on"><st1:place 
w:st="on">Canada</st1:place></st1:country-region>)</SPAN><SPAN 
style="COLOR: black"><o:p></o:p></SPAN></DIV>
<DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><st1:Street 
w:st="on"><st1:address w:st="on"><SPAN lang=EN-CA 
style="FONT-SIZE: 10pt; COLOR: navy; mso-ansi-language: EN-CA">5230 South 
Service Road</SPAN></st1:address></st1:Street><SPAN 
style="COLOR: black"><o:p></o:p></SPAN></DIV>
<DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><st1:place w:st="on"><st1:City 
w:st="on"><SPAN lang=EN-CA 
style="FONT-SIZE: 10pt; COLOR: navy; mso-ansi-language: EN-CA">Burlington</SPAN></st1:City><SPAN 
lang=EN-CA style="FONT-SIZE: 10pt; COLOR: navy; mso-ansi-language: EN-CA">, 
<st1:State w:st="on">ON</st1:State> <st1:PostalCode w:st="on">L7L 
5K2</st1:PostalCode></SPAN></st1:place><SPAN 
style="COLOR: black"><o:p></o:p></SPAN></DIV>
<DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-CA 
style="FONT-SIZE: 10pt; COLOR: navy; mso-ansi-language: EN-CA">Phone: 
905-333-4544 x14</SPAN><SPAN style="COLOR: black"><o:p></o:p></SPAN></DIV>
<DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-CA 
style="FONT-SIZE: 10pt; COLOR: navy; mso-ansi-language: EN-CA">Fax: 
905-333-0455</SPAN><SPAN style="COLOR: black"><o:p></o:p></SPAN></DIV>
<DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN-CA 
style="FONT-SIZE: 10pt; COLOR: navy; mso-ansi-language: EN-CA">Email: 
mark.adams@dpra.com</SPAN><SPAN style="COLOR: black"><o:p></o:p></SPAN></DIV>
<DIV class=MsoNormal></SPAN></FONT>&nbsp;</DIV></FONT></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Frank Warmerdam on behalf of Frank 
Warmerdam<BR><B>Sent:</B> Wed 5/10/2006 7:28 PM<BR><B>To:</B> Mark 
Adams<BR><B>Cc:</B> MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> Re: 
[UMN_MAPSERVER-USERS] error 1 on virtual point layer<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Mark Adams wrote:<BR>&gt; What is interesting is this: prior to 
going back to the earlier<BR>&gt; mapserver executable, I tried to simply swap 
out the gdal13.dll for the<BR>&gt; earlier version. This resulted in the same 
errors ("[MapServer Error]:<BR>&gt; msOGRFileNextShape(): SetAttributeFilter() 
not supported on ExecuteSQL()<BR>&gt; results."), so no change. It was when I 
swapped out the<BR>&gt; mapserver/mapscript executables that I was able to get 
the virtual layer<BR>&gt; to work. So does that imply that it's not gdal itself 
that is causing<BR>&gt; the problem, but in how mapserver/mapscript is using it? 
(Apologies if<BR>&gt; that's an egghead question.)<BR><BR>Mark,<BR><BR>I suspect 
this is the change that is trigging problems:<BR><BR>&nbsp; * $Log: mapogr.cpp,v 
$<BR>&nbsp; * Revision 1.96&nbsp; 2006/04/08 03:36:48&nbsp; frank<BR>&nbsp; * 
Ensure that an error in GetNextFeature() will be properly translated<BR>&nbsp; * 
into a MapServer error in GetNextShape().<BR><BR>This is the OGR interface code 
from MapServer.&nbsp; Basically, in the past,<BR>errors were getting ignored and 
people couldn't figure out what was<BR>going wrong. On the other hand, some 
errors were not really fatal (such<BR>as yours) and ignoring them works out 
well.<BR><BR>I think I need to go into the OGR ODBC driver and not have it 
issue<BR>that driver.&nbsp; Instead it should actually implement the attribute 
filtering<BR>as a post processing step.&nbsp;&nbsp; I believe I did this for one 
of the other<BR>underlying non-spatial drivers.<BR><BR>If you can indicate the 
detailed configuration you are using, I might<BR>be able to prepare some fixes 
for you.&nbsp; I'm not sure how easy it will<BR>be for you to try and use them 
though.&nbsp;&nbsp; Perhaps you will need an updated<BR>build from 
Assefa.<BR><BR>Best 
regards,<BR>--<BR>---------------------------------------+--------------------------------------<BR>I 
set the clouds in motion - turn up&nbsp;&nbsp; | Frank Warmerdam, 
warmerdam@pobox.com<BR>light and sound - activate the windows | <A 
href="http://pobox.com/~warmerdam">http://pobox.com/~warmerdam</A><BR>and watch 
the world go round - Rush&nbsp;&nbsp;&nbsp; | President OSGF, <A 
href="http://osgeo.org">http://osgeo.org</A><BR><BR></FONT></P></DIV>

</BODY>
</HTML>