<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Thanks Jukka for your help</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>I wasn't asking a specific question but a general question. To make it short, my real question was that "Does mapserver performs reliably in providing WFS server so that we can rely on GML responses of WFS server?"</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>To explain my situation, i'm using data from MS101 demo. I'm making a query client-side to get features where "NA2DESC = 'Canada'", as you can see in following link:</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times
 new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/ms101/htdocs/wfs.map&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=continents&MAXFEATURES=100&Filter=<Filter><PropertyIsEqualTo><PropertyName>NA2DESC</PropertyName><Literal>Canada</Literal></PropertyIsEqualTo></Filter></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style:
 normal;"><span>When i perform the same query in ArcGIS, i get more than 5000 records selected. But, when  i use above link, i get 23 records in received GML (which is blow 100 threshold) [ i use QGIS for viewing GML]</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>This is my mapfile :</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>MAP<br> 
 NAME           "MS101"<br>  EXTENT        -180 -90 180 90 # Geographic<br>  SIZE           800 400<br>  IMAGECOLOR     128 128 255<br>  SHAPEPATH '../data'<br>    FONTSET '../fonts/fonts.list'<br>    <br>  IMAGETYPE png24<br>    <br>    OUTPUTFORMAT     <br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>        NAME "OGRGML"<br>        DRIVER "OGR/GML"<br>        FORMATOPTION "STORAGE=filesystem"<br>        FORMATOPTION "FORM=multipart"<br>   
     FORMATOPTION "FILENAME=result.gml"<br>    END<br><br>  PROJECTION<br>        "init=epsg:4326"<br>    END    <br>    <br>    WEB<br>        METADATA<br>            wfs_title "WFS101"<br>             <br>            wfs_onlineresource "http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/ms101/htdocs/wfs.map&"<br>            wfs_srs "EPSG:4326"<br>            wfs_enable_request "*"         <br>              wfs_maxfeatures "100"       
      <br>                                                                      <br>        END<br>    END<br>    <br><br>  LAYER # World polygon classified by continents begins here<br>    NAME         continents<br>    DATA         'shapefile/Countries_area'<br>    STATUS       on<br>    TYPE         POLYGON<br>    PROJECTION<br>     
 "init=epsg:4326"<br>    END<br>        METADATA<br>            wfs_title "continents"<br>            #wms_enable_request "*"<br>            gml_include_items "all"          <br>            gml_featureid        "ID"<br>            #gml_geometries     "geom"           <br>            #gml_geom_type        "polygon"     <br>            <br>        END<br>       
 <br>    CLASSITEM    'NA3DESC'<br>    LABELITEM    'NA3DESC'<br>    CLASS<br>      NAME       'Africa'<br>      EXPRESSION 'Africa'<br>      STYLE<br>        COLOR    255 128 128<br>      END<br>      LABEL<br>        COLOR    64 64 64<br>        OUTLINECOLOR 212 212 212<br>        TYPE     TRUETYPE<br>        FONT     vera_sans-bold-italic<br>        SIZE     12<br>        ANTIALIAS
 TRUE<br>        POSITION CC<br>        PARTIALS FALSE<br>        MINDISTANCE 250<br>        BUFFER   4<br>      END<br>    END<br>    CLASS<br>      NAME       'Antarctica'<br>      EXPRESSION /Antarctic./ #'Antarctic Area'<br>      STYLE<br>        COLOR    128 255 128<br>      END<br>      LABEL<br>        COLOR    64 64 64<br>        OUTLINECOLOR 212 212 212<br>        TYPE    
 TRUETYPE<br>        FONT     vera_sans-bold-italic<br>        SIZE     10<br>        ANTIALIAS TRUE<br>        POSITION CC<br>        PARTIALS FALSE<br>        MINDISTANCE 250<br>        BUFFER   4<br>      END<br>    END<br>    CLASS<br>      NAME       'Asia'<br>      EXPRESSION 'Asia'<br>      STYLE<br>        COLOR    0 0 255<br>      END<br>      LABEL<br>       
 COLOR    64 64 64<br>        OUTLINECOLOR 212 212 212<br>        TYPE     TRUETYPE<br>        FONT     vera_sans-bold-italic<br>        SIZE     10<br>        ANTIALIAS TRUE<br>        POSITION auto<br>        PARTIALS FALSE<br>        MINDISTANCE 250<br>        BUFFER   4<br>      END<br>    END<br>    CLASS<br>      NAME       'Oceania'<br>      EXPRESSION /Australia*/ #'Australian Area'<br>     
 STYLE<br>        COLOR    255 255 128<br>      END<br>      LABEL<br>        COLOR    64 64 64<br>        OUTLINECOLOR 212 212 212<br>        TYPE     TRUETYPE<br>        FONT     vera_sans-bold-italic<br>        SIZE     10<br>        ANTIALIAS TRUE<br>        POSITION CC<br>        PARTIALS FALSE<br>        MINDISTANCE 250<br>        BUFFER   4<br>      END<br>   
 END<br>    CLASS<br>      NAME       'Europe'<br>      EXPRESSION 'Europe'<br>      STYLE<br>        COLOR    255 128 255<br>      END<br>      LABEL<br>        COLOR    64 64 64<br>        OUTLINECOLOR 212 212 212<br>        TYPE     TRUETYPE<br>        FONT     vera_sans-bold-italic<br>        SIZE     10<br>        ANTIALIAS TRUE<br>        POSITION CC<br>        PARTIALS
 FALSE<br>        MINDISTANCE 250<br>        BUFFER   4<br>      END<br>    END<br>    CLASS<br>      NAME       'North America'<br>      EXPRESSION 'North America'<br>      STYLE<br>        COLOR    128 255 255<br>      END<br>      LABEL<br>        COLOR    64 64 64<br>        OUTLINECOLOR 212 212 212<br>        TYPE     TRUETYPE<br>        FONT     vera_sans-bold-italic<br>       
 SIZE     10<br>        ANTIALIAS TRUE<br>        POSITION CC<br>        PARTIALS FALSE<br>        MINDISTANCE 250<br>        BUFFER   4<br>      END<br>    END<br>    CLASS<br>      NAME       'South America'<br>      EXPRESSION 'South America'<br>      STYLE<br>        COLOR    255 192 96<br>      END<br>      LABEL<br>        COLOR    64 64 64<br>        OUTLINECOLOR 212 212
 212<br>        TYPE     TRUETYPE<br>        FONT     vera_sans-bold-italic<br>        SIZE     10<br>        ANTIALIAS TRUE<br>        POSITION CC<br>        PARTIALS FALSE<br>        MINDISTANCE 250<br>        BUFFER   4<br>      END<br>    END<br>  END # World polygon classified by continents ends here<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new
 roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>Any help would be really appreciated.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>Regards.<br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Rahkonen Jukka <jukka.rahkonen@mmmtike.fi><br> <b><span style="font-weight: bold;">To:</span></b> 'Saka Royban' <sakaroyban@yahoo.com>; 'MapServer' <mapserver-users@lists.osgeo.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, April 29, 2013 3:20 PM<br> <b><span style="font-weight: bold;">Subject:</span></b>
 Re: [mapserver-users] WFS in MapServer?<br> </font> </div> <div class="y_msg_container"><br><div id="yiv9757617072">

 
 
