Sprial encoding technique

570
4
07-04-2013 05:24 AM
DenzilRockman
New Contributor

55551111
11222211
11222233
11222333


How would one compress the following data using a "spiral" encoding technique? Regards, Denzil
Tags (2)
0 Kudos
4 Replies
Louwde_Villiers
New Contributor
HI Denzil,

Have you had any success with this question of yours as I also need an answer to that exact same question. Please reply here if you have and I will reply again with my email address if we can possibly help one another.

Regards,

Louw de Villiers
0 Kudos
JoeBorgione
MVP Emeritus
Maybe you guys could explain what it is you are doing or want to do;  geocoding on this forum pertains to the translation of a descriptive location (specifically an address like 1234 Main St) to a pair of X,Y coordinates that the GIS can map.

A google search of Spiral Encoding was anything but address related...
That should just about do it....
0 Kudos
DenzilRockman
New Contributor
I am currently doing a course on GIS, and this was 1 of the questions that we had to go and research.

B B E E E E
A A A E E E
D D B E E E
D D B B E E
D D D D D E
D D D D E E

(See above) If the compressed run length encoding is as follows 2,B,7,E,3,A,2,D,1,B,5,E,2,B,7,D,3,E,4,D


What would the spiral  encoding technique be below.
5 5 5 5 1 1 1 1
1 1 2 2 2 2 1 1
1 1 2 2 2 2 3 3
1 1 2 2 2 3 3 3
1 1 1 1 7 7 4 4
1 1 1 1 7 7 4 4
1 1 1 1 4 4 4 4
1 1 1 1 4 4 4 4

If I should write the spiral code would it be as follows 4,5, 4,1,4,3,3,2...

Regards,

Denzil
0 Kudos
JoeBorgione
MVP Emeritus
I am currently doing a course on GIS, and this was 1 of the questions that we had to go and research.

B B E E E E
A A A E E E
D D B E E E
D D B B E E
D D D D D E
D D D D E E

(See above) If the compressed run length encoding is as follows 2,B,7,E,3,A,2,D,1,B,5,E,2,B,7,D,3,E,4,D


What would the spiral  encoding technique be below.
5 5 5 5 1 1 1 1
1 1 2 2 2 2 1 1
1 1 2 2 2 2 3 3
1 1 2 2 2 3 3 3
1 1 1 1 7 7 4 4
1 1 1 1 7 7 4 4
1 1 1 1 4 4 4 4
1 1 1 1 4 4 4 4

If I should write the spiral code would it be as follows 4,5, 4,1,4,3,3,2...

Regards,

Denzil



Tell you what Denzil-  I've only got 23 years in the field, and this is something I've never heard of.  Granted, I'm just a gray haired middle aged guy and perhaps this has slipped by me....
That should just about do it....
0 Kudos