The reason is found for my problem. I have simulated request to MapServer
manually.

The GetFeature request to MapServer that is produced by GeoTools 2.2.x
WFSDataStore looks like this:

=============================================
<?xml version="1.0" encoding="UTF-8"?>
<GetFeature xmlns="http://www.opengis.net/wfs";
xmlns:gml="http://www.opengis.net/gml";
xmlns:ogc="http://www.opengis.net/ogc"; version="1.0.0" service="WFS"
outputFormat="GML2"><Query
typeName="TG_OMATIE"><ogc:PropertyName>msGeometry</ogc:PropertyName>
<ogc:Filter><ogc:BBOX><ogc:PropertyName>msGeometry</ogc:PropertyName>
<gml:Box><gml:coordinates decimal="." cs="," ts="
">3669974.159827543,7034913.012544877
3670967.818494744,7035739.51367928</gml:coordinates>
</gml:Box>
</ogc:BBOX>
</ogc:Filter>
</Query>
</GetFeature>
=============================================

!!!! MapServer 4.8 can not eat any attributes in <gml:coordinates.../> tag.
The tag MUST look like:

><gml:coordinates>3669974.159827543,7034913.012544877
3670967.818494744,7035739.51367928</gml:coordinates>

without any attributes. In this case MapServer 4.8 throws valid GML with
features as it should be.

So, seems these attributes are part of GML2 specification, it is just an
issue of MapServer constraints.  I don't know what is the situation with
latest version of MapServer, but shouldn't I report to MapServer's mailing
list?...

Anyway, the support of WFS in MapServer is poor right now (lots of
limitations). 

Vitali.



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to