How are GeoTIFFs persisted in GeoMesa?

随声附和 提交于 2019-12-13 18:07:23

问题


How are GeoTIFFs saved in GeoMesa and Accumulo given that it is a key-value datastore? Moreover, which indices are added (if!) and on which fields?

Likewise, for other formats such as:

  • GeoJSON
  • GML
  • KML

回答1:


GeoMesa's raster support is targeted a narrow set of use cases. The documentation for the raster support (http://www.geomesa.org/documentation/user/accumulo/raster.html) has some of the details for ingest and setting up GeoServer. Raster data does need to be in longitude/latitude (and maybe pre-tiled).

GeoMesa's raster data is indexed by spatial extent solely.

(It may be worth looking at more general raster toolkits like GeoTrellis for Hadoop/Spark-based raster support.)

For vector data, GeoMesa has support via its converter library (http://www.geomesa.org/documentation/user/convert/index.html) for ingesting XML, Json, and other file formats. More generally, GeoMesa implements the GeoTools DataStore API. For any format with a GeoTools DataStore implementation, one could read from that source and write to GeoMesa using straightforward Java/Scala code.

GeoMesa's GeoJson support is documented here (http://www.geomesa.org/documentation/user/geojson.html). For GML, I think the converter library might be a sane approach. For KML, it appears there is an unsupported datastore here (https://github.com/geotools/geotools/blob/master/modules/unsupported/kml/src/main/java/org/geotools/data/kml/KMLDataStore.java).



来源:https://stackoverflow.com/questions/46939526/how-are-geotiffs-persisted-in-geomesa

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!