[mapserver-users] [EXTERNAL] MS7 wfs

Smith, Michael ERDC-RDE-CRREL-NH Michael.Smith at erdc.dren.mil
Thu Mar 12 14:42:50 PDT 2015


One side note, you can set

"wfs_compute_number_matched" "false"

In the LAYER METADATA section to disable this.

See http://mapserver.org/development/rfc/ms-rfc-105.html for details.


----
Michael Smith

US Army Corps
Remote Sensing GIS/Center
michael.smith at usace.army.mil





From:  "Steve.Toutant at inspq.qc.ca" <Steve.Toutant at inspq.qc.ca>
Date:  Thursday, March 12, 2015 at 3:19 PM
To:  "mapserver-users at lists.osgeo.org" <mapserver-users at lists.osgeo.org>
Subject:  [EXTERNAL] [mapserver-users] MS7 wfs
Resent-From:  Michael Smith <michael.smith at usace.army.mil>


hello 
Using mapserver 7 I make this request to get the number of features in a
WFS layer. it returns
numberOfFeatures="450361"
http://localhost/cgi-bin/ms7?version=1.1.0&request=getfeature&service=wfs&t
ypename=feature:aqreseau&resultType=hits
<http://localhost/geo/cgi-bin/testwps65?version=1.1.0&request=getfeature&se
rvice=wfs&typename=feature:aqreseau&resultType=hits>

this layer is a postgis table on localhost.
This request takes 18 seconds to run with mapserver 7
in postgis select count(*) from  table takes 61ms to run
the same request using a geoserver WFS takes less than 1 second

Is there something that can be done with MS7 to improve performance?
thanks 




More information about the mapserver-users mailing list