MapServerOnlineTest.testFeatureReaderWithFilter won't work
----------------------------------------------------------
Key: GEOT-2284
URL: http://jira.codehaus.org/browse/GEOT-2284
Project: GeoTools
Issue Type: Improvement
Components: data wfs
Reporter: Andrea Aime
Assignee: Gabriel Roldán
Fix For: 2.6-M0
The above test runs a first getfeature, and then cheks the fid filtes are
working by doing a second request using a fid from the first one.
The main issue is, MapServer is not generating any fid, so the code has to make
them up, and obviously that ends up badly.
Here is a sample of the output:
{code}
<gml:featureMember>
<envdat:envirodat>
<gml:boundedBy>
<gml:Box srsName="EPSG:4326">
<gml:coordinates>-61.322500,52.228300
-61.322500,52.228300</gml:coordinates>
</gml:Box>
</gml:boundedBy>
<envdat:msGeometry>
<gml:Point srsName="EPSG:4326">
<gml:coordinates>-61.322500,52.228300</gml:coordinates>
</gml:Point>
</envdat:msGeometry>
<envdat:Station_ID>NF02XA0001</envdat:Station_ID>
<envdat:lat>52.2283</envdat:lat>
<envdat:url_station_data>http://map.ns.ec.gc.ca/sp/profile.aspx?NL_ENV_SER_ID=NF02XA0001</envdat:url_station_data>
<envdat:lon>-61.3225</envdat:lon>
</envdat:envirodat>
</gml:featureMember>
{code}
As you can see, no fid. Maybe add a parameter to the test utility method you're
using to tell it wheter stable fids are supported, or not.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel