On Fri, Apr 11, 2014 at 5:13 PM, DBauszus <[email protected]> wrote:
> I tested the access through an OpenLayers application changing version as
> well strategy.
>
> I also tested the requests from Cadcorp SIS which I used to extract the
> request strings with bounding box parameter. The WFS requests without a
> bounding box work for me. I just have problems with retrieving features
> inside a bounding box.
>
> As I have mentioned. When I test the same data with MapServer, all requests
> work fine. Gonna move the MapServer setup to my public box today.
>
> For GeoServer this GET request should return a couple of features but
> doesn't.
>
>
> http://developer.system-ns.net:8080/geoserver/MobileSurvey/wfs?request=GetFeature&version=1.0.0&service=WFS&typename=MobileSurvey:CATASTRO_SQL3857&filter=%3cFilter+xmlns%3d%22http%3a%2f%2fwww.opengis.net%2fogc%22%3e%3cBBOX%3e%3cPropertyName%3eMobileSurvey%3aGEOMETRY%3c%2fPropertyName%3e%3cgml%3aBox+xmlns%3agml%3d%22http%3a%2f%2fwww.opengis.net%2fgml%22+srsName%3d%22EPSG%3a3857%22%3e%3cgml%3acoordinates%3e-11035911.7327911%2c2205765.92105263+-11034939.3461563%2c2206170.92105263%3c%2fgml%3acoordinates%3e%3c%2fgml%3aBox%3e%3c%2fBBOX%3e%3c%2fFilter%3e
>
> However, if alter the request to retrieve features from the WFS which
> points
> to the PostGIS database I get the features returned.
>
>
> http://developer.system-ns.net:8080/geoserver/MobileSurvey/wfs?request=GetFeature&version=1.0.0&service=WFS&typename=MobileSurvey:catastro_pg3857&filter=%3CFilter+xmlns%3d%22http%3a%2f%2fwww.opengis.net%2fogc%22%3E%3CBBOX%3E%3CPropertyName%3EMobileSurvey%3ageometry%3C%2fPropertyName%3E%3Cgml%3aBox+xmlns%3agml%3d%22http%3a%2f%2fwww.opengis.net%2fgml%22+srsName%3d%22EPSG%3a3857%22%3E%3Cgml%3acoordinates%3E-11035911.7327911%2c2205765.92105263+-11034939.3461563%2c2206170.92105263%3C%2fgml%3acoordinates%3E%3C%2fgml%3aBox%3E%3C%2fBBOX%3E%3C%2fFilter%3E
You should set GeoServer to "geotools developer logging" and see which sql
queries are sent down
to sql server and postgis. Please report them, so that we can see what's
going on, it's probably
something related to either how the sql is encoded, or how the database
interprets it.
Cheers
Andrea
--
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users