Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fox offset calculation for prev link
test added
- Loading branch information
1 parent
9fb1cc4
commit 6ef6414
Showing
3 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
.../qgis_server/api/test_wfs3_collections_items_testlayer_èé_limit_1_offset_2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
Content-Type: application/geo+json | ||
|
||
{ | ||
"features": [ | ||
{ | ||
"geometry": { | ||
"coordinates": [ | ||
8.203459, | ||
44.901395 | ||
], | ||
"type": "Point" | ||
}, | ||
"id": "2", | ||
"properties": { | ||
"id": 3, | ||
"name": "three", | ||
"utf8nameè": "three èé↓" | ||
}, | ||
"type": "Feature" | ||
} | ||
], | ||
"links": [ | ||
{ | ||
"href": "http://server.qgis.org/wfs3/collections/testlayer%20%C3%A8%C3%A9/items.geojson?limit=1&offset=2", | ||
"rel": "self", | ||
"title": "Retrieve the features of the collection as GEOJSON", | ||
"type": "application/geo+json" | ||
}, | ||
{ | ||
"href": "http://server.qgis.org/wfs3/collections/testlayer%20%C3%A8%C3%A9/items.html?limit=1&offset=2", | ||
"rel": "alternate", | ||
"title": "Retrieve the features of the collection as HTML", | ||
"type": "text/html" | ||
}, | ||
{ | ||
"href": "http://server.qgis.org/wfs3/collections/testlayer èé/items?&offset=1&limit=1", | ||
"rel": "prev", | ||
"title": "Previous page", | ||
"type": "application/geo+json" | ||
} | ||
], | ||
"numberMatched": 3, | ||
"numberReturned": 1, | ||
"timeStamp": "2019-07-05T12:27:07Z", | ||
"type": "FeatureCollection" | ||
} |