Hi,
I just tried this with my test data and url similar you yours [1] and
was not able to reproduce it locally using 5.4 and 5.6. If your data/map
are not sensitive, would it be possible to send it to me directly and I
will give it a try again (It would be easier for me to see the problem)?
best regards
[1];
http://127.0.0.1/cgi-bin/mapserv.exe?map=f:/projects/mapserver-buildkit-2008/mapserver/msautotest/wxs/wfs_filter_mine2.mapSERVICE=WFSVERSION=1.0.0REQUEST=GetFeatureTYPENAME=popplace_postgisfeatureid=popplace_postgis.Tignish,popplace_postgis.Cheticamp,popplace_postgis.Halifax
On 24/02/2011 7:33 PM, Rainer Spittel wrote:
Hi,
I didn't had problems with UMN Mapserver for a very long time. I
really love the product, and now I really need help.
I set up a WFS Server, accessing a PostGIS point table. I use
OpenLayers to visualise the WFS layer, and use the cluster strategy to
group close points to a large cluster point.
Now to the problem:
I want to retrieve the feature data from a cluster point. I already
have the IDs of the features of the cluster.
Now I send a GetFeature request to the Mapserver to get all attribute
information for the features, i.e. ID=231 and ID=273:
http://[...]/cgi-bin/stations?request=getfeatureservice=WFSversion=1.0.0typename=DTISOUTPUTFORMAT=gml3featureid=DTIS.231,DTIS.273
http://[...]/cgi-bin/stations?request=getfeatureservice=WFSversion=1.0.0typename=DTISOUTPUTFORMAT=gml3featureid=DTIS.231,DTIS.273
The response of this request contains the feature 231 twice in the
response. If I add another ID to the request, I get the feature 231
three times returned:
[...]
gml:featureMember
ms:DTIS gml:id=DTIS.231
gml:boundedBy[...]/gml:boundedBy
ms:msGeometry
gml:Point srsName=EPSG:4326
gml:pos174.081500 -34.949500/gml:pos
/gml:Point
/ms:msGeometry
ms:id231/ms:id
/ms:DTIS
/gml:featureMember
gml:featureMember
ms:DTIS gml:id=DTIS.231
[...]
/gml:featureMember
/ms:msFeatureCollection
As soon as I export the table from PostgreSQL into a shapefile, update the
mapfile to use the shapefile and run the same query, I get the correct
response.I also tracked the SQL query, which is sent to Postgres, and the query
is correct. PostgreSQL returns the correct rows.
I use MapServer V5.4.1, which is not a very newer version,but I am constraint
by the Debian packages.
Is this an user error (I am not smart enough)? Or a bug? If so, has this bug
been resolved in a later version?
Any help is really appreciated.
Thanks,
Rainer
Rainer Spittel | Head of Development
SilverStripe
http://silverstripe.com http://silverstripe.com/
Phone: +64 4 978 7330
Mobile: +64 21 1390370
Skype: fb3rasp
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
Assefa Yewondwossen
Software Analyst
Email: yass...@dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users