geo-ndjson-es-loader

1.0.0 • Public • Published

geo-ndjson-es-loader

Pipe ndjson (geojson) into elastic search, with polygon mappings configured.

Install

npm install shp-to-es-loader -g

Usage

cat data | geo-ndjson-es-loader http://localhost:9200/newindex  "properties.SOMETHINGID"

Where the args are:

  • the es index that will be Created, also provide the user/pass
  • a primary key that can be user from the Feature to prevent dupes.

The program will:

  • Create the index
  • put the generic mapping file as the default mapping. This preserves the geoshape.
  • loads all the Features into that index
  • make your life easier.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2

Package Sidebar

Install

npm i geo-ndjson-es-loader

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • eckoit