Hi all,
Normal, I use newrequest(featureCollection, httpPayload) to send request,
and it also show result on map when it receive result.
But some request Geoserver don't support, so that I write a file php to do
it, and result is returned as GML document, example:

<wfs:FeatureCollection xsi:schemaLocation="http://www.openplans.org/topp
http://localhost:8080/geoserver/wfs/DescribeFeatureType?typeName=topp:states
http://www.opengis.net/wfs
http://localhost:8080/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd";>
    <gml:boundedBy>
    <gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#4326";>
<gml:coordinates decimal="." cs="," ts=" ">-75.791435,38.44949 -75.045998,
39.840008</gml:coordinates>
</gml:Box>
</gml:boundedBy>
    <gml:featureMember>
    <topp:states fid="states.3">
    <topp:the_geom>
    <gml:MultiPolygon srsName="http://www.opengis.net/gml/srs/epsg.xml#4326
">
    <gml:polygonMember>
    <gml:Polygon>
    <gml:outerBoundaryIs>
    <gml:LinearRing>
    <gml:coordinates decimal="." cs="," ts=" ">.........</gml:coordinates>
</gml:LinearRing>
</gml:outerBoundaryIs>
</gml:Polygon>
</gml:polygonMember>
</gml:MultiPolygon>
</topp:the_geom>
<topp:STATE_NAME>Delaware</topp:STATE_NAME>
</topp:states>
</gml:featureMember>
</wfs:FeatureCollection>

Now, I want to show this feature on MapPanel and FeatureList. How can I do
it?
Thank you so much.
-- 
   Nguyễn Đình Toán

-------------------------
Neu khong doc duoc tieng Viet, vui long vao menu View --> chon Encoding -->
chon Unicode (UTF-8). Cam on.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users

Reply via email to