Thanks for the tips.
This query works.
<?xml version="1.0" encoding="UTF-8"?>
<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs"
xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="
http://www.opengis.net/gml" service="WFS" version="1.1.0"
resultType="hits">
<wfs:Query typeName="departamentos">
<ogc:Filter>
<ogc:Intersects>
<ogc:PropertyName>the_geom</ogc:PropertyName>
<gml:Envelope srsName="
http://www.opengis.net/gml/srs/epsg.xml#900913">
<gml:lowerCorner>-6034598.3656438
-3886757.0912688</gml:lowerCorner>
<gml:upperCorner>-6032317.2206062
-3884475.9462312</gml:upperCorner>
</gml:Envelope>
</ogc:Intersects>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>
2010/12/20 Andrea Aime <[email protected]>
> On Mon, Dec 20, 2010 at 7:18 PM, Rahkonen Jukka
> <[email protected]> wrote:
> > Hi,
> >
> > Perhaps Geoserver wants to get BBOX as GML3 because you are using WFS
> 1.1.0. Try version 1.0.0 if you want to give "coordinates", or use
> "posList" with WFS 1.1.0.
>
> Good suggestion. Another one is to force schema validation on the
> requests by posting to
> http://host:port/geoserver/wfs?strict=true
>
> That will help you debug hand made requests
>
> Cheers
> Andrea
>
> -----------------------------------------------------
> Ing. Andrea Aime
> Senior Software Engineer
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
>
> phone: +39 0584962313
> fax: +39 0584962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -----------------------------------------------------
>
------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months. Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users