<style><!--
#yiv9757617072  
 _filtered #yiv9757617072 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered #yiv9757617072 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
#yiv9757617072  
#yiv9757617072 p.yiv9757617072MsoNormal, #yiv9757617072 li.yiv9757617072MsoNormal, #yiv9757617072 div.yiv9757617072MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman", "serif";}
#yiv9757617072 a:link, #yiv9757617072 span.yiv9757617072MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv9757617072 a:visited, #yiv9757617072 span.yiv9757617072MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv9757617072 p.yiv9757617072MsoAcetate, #yiv9757617072 li.yiv9757617072MsoAcetate, #yiv9757617072 div.yiv9757617072MsoAcetate
        {margin:0cm;margin-bottom:.0001pt;font-size:8.0pt;font-family:"Tahoma", "sans-serif";}
#yiv9757617072 span.yiv9757617072Shkpostityyli17
        {font-family:"Calibri", "sans-serif";color:#1F497D;}
#yiv9757617072 span.yiv9757617072SelitetekstiChar
        {font-family:"Tahoma", "sans-serif";}
#yiv9757617072 .yiv9757617072MsoChpDefault
        {font-size:10.0pt;}
 _filtered #yiv9757617072 {margin:70.85pt 2.0cm 70.85pt 2.0cm;}
#yiv9757617072 div.yiv9757617072WordSection1
        {}
--></style>

<div>
<div class="yiv9757617072WordSection1">
<div class="yiv9757617072MsoNormal"><span style="font-size:11.0pt;color:#1F497D;" lang="EN-US">No, it may just be that your question is a bit hard to answer. Could you give us a bit more information about your data, mapfile and WFS request
 you have been using?   Ogrinfo report about the datasource, layer definitions from the mapfile and at least the extents from the map level are needed.  A hand written WFS url is most useful but if you can capture with Firebug or something what Openlayers is
 really sending if will do as well.  Set also DEBUG 5 and CONFIG "CPL_DEBUG" "ON" into your layer setting in the mapfile and study what you get into the ms_errorfile.  </span></div> 
<div class="yiv9757617072MsoNormal"><span style="font-size:11.0pt;color:#1F497D;" lang="EN-US">  </span></div> 
<div class="yiv9757617072MsoNormal"><span style="font-size:11.0pt;color:#1F497D;" lang="EN-US">I do not believe that Mapserver WFS is 100% compliant but it may still be good enough. Speed depends usually much more on how the data in the backend
 is arranged than on the server.</span></div> 
<div class="yiv9757617072MsoNormal"><span style="font-size:11.0pt;color:#1F497D;" lang="EN-US">Here you can get some OpenStreetMap poinst from a very weak server</span></div> 
<div class="yiv9757617072MsoNormal"><span style="font-size:11.0pt;color:#1F497D;" lang="EN-US"><a href="" rel="nofollow" target="_blank">http://hip.latuviitta.org/cgi-bin/ms_ows?service=wfs&version=1.0.0&request=getfeature&typename=osm_pisteet&maxfeatures=1000</a></span></div> 
<div class="yiv9757617072MsoNormal"><span style="font-size:11.0pt;color:#1F497D;" lang="EN-US">and this will give you some areas</span></div> 
<div class="yiv9757617072MsoNormal"><span style="font-size:11.0pt;color:#1F497D;" lang="EN-US"><a href="" rel="nofollow" target="_blank">http://hip.latuviitta.org/cgi-bin/ms_ows?service=wfs&version=1.0.0&request=getfeature&typename=osm_alueet&maxfeatures=1000</a></span></div> 
<div class="yiv9757617072MsoNormal"><span style="font-size:11.0pt;color:#1F497D;" lang="EN-US">  </span></div> 
<div class="yiv9757617072MsoNormal"><span style="font-size:11.0pt;color:#1F497D;" lang="EN-US">There is also another member in the Mapserver family,  TinyOWS, which has cleared all the CITE tests for WFS and which can do also WFS-T. However,
 it works only with PostGIS.</span></div> 
<div class="yiv9757617072MsoNormal"><span style="font-size:11.0pt;color:#1F497D;" lang="EN-US">  </span></div> 
<div class="yiv9757617072MsoNormal"><span style="font-size:11.0pt;color:#1F497D;">-Jukka Rahkonen-</span></div> 
<div class="yiv9757617072MsoNormal"><span style="font-size:11.0pt;color:#1F497D;">  </span></div> 
<div class="yiv9757617072MsoNormal"><span style="font-size:11.0pt;color:#1F497D;">  </span></div> 
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt;">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;">
<div class="yiv9757617072MsoNormal"><span style="font-size:10.0pt;" lang="EN-US">Saka Royban wrote<br>
<br>
</span></div> 
</div>
</div>
<div class="yiv9757617072MsoNormal"><span lang="EN-US">  </span></div> 
<div>
<div>
<div class="yiv9757617072MsoNormal" style="background:white;"><span style="color:black;" lang="EN-US">Have i banned by mailing list users or admin?</span></div> 
</div>
<div>
<div class="yiv9757617072MsoNormal" style="background:white;"><span style="color:black;" lang="EN-US">  </span></div> 
</div>
<div>
<div>
<div>
<div class="yiv9757617072MsoNormal" style="text-align:center;background:white;" align="center">
<span style="color:black;">
<hr align="center" size="1" width="100%">
</span></div>
<div class="yiv9757617072MsoNormal" style="background:white;"><b><span style="font-size:10.0pt;color:black;" lang="EN-US">From:</span></b><span style="font-size:10.0pt;color:black;" lang="EN-US"> Saka Royban <</span><span style="font-size:10.0pt;color:black;"><a href="" rel="nofollow" ymailto="mailto:sakaroyban@yahoo.com" target="_blank"><span lang="EN-US">sakaroyban@yah</span>oo.com</a>><br>
<b>To:</b> MapServer <<a href="" rel="nofollow" ymailto="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>>
<br>
<b>Sent:</b> Saturday, April 27, 2013 5:46 PM<br>
<b>Subject:</b> [mapserver-users] WFS in MapServer?</span><span style="color:black;"></span></div> 
</div>
<div>
<div class="yiv9757617072MsoNormal" style="background:white;"><span style="color:black;">  </span></div> 
<div id="yiv9757617072">
<div>
<div>
<div>
<div class="yiv9757617072MsoNormal" style="background:white;"><span style="color:black;">Hi all</span></div> 
</div>
<div>
<div class="yiv9757617072MsoNormal" style="background:white;"><span style="color:black;">As a newbie, i've got confused. I've set up a WFS server with mapserver and then get some queries, Once by URL and another time by using OpenLayers. But the result GML contains just part
 of data that it must. (I've set MaxFeatures to 100 but GML contains less than 100 while there is more than 100 features in compliance with my query)</span></div> 
</div>
<div>
<div class="yiv9757617072MsoNormal" style="background:white;"><span style="color:black;">Then i got to page 560 of mapserver documentation, which says some statistics about WFS OGC test suites. So now, my question is that "Is MapServer doing totally well in providing WFS? Is
 it in full compliance with OGC WFS specification?" or we should not expectmuch from mapserver WFS server.</span></div> 
</div>
<div>
<div class="yiv9757617072MsoNormal" style="background:white;"><span style="color:black;">If not so, i'm looking for some real implementation of mapserver WMS and WFS to see the speed and other things. Could u provide me some links?</span></div> 
</div>
<div>
<div class="yiv9757617072MsoNormal" style="background:white;"><span style="color:black;">  </span></div> 
</div>
<div>
<div class="yiv9757617072MsoNormal"><span style="color:black;">Thanks in advance</span></div> 
</div>
</div>
</div>
</div>
<div class="yiv9757617072MsoNormal" style="margin-bottom:12.0pt;background:white;"><span style="color:black;"><br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="" rel="nofollow" ymailto="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="" rel="nofollow" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br>
</span></div> 
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div><br><br></div> </div> </div>  </div></body></html>