9. GeoMesa转换器¶
GeoMesa Convert是一个可配置且可扩展的库,用于将数据转换为GeoTool SimpleFeature
s, which can then be written to GeoMesa. The convert library is the easiest way to ingest data into GeoMesa, and ships with the GeoMesa command-line tools. Data types are defined in the JSON-like HOCON 格式,它允许在不需要任何自定义代码的情况下摄取各种数据。
对于一些常见的开源数据集,包括Twitter和GDELT,提供了现成的转换器定义;请参阅 预打包的转换器定义 了解更多细节。此外,常见的文件格式,如GeoJSON、分隔文本或自描述Avro,通常可以在没有转换器的情况下获取。看见 ingest 了解更多细节。