OpenLayers does not support GML3 currently, that is what is going on. Best regards, Bart
On Fri, 4 Jul 2008 11:51:56 +0200, "Bas Couwenberg" <[EMAIL PROTECTED]> wrote: > Hello, > > I am using OpenLayers 2.6 with Deegree2 WFS to query my features. Now it > seems that the coordinates that my features have are somehow changed > within > Openlayers and are different shapes then the ones i expect. For example: > if > I use the WFS request from OpenLayers in a browser I get the following > response: > > <?xml version="1.0" encoding="UTF-8" ?> > *-*<http://localhost:8080/deegree-wms/services?typename=Gemeentenkaart&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG%3A28992&filter=%3Cogc%3AFilter%20xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22%20xmlns%3Agml%3D%22http%3A%2F%2Fwww.#> > <wfs:FeatureCollection numberOfFeatures="*2*" xmlns:gml="* > http://www.opengis.net/gml*" > xmlns:wfs="*http://www.opengis.net/wfs*"xmlns:xsi > ="*http://www.w3.org/2001/XMLSchema-instance*" xmlns:app="* > http://www.deegree.org/app*" > xmlns:xlink="*http://www.w3.org/1999/xlink*"xsi:schemaLocation > ="*http://www.deegree.org/app > http://localhost:8080/deegree-wms/services?SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=app:Gemeentenkaart&NAMESPACE=xmlns(app=http://www.deegree.org/app) > http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd*"> > > *-*<http://localhost:8080/deegree-wms/services?typename=Gemeentenkaart&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG%3A28992&filter=%3Cogc%3AFilter%20xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22%20xmlns%3Agml%3D%22http%3A%2F%2Fwww.#> > <gml:boundedBy> > > *-*<http://localhost:8080/deegree-wms/services?typename=Gemeentenkaart&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG%3A28992&filter=%3Cogc%3AFilter%20xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22%20xmlns%3Agml%3D%22http%3A%2F%2Fwww.#> > <gml:Envelope srsName="*EPSG:28992*"> > * * <gml:lowerCorner>*120415.645262517 486397.10144285*</gml:lowerCorner> > * * <gml:upperCorner>*122569.98471342 489875.070274064*</gml:upperCorner> > * * </gml:Envelope> > * * </gml:boundedBy> > > *-*<http://localhost:8080/deegree-wms/services?typename=Gemeentenkaart&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG%3A28992&filter=%3Cogc%3AFilter%20xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22%20xmlns%3Agml%3D%22http%3A%2F%2Fwww.#> > <gml:featureMember> > > *-*<http://localhost:8080/deegree-wms/services?typename=Gemeentenkaart&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG%3A28992&filter=%3Cogc%3AFilter%20xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22%20xmlns%3Agml%3D%22http%3A%2F%2Fwww.#> > <app:Gemeentenkaart gml:id="*ID_3139*"> > > *-*<http://localhost:8080/deegree-wms/services?typename=Gemeentenkaart&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG%3A28992&filter=%3Cogc%3AFilter%20xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22%20xmlns%3Agml%3D%22http%3A%2F%2Fwww.#> > <gml:boundedBy> > > *-*<http://localhost:8080/deegree-wms/services?typename=Gemeentenkaart&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG%3A28992&filter=%3Cogc%3AFilter%20xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22%20xmlns%3Agml%3D%22http%3A%2F%2Fwww.#> > <gml:Envelope srsName="*EPSG:28992*"> > * * <gml:lowerCorner>*120415.645262517 > 488937.543039517*</gml:lowerCorner> > * * <gml:upperCorner>*122010.408084555 > 489875.070274064*</gml:upperCorner> > * * </gml:Envelope> > * * </gml:boundedBy> > * * <app:gemeentecyclusnr>*3139*</app:gemeentecyclusnr> > * * <app:gemeente>*GEMB*</app:gemeente> > * * <app:ddingang>*2008-05-07T22:00:00Z*</app:ddingang> > > *-*<http://localhost:8080/deegree-wms/services?typename=Gemeentenkaart&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG%3A28992&filter=%3Cogc%3AFilter%20xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22%20xmlns%3Agml%3D%22http%3A%2F%2Fwww.#> > <app:geometrie> > > *-*<http://localhost:8080/deegree-wms/services?typename=Gemeentenkaart&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG%3A28992&filter=%3Cogc%3AFilter%20xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22%20xmlns%3Agml%3D%22http%3A%2F%2Fwww.#> > <gml:Surface srsName="*EPSG:28992*"> > > *-*<http://localhost:8080/deegree-wms/services?typename=Gemeentenkaart&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG%3A28992&filter=%3Cogc%3AFilter%20xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22%20xmlns%3Agml%3D%22http%3A%2F%2Fwww.#> > <gml:patches> > > *-*<http://localhost:8080/deegree-wms/services?typename=Gemeentenkaart&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG%3A28992&filter=%3Cogc%3AFilter%20xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22%20xmlns%3Agml%3D%22http%3A%2F%2Fwww.#> > <gml:PolygonPatch> > > *-*<http://localhost:8080/deegree-wms/services?typename=Gemeentenkaart&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG%3A28992&filter=%3Cogc%3AFilter%20xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22%20xmlns%3Agml%3D%22http%3A%2F%2Fwww.#> > <gml:exterior> > > *-*<http://localhost:8080/deegree-wms/services?typename=Gemeentenkaart&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG%3A28992&filter=%3Cogc%3AFilter%20xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22%20xmlns%3Agml%3D%22http%3A%2F%2Fwww.#> > <gml:LinearRing> > * * <gml:posList srsDimension="*2*" count="*5*">*120995.559015987 > 489875.070274064 120415.645262517 489140.512853176 121478.820477208 > 488937.543039517 122010.408084555 489556.117709731 120995.559015987 > 489875.070274064*</gml:posList> > * * </gml:LinearRing> > * * </gml:exterior> > * * </gml:PolygonPatch> > * * </gml:patches> > * * </gml:Surface> > * * </app:geometrie> > * * <app:indvervallen>*N*</app:indvervallen> > * * </app:Gemeentenkaart> > * * </gml:featureMember> > </wfs:FeatureCollection> > > The coordinates here are still the same as in my database so that's good. > But when OpenLayers gets this response it draws, as it seems, the bounding > boxes of the polygons instead of the polygon itself. The shape in the WFS > responce gets the following coordinates: > > 120415.645262517 488937.543039517, 122010.408084555 488937.543039517, > 122010 > .408084555 489875.070274064, 120415.645262517 489875.070274064, > 120415.645262517 > 488937.543039517 > > Whats going wrong here? > > Best regards, > > Bas _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
