【问题标题】:Geomesa BBOX query provide result only for whole world BBOXGeomesa BBOX 查询只为全球 BBOX 提供结果
【发布时间】:2019-05-18 15:15:28
【问题描述】:

我正在运行命令行查询来获取边界框数据。只有当边界框为“BBOX(geom, -180, -90, 180, 90.0)”时,geomesa 查询才会返回结果。对于任何其他参数,它返回 0 个特征。

我已经尝试过 geomesa hbase 指南。 GDELT 示例给出了类似的结果,它仅返回“BBOX(geom, -180, -90, 180, 90.0)”的数据。

https://www.geomesa.org/documentation/tutorials/geomesa-hbase-s3-on-aws.html#ingest-public-gdelt-data

key                    | String 
namespace              | String (Attribute indexed)
identifier             | String (Attribute indexed)
version                | String 
payload                | String 
payload_schema_version | String 
geom                   | Point  (Spatially indexed)

User data:
  geomesa.indices | z2:5:3:geom,id:4:3:,attr:8:3:namespace:geom,attr:8:3:identifier:geom

即使存在此边界框的 100GB 数据,即使下面的查询也返回 0 结果。

geomesa-hbase export -c geospatial_data_version_1 -f geospatial_data-point-entity -m 10 -q "BBOX(geom, -179, -90, 180, 90)"

我在 S3 上使用 Geomesa v 2.3.0 和 Hbase 1.4.3。

回复:

id,key:String,namespace:String,identifier:String,version:String,payload:String,payload_schema_version:String,*geom:Point:srid=4326 INFO 特征导出在 6163 毫秒内完成 0 个特征的标准输出

【问题讨论】:

    标签: hbase geotools geomesa


    【解决方案1】:

    检查 GeoMesa 日志和 HBase 日志是否有错误。如果没有更多信息,我猜 GeoMesa 协处理器安装不正确。此外,您可能需要使用特定于 AWS 的 HBase 客户端 JAR,它们有额外的代码来处理在 S3 上运行。

    【讨论】:

    • 是的,我重新安装了解决问题的 Geomesa。
    猜你喜欢
    • 2019-04-21
    • 1970-01-01
    • 2021-07-17
    • 2012-09-01
    • 1970-01-01
    • 2018-09-27
    • 1970-01-01
    • 1970-01-01
    • 2021-12-27
    相关资源
    最近更新 更多