-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bugfix][Server] In WMS GetFeatureInfo CRS param not mandatory when F…
…ILTER param The CRS parameter is considered as mandatory in GetFeatureInfo even if the FILTER parameter is used without I and J parameters. To fix it, set a fake CRS in the parameter when I/J and X/Y parameters are not defined and FILTER parameter is defined.
- Loading branch information
Showing
4 changed files
with
40 additions
and
3 deletions.
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
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
14 changes: 14 additions & 0 deletions
14
tests/testdata/qgis_server/wms_getfeatureinfo_filter_no_crs.txt
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,14 @@ | ||
Content-Length: 577 | ||
Content-Type: text/xml; charset=utf-8 | ||
|
||
<GetFeatureInfoResponse> | ||
<BoundingBox maxy="44.90143568" maxx="8.20354699" miny="44.90143568" CRS="EPSG:4326" minx="8.20354699"/> | ||
<Layer name="testlayer èé"> | ||
<Feature id="1"> | ||
<Attribute value="2" name="id"/> | ||
<Attribute value="two" name="name"/> | ||
<Attribute value="two àò" name="utf8nameè"/> | ||
<BoundingBox maxy="44.9014" maxx="8.2035" miny="44.9014" CRS="EPSG:4326" minx="8.2035"/> | ||
</Feature> | ||
</Layer> | ||
</GetFeatureInfoResponse> |