To setup database views is an option BUT has several limitations:<br>1) I must know in advance the queries that the user will issue<br>2) I dont know what happens with db perfomance: Consider that there will be a great volume of data in terms of tables and content of the tables.<br><br>My goal is to act as a content provider with an API for visualazation and querying.<br>I consider OGC through WMS and WFS but if understood correctly WFS cannot fullfill my needs... (right??)<br><br>For example lets say that I have two tables Cities and Roads<br>and I want to find :"The Road with name X which Cities crosses ?"<br><br>and then HighLight these cities!<br><br>This query can be supported in MapServer ?<br><br><br><br><b><i>"Bart van den Eijnden (OSGIS)" &lt;bartvde@OSGIS.NL&gt;</i></b> έγραψε:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> WFS won't allow you currently to do advanced queries.<br><br>If your queries
 are known beforehand, you can setup database views and use<br>those views as a typename in WFS.<br><br>If that's not possible, you need a more direct way of controlling your<br>queries, Mapscript could be an option then (setting the DATA statement<br>dynamically on a LAYER).<br><br>Best regards,<br>Bart<br><br>--<br>Bart van den Eijnden<br>OSGIS, Open Source GIS<br>http://www.osgis.nl<br><br><br>--------- Oorspronkelijk bericht --------<br>Van: korakas koarkis <korakas2004@YAHOO.GR><br>Naar: MAPSERVER-USERS@LISTS.UMN.EDU <MAPSERVER-USERS@LISTS.UMN.EDU><br>Onderwerp: [UMN_MAPSERVER-USERS] WFS for advanced queries ?<br>Datum: 16/02/07 12:15<br><br>&gt; Hi all,I have a PostGIS installed, and I want to setup above a Framework<br>for&nbsp; visualization and advanced querying the of data. (By the term<br>advanced I mean inner/outer join etc)I was thinking to use UMN Mapserver<br>with OCG standards:*) WMS for visualization and*) WFS for quering the<br>dataDoes MapServer handles
 advanced querying through WFS, or do I have to<br>consider some other API (MapScript) ?ThxKio  <br>&gt;    <br>&gt; Χρησιμοποιείτε Yahoo! <br>&gt; Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την<br>καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων  <br>&gt; http://login.yahoo.com/config/mail?.intl=gr <br></MAPSERVER-USERS@LISTS.UMN.EDU></korakas2004@YAHOO.GR></blockquote><br> <p>&#32;
                <hr size=1><font size=-1 face=Arial> 
Χρησιμοποιείτε Yahoo!<br> 
Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων <br> 
<a href="http://login.yahoo.com/config/mail?.intl=gr">http://login.yahoo.com/config/mail?.intl=gr</a> </font>