Open tbonfort opened 12 years ago
Author: assefa Date: 2005/06/27 - 16:50
looking into this
Author: assefa Date: 2005/06/27 - 17:07
First test I did after setting app the wfs server was trying to do a get
request using this url :
http://127.0.0.1/cgi-bin/mapserv.exe?
map=d:/msapps/tmp/Bug1393/test.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature
&TYPENAME=acn&FILTER=<ogc:Filter><ogc:PropertyIsEqualTo><ogc:PropertyName>PSTK<
/ogc:PropertyName><ogc:Literal>2353JB</ogc:Literal></ogc:PropertyIsEqualTo></og
c:Filter>&
It retunrs 19 features to this request. The layer is setup exactly as
described in the bug. I used the following extents for the map EXTENT
95355.000000 460768.000000 98485.000000 466231.000000.
I am currently using mapserver cvs on windows.
Bart : few questions before I continue the tests :
- Is a get request as I did work for you ?
- what version of mapserver are you using ans OS ?
- Should I setup a client wfs client layer to do the tests ?
Author: BEN@syncera-itsolutions.nl Date: 2005/06/27 - 17:16
Hi Assefa,
I just tried this:
http://localhost:8080/stragisweb/cgi-bin/mapserv.exe?map=/ms4w/apps/stragisweb/htdocs/sites/mdwh/map/stragisweb.map&&SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature&TYPENAME=acn&FILTER=%3Cogc:Filter%3E%3Cogc:PropertyIsEqualTo%3E%3Cogc:PropertyName%3EPSTK%3C/ogc:PropertyName%3E%3Cogc:Literal%3E2353JB%3C/ogc:Literal%3E%3C/ogc:PropertyIsEqualTo%3E%3C/ogc:Filter%3E&
Getting back:
<wfs:FeatureCollection xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.cubewerx.com/schemas//wfs/1.0.0/WFS-basic.xsd
http://www.syncera.net/stragisweb
http://localhost:8080/stragisweb/cgi-bin/mapserv.exe?map=/ms4w/apps/stragisweb/htdocs/sites/mdwh/map/stragisweb.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=acn&OUTPUTFORMAT=XMLSCHEMA">
-
<gml:boundedBy>
<gml:null>missing</gml:null>
</gml:boundedBy>
</wfs:FeatureCollection>
So does not work for me.
Mapserv -v on Windows 2000 returns:
D:\ms4w\apps\stragisweb\htdocs\cgi-bin>mapserv -v
MapServer version 4.6.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF
OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPO
RTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER INPUT
=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG
These are 4.6.0 binaries from maptools.org
Can you send me your binaries?
Bart
Author: BEN@syncera-itsolutions.nl Date: 2005/06/27 - 17:18
Okay, actually it is the EXTENT.
If I use your EXTENT values it does work Assefa.
Why is the EXTENT influencing the WFS GetFeature results?
Author: BEN@syncera-itsolutions.nl Date: 2005/06/27 - 17:24
Okay, I get it Assefa. My EXTENT was not large enough to cover the whole area of
the SHAPEFILE.
Let's close this bug and forget about my stupid mistake :-).
1394 is still an issue though. Can you look into that one?
Author: assefa Date: 2005/06/27 - 17:40
ok checking the extents.
I was preparing the binaries and did not see your last note. Will get back to
you soon. I will also check the 1394.
Reporter: BEN@syncera-itsolutions.nl Date: 2005/06/23 - 13:45