Skip to content
This repository was archived by the owner on Jul 14, 2022. It is now read-only.
This repository was archived by the owner on Jul 14, 2022. It is now read-only.

Shapes not loading properly in Elasticsearch #7

@deanraspa

Description

@deanraspa

I found this dataset and attempted to load it into an elastic search instance for doing some testing of elastic search map functionality. When I attempted to import the geojson/state.geo.json file, there were a few features that failed to load due to sequential points being identical. It looks like whatever library elastic search is using does not allow for sequential points being identical.

I was able to find the identical sequential points using a regex replace in vscode:

(\[\s-?\d+\.\d+,\s-?\d+\.\d+\s\])(,\s\1)

where the replace box contains "$1"

I see that this dataset has not been touched for a while, but I thought that I should post this issue in case someone else runs into a similar problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions