[Maps] Features not being imported from valid GeoJson files #107335
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
impact:high
Addressing this issue will have a high level of impact on the quality/strength of our product.
Kibana version:
7.13.4
Elasticsearch version:
7.13.4
Server OS version:
macOS 10.15.7 (with and Intel CPU)
karl@Karls-MacBook-Pro-2 geojson % uname -a
Darwin Karls-MacBook-Pro-2.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Jun 22 19:49:55 PDT 2021; root:xnu-6153.141.35~1/RELEASE_X86_64 x86_64
Browser version:
Google Chrome is up to date
Version 92.0.4515.107 (Official Build) (x86_64)
Browser OS version:
macOS 10.15.7 (with and Intel CPU)
karl@Karls-MacBook-Pro-2 geojson % uname -a
Darwin Karls-MacBook-Pro-2.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Jun 22 19:49:55 PDT 2021; root:xnu-6153.141.35~1/RELEASE_X86_64 x86_64
Original install method (e.g. download page, yum, from source, etc.):
Downloaded these 2 files and ran tar xzf
elasticsearch-7.13.4-darwin-x86_64.tar.gz
kibana-7.13.4-darwin-x86_64.tar.gz
I then ran /bin/elasticsearch and /bin/kibana and enabled the trial license.
There was no other load on the cluster or Kibana.
Describe the bug:
Please note: This information is copied from the Slack conversation:
https://elastic.slack.com/archives/C2ZUZ5T7B/p1627673794014800
I’m trying to import 3 GeoJson files with 7.13.4. I’ve checked that they are all valid using: https://www.itb.ec.europa.eu/json/geojson/upload
One of them imports successfully, but the other 2 cause messages such as this to be displayed after import:
“Indexed 13 features. Unable to index 5 features” AND 1 feature is missing from the map.
After I select the GeoJson file, but before I import it, all features are displayed on the map.
After I add the layer to the map, it appears that 5 features are missing from the map.
The import response JSON contains this: “reason”: “failed to parse”,
There are 8 records (i.e. 13-5) in the index that is created.
I've also checked the GeoJson file renders correctly here: http://geojson.io/
Also, I thought that it could be related to the Arabic letters, so I used http://geojson.io to remove most of the columns, but I still only got 8 out of 13 features imported by Elastic.
Steps to reproduce:
Expected behavior:
Screenshots (if relevant):
Please see attached.
Errors in browser console (if relevant):
None
Provide logs and/or server output (if relevant):
No relevant log entries were produced.
Any additional context:
If you would to have a Zoom call for more details, I would be happy to help. FYI, I'm based in the UK and my email address is: [email protected]
Thanks, Karl
saudi-arabia-regions.geojson.zip
saudi-arabia-districts.geojson.zip
The text was updated successfully, but these errors were encountered: