Skip to content

Commit

Permalink
add the WFS typeName as the fileName (#669)
Browse files Browse the repository at this point in the history
Co-authored-by: Liam <loconnor@compass.ie>
  • Loading branch information
select-8 and Liam committed Oct 13, 2023
1 parent 37093cc commit be5a5a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ bootstrap.jsonp

lib/*/
lib/turf.js
.sencha/ide/config.json
.sencha/.gitignore
3 changes: 3 additions & 0 deletions app/controller/grid/Grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,9 @@ Ext.define('CpsiMapview.controller.grid.Grid', {
params.filter = wfsGetFeatureFilter;
}

// pass a filename to MapServer
params.fileName = params.typeName;

params.outputFormat = outputFormat;
// remove the count and startIndex parameters so that all records are exported
delete params.count;
Expand Down

0 comments on commit be5a5a1

Please sign in to comment.