Thanks Martin, great work, as usual. I had been wanting to implement BASE32 as a generalization for a while, so great work there. I'm not aware of 4-d geohashes, but that may be a cool area :) JIRA issue, indeed.
Cheers, Chris ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: [email protected] WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -----Original Message----- From: Martin Desruisseaux <[email protected]> Organization: Geomatys Reply-To: "[email protected]" <[email protected]> Date: Sunday, June 9, 2013 9:57 AM To: "[email protected]" <[email protected]> Subject: Re: Shoudn't GeoHashCoder.decode(String) throws ParseException? >Hello Chris > >Le 07/06/13 22:40, Mattmann, Chris A (398J) a écrit : >> +1 to make all 3 updates below. > >Thanks, I went away. Javadoc is at [1]. I added a get/setFormat >accessor, where Format is an enum containing only BASE32 for now. But I >tried to design it in a way that make room for BASE36 is we want to >implement it later. I also added get/setPrecision accessor. On the >implementation side, I took the liberty to modify the code in order to >reduce the amount of array allocations. This would hopefully improve >performance, but I didn't benchmarked... > >I noticed that the algorithm would be easy to generalize to the >n-dimensional case, thus encoding/decoding geohash for spatio-temporal >coordinates. However I don't know if there would be any use for that, >especially since it would be non-standard. Is anyone aware of >applications that would benefit from (x,y,z) or (x,y,z,t) geohashes, >despite being non-standard? If so, a JIRA task could be created for >collecting use cases. > > Martin > > >[1] >https://builds.apache.org/job/sis-trunk/site/apidocs/org/apache/sis/index/ >GeoHashCoder.html >
