Does it have to be a Z-curve? The excellent Accumulo recipes project has a very easy-to-use geospatial index based on a quadtree.
https://github.com/calrissian/accumulo-recipes/tree/master/store/geospatial-store/src/main/java/org/calrissian/accumulorecipes/geospatialstore/support -Russ On Thu, Jul 24, 2014 at 10:17 AM, William Slacum < [email protected]> wrote: > Quick google search yielded: > > > https://github.com/GeoLatte/geolatte-geom/blob/master/src/main/java/org/geolatte/geom/curve/MortonCode.java > > > On Thu, Jul 24, 2014 at 10:10 AM, THORMAN, ROBERT D <[email protected]> > wrote: > >> Can anyone share a Java method to convert lat/lon (decimal degrees) to >> Z-Curve (string)? I need to order my geo-spatial data into lexical order. >> >> v/r >> Bob Thorman >> Principal Big Data Engineer >> AT&T Big Data CoE >> 2900 W. Plano Parkway >> Plano, TX 75075 >> 972-658-1714 >> >> >> >
