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] Retain Data Shape when Uploading GeoJSON #94333

Closed
dsadosky opened this issue Mar 10, 2021 · 3 comments
Closed

[Maps][File upload] Retain Data Shape when Uploading GeoJSON #94333

dsadosky opened this issue Mar 10, 2021 · 3 comments
Labels
[Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation enhancement New value added to drive a business result Feature:File Upload

Comments

@dsadosky
Copy link

dsadosky commented Mar 10, 2021

Retain the structure of the uploaded geojson documents) when using the file upload tool. Currently, the upload tool flattens the geojson structure (removing the "properties" object and moving all items under properties to the root level. The uploader also renames the standard "geometry" key to coordinates both of which make the ingested data no longer geojson compliant.

Either retain the shape/structure of the uploaded data and/or provide the ability to provide customer mappings and ingest pipelines similar to other upload tooling (ie. Data Analyzer)

@kindsun kindsun added enhancement New value added to drive a business result Feature:File Upload [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation labels Mar 10, 2021
@elasticmachine
Copy link
Contributor

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

@kindsun
Copy link
Contributor

kindsun commented Mar 10, 2021

Related to #40197

@nreese
Copy link
Contributor

nreese commented Dec 1, 2021

Closing.

Flattening properties is intentional so the data is easier to work with in Kibana. The original GeoJSON shape is not preserved because there is no elasticsearch API that can return a FeatureCollection so it does not makes sense to preserve the original shape of the data at the expense of ease-of-use in Kibana.

Either retain the shape/structure of the uploaded data and/or provide the ability to provide customer mappings and ingest pipelines similar to other upload tooling (ie. Data Analyzer)

#120023 renamed coordinates to geometry.

Please track customer mappings and ingest pipelines with #40197

@nreese nreese closed this as completed Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation enhancement New value added to drive a business result Feature:File Upload
Projects
None yet
Development

No branches or pull requests

4 participants