[OpenLayers-Dev] Parsing WFS-GetFeature-Request from GeoServer/PostGis

Dipl. Inf. Carsten Eider eider at fh-bingen.de
Wed Jul 9 08:25:12 EDT 2008


Hi folks,

im am trying to parse a WFS-GetFeature-Request responded by a GeoServer 
1.6.4.a, based upon a postigs datastore
using a Format.GML.

Can anyone give me a hint which options I have to set for Format.GML?

OL-Version is 2.6!

Could there a bug in Format.GML.parse?

Snippet from has to be parsed:

<wfs:FeatureCollection numberOfFeatures="49" 
timeStamp="2008-07-09T14:06:19.281+02:00" 
xsi:schemaLocation="http://mapserver.gis.umn.edu/mapserver 
http://localhost:8084/geoserver164a/wfs?service=WFS&version=1.1.0&request=DescribeFeatureType&typeName=ms:test 
http://www.opengis.net/wfs 
http://localhost:8084/geoserver164a/schemas/wfs/1.1.0/wfs.xsd">
    <gml:featureMembers>

    <ms:test gml:id="test.1">

    <gml:boundedBy>

    <gml:Envelope srsName="urn:x-ogc:def:crs:EPSG:6.11.2:31467">
<gml:lowerCorner>5535873.992 3428802.332000001</gml:lowerCorner>
<gml:upperCorner>5535952.432 3428837.720999999</gml:upperCorner>
</gml:Envelope>
</gml:boundedBy>

    <ms:wkb_geometry>

    <gml:Polygon srsName="urn:x-ogc:def:crs:EPSG:6.11.2:31467">

    <gml:exterior>

    <gml:LinearRing>

    <gml:posList>
5535880.573999998 3428837.720999999 5535873.992 3428822.019 5535948.01 
3428802.332000001 5535952.432 3428818.2690000003 5535880.573999998 
3428837.720999999
</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</ms:wkb_geometry>
<ms:fid_beispi>0.0</ms:fid_beispi>
<ms:gem_name>Gau-Algesheim</ms:gem_name>
<ms:code_>3568/10-279/0 </ms:code_>
<ms:fla_flu_f>1276/1276</ms:fla_flu_f>
<ms:betrieb_nr>907333.0</ms:betrieb_nr>
<ms:rebsorte>Dornfelder       </ms:rebsorte>
<ms:na_min_max>1/1</ms:na_min_max>
<ms:anzahl_f>1.0</ms:anzahl_f>
<ms:wbr>F</ms:wbr>
<ms:lagen_name>Steinert    </ms:lagen_name>
<ms:lagen_nr>710109.0</ms:lagen_nr>
<ms:steil_stst>N/N</ms:steil_stst>
<ms:farbe>h_gruen</ms:farbe>
<ms:gem_nr>3568.0</ms:gem_nr>
<ms:z_n>279/0 </ms:z_n>
<ms:fid_al001_>147780.0</ms:fid_al001_>
<ms:id>21089347.000000000000000</ms:id>
<ms:date_>2007/07/21</ms:date_>
<ms:objname>q09YFVM</ms:objname>
<ms:objfolie>1.000000000000000</ms:objfolie>
<ms:objart>233.000000000000000</ms:objart>
<ms:fs_land>7.0</ms:fs_land>
<ms:fs_gemark>3568.0</ms:fs_gemark>
<ms:fs_flur>10.0</ms:fs_flur>
<ms:fs_zaehler>279.0</ms:fs_zaehler>
<ms:fs_nenner>0.0</ms:fs_nenner>
<ms:fs_folge>0.0</ms:fs_folge>
<ms:fs_kennz>-1.236399144E9</ms:fs_kennz>
<ms:shape_leng>184.600527461000010</ms:shape_leng>
<ms:shape_area>1261.514080010000000</ms:shape_area>
</ms:test>
</gml:featureMembers>
</wfs:FeatureCollection>

-- 
Mit freundlichen Grüßen / Yours faithfully
Carsten Eider

Dipl. Inf. (FH)

Kompetenzzentrum für Innovative Informationssysteme

c/o Fachhochschhule Bingen / University of applied sciences Bingen

Berlinstraße 109
55411 Bingen

Tel: +49 (0) 6721 / 409-179
Fax: +49 (0) 6721 / 409-158
email: eider at fh-bingen.de
Internet: iis.fh-bingen.de 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: eider.vcf
Type: text/x-vcard
Size: 330 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20080709/788ecb4d/eider.vcf


More information about the Dev mailing list