-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simple python tests of WFS responses #2583
Conversation
project = self.testdata_path + "test+project_wfs.qgs" | ||
assert os.path.exists(project), "Project file not found: " + project | ||
|
||
query_string = 'MAP=%s&SERVICE=WFS&VERSION=1.1.0&REQUEST=%s' % (urllib.quote(project), request) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QGIS Server does not implement WFS 1.1.0.
Can you update this code ?
STARTINDEX is standard in WFS 2.0, but it's an extension for WFS 1.0 implemented in QGIS Server. STARTINDEX can be used to skip some features in the result set and in combination with MAXFEATURES provides for the ability to use WFS GetFeature to page through results. Note that STARTINDEX=0 means start with the first feature, skipping none.
@rldhont seems this has broken travis: https://travis-ci.org/qgis/QGIS/jobs/96995633#L1388 Please only merge pull requests which are green (unless there's a very good reason to assume that it's red for an unrelated reason and normally even in these cases it's worth restarting the tests once again to be certain). |
You can add a test and mark it as Therefore it's important to only have tests active that test for working functionality and if tests are in place for things to be fixed, it's important to raise awareness to have somebody fix it - or even better fix them right away like done here, thanks a lot 👍 ! |
Thanks. That is exactly the functionality I was after. I will never forget it :-) |
No description provided.