<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=375512023-03102006><FONT face=Arial 
color=#0000ff size=2>I have just tried this and it worked. I added a filter in 
layer definition (using window Filter - Advanced) like :</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=375512023-03102006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=375512023-03102006><FONT face=Arial 
color=#0000ff size=2>GEOMETRY ENVELOPEINTERSECTS GeomFromText('POLYGON 
((424846.625766871 135378.111192346, 429754.601226994 135378.111192346, 
429754.601226994 138486.919482501, 424846.625766871 138486.919482501, 
424846.625766871 135378.111192346))')</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=375512023-03102006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=375512023-03102006><FONT face=Arial 
color=#0000ff size=2>and I got just that "envelope" of geometries&nbsp;into 
layer.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=375512023-03102006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=375512023-03102006><FONT face=Arial 
color=#0000ff size=2>True is that studio reported some erros ( if you press 
'validate' about <SPAN class=375512023-03102006><FONT face=Arial color=#0000ff 
size=2>GEOMETRY </FONT></SPAN>etc.) but I just ignored that and pressed ok and 
it works.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=375512023-03102006></SPAN><SPAN 
class=375512023-03102006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=375512023-03102006><FONT face=Arial 
color=#0000ff size=2>Haris</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Warren Medernach 
[mailto:warren.medernach@imaginit.ca] <BR><B>Sent:</B> Wednesday, October 04, 
2006 12:58 AM<BR><B>To:</B> users@mapguide.osgeo.org<BR><B>Subject:</B> 
[mapguide-users] Building a maplayer based on Oracle Spatial 
filter.<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=426065522-03102006><FONT face=Arial size=2>Hello 
all,</FONT></SPAN></DIV>
<DIV><SPAN class=426065522-03102006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=426065522-03102006><SPAN class=426065522-03102006><FONT 
face=Arial size=2>I see that from the GetCapabilities that spatial filter is 
supported in Oracle, so </FONT></SPAN></SPAN><SPAN 
class=426065522-03102006><FONT face=Arial size=2>I was hoping somebody might 
have an example of how to build a layer using Oracle, and applying a spatial 
filter.</FONT></SPAN></DIV>
<DIV><SPAN class=426065522-03102006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=426065522-03102006><FONT face=Arial size=2>Thanks so much for 
any help and/or guidance.</FONT></SPAN></DIV>
<DIV><SPAN class=426065522-03102006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=426065522-03102006><FONT face=Arial size=2>Warren 
Medernach</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>