Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Maps][File upload] GeoJSON file fails in preview but works on index #92504

Closed
kindsun opened this issue Feb 23, 2021 · 3 comments
Closed

[Maps][File upload] GeoJSON file fails in preview but works on index #92504

kindsun opened this issue Feb 23, 2021 · 3 comments
Labels
bug Fixes for quality problems that affect the customer experience [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation Feature:File Upload regression v7.12.0 v8.0.0

Comments

@kindsun
Copy link
Contributor

kindsun commented Feb 23, 2021

This GeoJSON file attached previously mostly worked (there were some shapes that failed) in both preview and on indexing. The file now produces the following error on preview but then indexes correctly.

image

Behavior between preview and indexing should be at least roughly consistent. i.e.- If preview completely fails it shouldn't be indexable. If it succeeds, it should partially/mostly index correctly.

Preview result:

image

Indexing result:

image

buildings-46900-mini.geo.tar.gz

@kindsun kindsun added bug Fixes for quality problems that affect the customer experience regression [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation v8.0.0 v7.12.0 labels Feb 23, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

@nreese
Copy link
Contributor

nreese commented Feb 24, 2021

I ran into this issue when converting the importing from importing the entire file to only importing chunks of the file at the time. @loaders.gl/json can sometimes provide an incomplete feature for the last feature in a batch. That feature is then updated to be complete when the next batch is processed. This issues is resolved with #92620 and buildings-46900-mini.geo.tar.gz can be uploaded without any problems.

@nreese
Copy link
Contributor

nreese commented Mar 3, 2021

closed by #92620

@nreese nreese closed this as completed Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation Feature:File Upload regression v7.12.0 v8.0.0
Projects
None yet
Development

No branches or pull requests

3 participants