Skip to content

Conversation

@kindsun
Copy link
Contributor

@kindsun kindsun commented Jul 23, 2019

Resolves #40082. Previously, indexed GeoJSON file layers defaulted to default values of true for layer properties: applyGlobalQuery and sourceDescriptor.filterByMapBounds. This sets these initial defaults to false as a safer option for widely varying data and data-size for files uploaded via the File Uploader.

@kindsun kindsun added Team:Geo Former Team Label for Geo Team. Now use Team:Presentation v8.0.0 v7.4.0 Feature:File Upload v7.3.1 labels Jul 23, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis

@kindsun kindsun added the release_note:skip Skip the PR/issue when compiling release notes label Jul 23, 2019
@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@kindsun
Copy link
Contributor Author

kindsun commented Jul 23, 2019

retest

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@thomasneirynck thomasneirynck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice little improvement, will avoid much grief. See comment.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@thomasneirynck thomasneirynck self-requested a review July 26, 2019 20:19
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@thomasneirynck thomasneirynck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm on remerge with master and green CI

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@kindsun kindsun merged commit 0407c7f into elastic:master Aug 2, 2019
kindsun pushed a commit to kindsun/kibana that referenced this pull request Aug 2, 2019
… global (elastic#41789)

* Set 'map bounds' and 'global query' default to 'false' for indexed geojson layers

* Add constants file

* Clean up

* Dynamically determine whether or not to filter by map bounds based upon docCount
kindsun pushed a commit to kindsun/kibana that referenced this pull request Aug 2, 2019
… global (elastic#41789)

* Set 'map bounds' and 'global query' default to 'false' for indexed geojson layers

* Add constants file

* Clean up

* Dynamically determine whether or not to filter by map bounds based upon docCount

# Conflicts:
#	x-pack/legacy/plugins/maps/public/layers/sources/client_file_source/geojson_file_source.js
#	x-pack/legacy/plugins/maps/public/reducers/map.js
kindsun pushed a commit that referenced this pull request Aug 2, 2019
… global (#41789) (#42524)

* Set 'map bounds' and 'global query' default to 'false' for indexed geojson layers

* Add constants file

* Clean up

* Dynamically determine whether or not to filter by map bounds based upon docCount
kindsun pushed a commit that referenced this pull request Aug 2, 2019
… global (#41789) (#42533)

* Set 'map bounds' and 'global query' default to 'false' for indexed geojson layers

* Add constants file

* Clean up

* Dynamically determine whether or not to filter by map bounds based upon docCount

# Conflicts:
#	x-pack/legacy/plugins/maps/public/layers/sources/client_file_source/geojson_file_source.js
#	x-pack/legacy/plugins/maps/public/reducers/map.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:File Upload release_note:skip Skip the PR/issue when compiling release notes Team:Geo Former Team Label for Geo Team. Now use Team:Presentation v7.3.1 v7.4.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Maps] change defaults of dynamic querying for geojson upload layers

3 participants