ISPRS Workshop on Service and Application of Spatial Data Infrastructure, XXXVI(4/W6), Oct.14-16, Hangzhou, China
270
{
DM^-DeleSuffix(TM); // delete the terminal digit
M«—DelePrefixD(DM); // delete the started digit
(ij) F-l(M) // conversion from Morton code of the
diamond to row/column number
T<—SuffixD(TM); // extract the orientation of the triangle
switch(Dir)
{
EAST: // the east neighbor of the triangle
if(T=0)
DM<—EdgeDiamondAdjacent(DM,EN);
if(i<I) TM<-AppendTODM(DM,l);
else
TM^AppendTODM(DM,0);
else
DM<—EdgeDiamondAdjacent(DM,ES);
if(j<I) TM^AppendTODM(DM,0); else
TM<—AppendTODM(DM,l);
break;
WEST: // the west neighbor of the triangle
if(T=0)
DM<—EdgeDiamondAdjacent(DM,WN);
if(j>0) TM^AppendTODM(DM,l);
else
TM<—AppendTODM(DM,0);
else
DM^EdgeDiamondAdjacent(DM,WS);
if(i>0) TM^AppendTODM(DM,0);
else
TM<—AppendTODM(DM, 1);
break;
INVERT:if(T=0)
TM<—AppendTODM(DM,l);
else
TM<—AppendTODM(DM,0);
break;}
retum(TM)
}
7. CONCLUSIONS
Data organization based on the diamond tessellation has several
advantages. Diamond geometry is simpler than triangles. Like
the regular grid, the diamond cell has uniform orientation, radial
symmetry and translation congruence, thus make it much more
easier to complete nearly all the spatial operations of the
discrete data a spherical surface. The diamond hierarchy is
nested that make it convenient for data organization and
compressed storage. We use a labeling scheme in which two
triangles that make up each diamond can be distinguishes
through add an additional digit to the end of the Quadcodes of
the diamond. This makes it possible to extend algorithms and
techniques developed for Quadtree Square meshes to adapt to
the triangular meshes.
REFERENCES
Bartholdi. J. Ill and Goldsman P., 2001. Continuous Indexing of
Hierarchical Subdivisions of the Globe. Int. J. Geographical
Information Science, 15(6), pp.489-522.
Dutton G.,1990. Locational Properties of Quaternary Triangular
Meshes. In: the Fourth International Symposium on Spatial
Data Handing (Zurich, Switzerland July 1990). pp. 901-910.
Fekete,G., 1990. Rendering and managing spherical Data
With Sphere Quadtrees. In: Conference on Visualization ’90
(san Francisco, CA,Oct.l990).
Goodchild M.F. and Yang S., 1992. A Hierarchical Data
Structure for Global Geographic Information Systems.
Computer Vision and Geographic Image Processing, 54(1),
pp.31-44.
Kevin Sahr,Denis White,and A.Jon Kimerling.,2003.
Geodesic Discrete Global Grid Systems. Cartography and
Geographic Information Science,30(2), pp. 121-134.
Lee M. and Samet H., 2000, Navigating through Triangle
Meshes Implemented as Linear Quadtrees. ACM Transactions
on Graphics, 19(2), pp. 79-121.
Otoo E. and Zhu H.,1993. Indexing on Spherical Surfaces
Using Semi-Quadcodes, In: Abel J. and Beng C. 0.(Eds.),
Advances in spatial Databases 3th International Symposium,
SSD'93, Singapore, pp. 509-529.
White D. and Kimmerling A.J., 1998. Comparing Area and
Shape Distortion on Polyhedral Based Recursive Tessellations
of the Sphere. International Journal of Geographical
Information Science. 12(8), pp. 808-827.
White. D., 2000. Global Grids From Recursive Diamond
Subdivisions of The Surface of an Octahedron or Icosahedron.
Environmental Monitoring and Assessment, 4(1), pp. 93-103.
Zhao xuesheng, 2002. Spherical Voronoi Data Model Based
on QTM. PH.D dissertation, China University of Mining and
Technology (Beijing), Beijing, pp.105 in Chinese.
ACKNOWLEDGEMENTS
This work described in the paper is supported by the National
Natural Science Foundation of China (Under grant
No.40471108)