2017-03-06 56 views
2

我使用sfts和转换器在geomesa accumulo中摄入了数据,Data已成功导入,并且我可以使用geoserver插件显示相同的数据。我想使用命令行过滤功能数据,但是无法找到任何命令来执行此操作。如果我错了,请纠正我,但我想查询功能数据集就像完成RDMS左右。如何使用命令行查询gemesa-accumulo功能

回答

3

GeoMesa命令行工具支持通过'export'命令进行查询。该命令使用CQL(与GeoServer支持的查询语言相同)。

查看更多关于GeoMesa导出命令的链接。 http://www.geomesa.org/documentation/user/accumulo/commandline_tools.html#export

http://www.geomesa.org/documentation/user/accumulo/examples.html#exporting-features

更多关于CQL,请参阅GeoTools(http://docs.geotools.org/latest/userguide/library/cql/cql.html)和的GeoServer文档(http://docs.geoserver.org/stable/en/user/tutorials/cql/cql_tutorial.html,和http://docs.geoserver.org/latest/en/user/filter/ecql_reference.html)。

+1

另一个选项是用于交互式查询的[spark SQL](http://www.geomesa.org/documentation/user/spark/sparksql.html)。 – vpipkt