Hm interesting....<br>You mean first I take the Geometry of the road<br>and then check for all Cities if that geometry Intersect the city geometry.<br><br>The interesection can be implemented in one GetFeaute request or in x (x = number of cities ??)<br><br>Thanks in advance<br>Kio<br><br><b><i>"Kralidis,Tom [Burlington]" &lt;Tom.Kralidis@EC.GC.CA&gt;</i></b> έγραψε:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">  <br>Ah, ok.  For that kind of scenario (and I want to find :"The Road with name X which Cities crosses ?"), you could:<br><br>- query a roads WFS to get geometry<br>- pass these geometries to a WFS Intersect filter to seek<br> <br>..Tom<br><br><br><br>________________________________<br><br> From: UMN MapServer Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] On Behalf Of korakas koarkis<br> Sent: 16 February, 2007 9:45 AM<br> To: MAPSERVER-USERS@LISTS.UMN.EDU<br> Subject: Re: [UMN_MAPSERVER-USERS]
 WFS for advanced queries ?<br> <br> <br> 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> "Bart van den Eijnden (OSGIS)" <bartvde@OSGIS.NL> έγραψε: <br><br>  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 <br>  Naar: 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  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>  <br><br><br> ________________________________<br><br> Χρησιμοποιείτε Yahoo!<br> Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων <br> http://login.yahoo.com/config/mail?.intl=gr <br></bartvde@OSGIS.NL></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>