<div>Thanks a lot, Mike !  That's a great hint.</div>
<div> </div>
<div>I made a windows application, that allow user to browse spatial tables, and create</div>
<div>a view by dragging a rectangle on my application.</div>
<div> </div>
<div>$1 is that rectangle made by user.</div>
<div> </div>
<div>Can I create a temporary geometric object ? How to do that ?<br><br></div>
<div class="gmail_quote">2010/5/24 Mike Toews <span dir="ltr"><<a href="mailto:mwtoews@gmail.com">mwtoews@gmail.com</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><br>
<div class="gmail_quote">2010/5/24 ³¢®a¦¨ <span dir="ltr"><<a href="mailto:iron1103@gmail.com" target="_blank">iron1103@gmail.com</a>></span> 
<div class="im"><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div><span style="COLOR: rgb(0,0,153)">So, everything works fine without "CREATE VIEW", weird.</span></div></blockquote>
<div><br></div></div>
<div>I should have seen that earlier .. views don't have parameters, so that is why test 1-4 don't work. Views need to have existing columns. What is $1 supposed to be? A geometry column from a different table, or the same table? If you needs are only temporary, then explore the uses of "select * into <b>temp </b>tt from ..." then use tt like any other table until you don't need it anymore in the transaction, then it disappears out of sight.</div>

<div><br></div><font color="#888888">
<div>-Mike</div></font></div><br>_______________________________________________<br>postgis-users mailing list<br><a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br><a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
<br></blockquote></div><br>