Skip to content

Commit

Permalink
Fix for QGIS filters when not using extent
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasSp committed May 3, 2022
1 parent 9d529ca commit 7be7efd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/layer/wfssource.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,9 @@ class WfsSource extends VectorSource {
// in EPSG:4326. EXP_FILTER comparisons still expects the SRS of the data to be used, which Origo then doesn't know.
if (extent && this.getOptions().strategy !== 'all' && !customFilter && !this.getOptions().isTable) {
queryFilter = `&BBOX=${requestExtent.join(',')},${this.getOptions().dataProjection}${qgisFilter}`;
} else {
queryFilter = qgisFilter;
}

break;
}
default: break;
Expand Down

0 comments on commit 7be7efd

Please sign in to comment.