Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Interleaving strings -How? Re:

From: al:bri:xtra at: 22-Sep-2000 19:39

[webdev--accglobal--net] wrote:
> The short and the long of what I want to do is take latitude and longitude
coordinate pairs and interleave them with each other.
> The rational behind this is to place objects that are physically close to
each other in the real world close together in computer memory, which we all know is linear and not spherical like the earth. The coordinates are in decimal degrees for the sake of easy manipulation.
> As an example: > latitude value : 043.6732452849 > longitude value: 142.8321724625 > interleaved value: 043142 6783 3221 4572 2846 4925 > (spaces are only for readability/illustration)
Purely out of curiosity, could you describe the software around this scheme? How does it manipulate these shuffled coordinates to work out how things are close together? Andrew Martin ICQ: 26227169 http://members.ncbi.com/AndrewMartin/ http://members.xoom.com/AndrewMartin/