我的github

The first step to getting started with GeoMesa is to choose a persistent storage solution. This may be dictated by your target environment, but if not there are several options available.

开始使用GeoMesa的第一步是选择持久存储解决方案。这可能取决于您的目标环境,但如果不是这样的话,有几个选项可用。

If you want a near real-time view of streaming data, then consider using Kafka or Redis.

如果你想要的是实时查看的流数据,那么考虑使用Kafka或者Redis。

Otherwise, you can get similar functionality through HBaseAccumuloCassandra, Google Bigtable or Apache Kudu. HBase and Accumulo support distributed processing, so may be faster for certain operations. HBase and Cassandra are the most widely-used technologies, while Accumulo is often chosen for its advanced security features.

Another option is the FileSystem data store, which has a very low barrier to entry, and can read existing data in a variety of file formats. The FileSystem data store can provide extremely low-cost storage when backed by cloud-native object stores; however, it generally is not as performant as using an actual database.

For advanced use cases, multiple stores can be combined through Combined Data Store Views to provide both high performance (for recent data) and low cost (for older data).

Whichever storage solution you choose, the GeoMesa API is the same (outside of some back-end-specific configuration options). For most users, the back-end can be swapped out with minimal code changes.

无论你选择何种存储方案,GeoMesa API是一样的(除了一些后端的特定配置项)。对于绝大多数用户,后端可以通过最小的代码更改得到切换。

4.1. 快速启动
GeoMesa快速入门教程是学习GeoMesa最快、最简单的方法。它们是通往其他教程的良好踏脚石,这些教程提供了越来越多的使用GeoMesa的示例。这些教程展示了如何编写自定义Java代码,以便使用GeoMesa接收和查询数据,并可视化在GeomeServer中所做的更改。

4.2. 数据摄取
GeoMesa提供了一个摄取框架,可以使用JSON进行配置,这意味着无需编写任何代码即可摄取数据。这使您可以快速轻松地开始使用自定义数据格式,并且可以在不更改代码的情况下动态处理更新。

4.3. GeoJSON
GeoMesa提供了与GeoJSON的内置集成。GeoMesa提供了GeoJSON API,允许在不使用GeoTools API的情况下对GeoJSON数据进行索引和查询——所有数据和操作都是纯JSON。该API还包括一个用于web集成的REST端点。

4.4. Spark
GeoMesa在Spark和Spark SQL之上提供空间功能。要开始,请参阅数据分析。

参考:http://www.geomesa.org/documentation/stable/user/getting_started.html 

           https://www.cnblogs.com/2008nmj/p/15874241.html

posted on 2022-02-11 10:47  XiaoNiuFeiTian  阅读(587)  评论(0编辑  收藏  举报