Hi,
How did you test? The following requests from your server do work for me
http://developer.system-ns.net:8080/geoserver/MobileSurvey/ows?service=WFS&version=1.1.0&request=getfeature&typename=MobileSurvey:CATASTRO_SQL3857&maxfeatures=10
http://developer.system-ns.net:8080/geoserver/MobileSurvey/ows?service=WFS&version=1.1.0&request=getfeature&typename=MobileSurvey:catastro_pg3857&maxfeatures=10
-Jukka Rahkonen-
DBauszus wrote:
I just got this running with MapServer. WFS 1.0.0 / 1.1.0, GET / POST, Fixed /
BBOX are all OK with MapServer using the same SQL Server data source as in my
GeoServer setup. Still would like to know why this isn't working with GeoServer. I
was always under the impression that GeoServer is more advanced than
MapServer. Plus, I like the web GUI.
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-
WFS-requests-tp5134223p5134470.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
On Fri, Apr 11, 2014 at 5:13 PM, DBauszus <dbauszus@anonymised.com> 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=<Filter+xmlns%3D"http%3A%2F%2Fwww.opengis.net%2Fogc"><BBOX><PropertyName>MobileSurvey%3AGEOMETRY<%2FPropertyName><gml%3ABox+xmlns%3Agml%3D"http%3A%2F%2Fwww.opengis.net%2Fgml"+srsName%3D"EPSG%3A3857"><gml%3Acoordinates>-11035911.7327911%2C2205765.92105263+-11034939.3461563%2C2206170.92105263<%2Fgml%3Acoordinates><%2Fgml%3ABox><%2FBBOX><%2FFilter>
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=<Filter+xmlns%3D"http%3A%2F%2Fwww.opengis.net%2Fogc"><BBOX><PropertyName>MobileSurvey%3Ageometry<%2FPropertyName><gml%3ABox+xmlns%3Agml%3D"http%3A%2F%2Fwww.opengis.net%2Fgml"+srsName%3D"EPSG%3A3857"><gml%3Acoordinates>-11035911.7327911%2C2205765.92105263+-11034939.3461563%2C2206170.92105263<%2Fgml%3Acoordinates><%2Fgml%3ABox><%2FBBOX><%2FFilter>
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
-------------------------------------------------------
I changed the profile to GEOTOOLS_DEVELOPER_LOGGING in the global settings
but I don't see any SQL statements just the GET reuqest sent to Geoserver.
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-WFS-requests-tp5134223p5134968.html
Sent from the GeoServer - User mailing list archive at Nabble.com.