Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] i need some help

Hi J.T.

Sorry to respond slowly.  Most of us have been out of the office for Thanksgiving.

For a little background, I'd recommend reading our paper: http://www.geomesa.org/assets/outreach/SpatioTemporalIndexing_IEEEcopyright.pdf

The class which encodes a SimpleFeature as an Accumulo Key and Value is an IndexEntryEncoder.*  Our key structure is variable and represented by a string which is parsed by the IndexSchema DSL.**

Admittedly, since the key structure can vary, the code is somewhat complex.  For concreteness, I'd suggest reading the IndexSchemaTest.scala.***

Thanks for a great question; I hope that helps some,

Jim

*
https://github.com/locationtech/geomesa/blob/accumulo1.5.x/1.x/geomesa-core/src/main/scala/org/locationtech/geomesa/core/index/IndexEntry.scala#L98

** https://github.com/locationtech/geomesa/blob/accumulo1.5.x/1.x/geomesa-core/src/main/scala/org/locationtech/geomesa/core/index/IndexSchema.scala#L189-192

*** https://github.com/locationtech/geomesa/blob/accumulo1.5.x/1.x/geomesa-core/src/test/scala/org/locationtech/geomesa/core/index/IndexSchemaTest.scala

On 11/28/2014 02:31 AM, J.T wrote:
       which part of the source code on https://github.com/locationtech/geomesa.git is  to convert (geometry, date-time) into a single dimension value?  
       Thank you :)
 


_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
http://www.locationtech.org/mailman/listinfo/geomesa-users


Back to the top