sfomuseum

package module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2023 License: BSD-3-Clause Imports: 0 Imported by: 0

README

go-elasticsearch-sfomuseum

Go package for indexing SFO Museum Who's On First style records in Elasticsearch.

Tools

es-sfomuseum-index

es-sfomuseum-index bulk indexes one or more whosonfirst/go-whosonfirst-iterate/v2 sources in an Elasticsearch database.

$> ./bin/es-sfomuseum-index -h
  -append-spelunker-v1-properties
    	Append and index auto-generated Whos On First Spelunker properties.
  -elasticsearch-endpoint string
    	A fully-qualified Elasticsearch endpoint. (default "http://localhost:9200")
  -elasticsearch-index string
    	A valid Elasticsearch index. (default "millsfield")
  -index-alt-files
    	Index alternate geometries.
  -index-only-properties
    	Only index GeoJSON Feature properties (not geometries).
  -index-spelunker-v1
    	Index GeoJSON Feature properties inclusive of auto-generated Whos On First Spelunker properties.
  -iterator-uri string
    	A valid whosonfirst/go-whosonfirst-iterator/emitter URI. Supported emitter URI schemes are: directory://,featurecollection://,file://,filelist://,geojsonl://,git://,null://,repo:// (default "repo://")
  -workers int
    	The number of concurrent workers to index data using. Default is the value of runtime.NumCPU().

See also

Documentation

Overview

package sfomuseum provides methods and tools for SFO Museum Who's On First style records in Elasticsearch.

Directories

Path Synopsis
cmd
package cmd provides command line tools indexing and working with SFO Museum Who's On First style records in Elasticsearch.
package cmd provides command line tools indexing and working with SFO Museum Who's On First style records in Elasticsearch.
es-sfomuseum-index
es-sfomuseum-index bulk indexes one or more whosonfirst/go-whosonfirst-iterate/v2 sources in an Elasticsearch database.
es-sfomuseum-index bulk indexes one or more whosonfirst/go-whosonfirst-iterate/v2 sources in an Elasticsearch database.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL