View Single Post
Old 22.04.2005, 10:26   #30
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

ok.. finally all those chinese stuff are making sense to me
are are indeed 3 levels in geodata

Lv1 = 00 base level - single surface, single layer
Lv2 = 40 00 - single surface, multi layer
Lv3 = 80 00 - multi surface, multi layer

as we have seen, lv1 data structure is like this
00 00 78 F1 78 F1 <- the first 2 bits 00 00 is actually the SURFACE info. meaning the base layer 00 00
78 F1 78 F1 <- is of cuz the height data as we know

then we'll look at Lv2,
40 00 <- first the indictor
9F E3 9F E3 <- then the height information directly... notice that there's no indication of surface cuz as said before Lv2 uses the same surface (REMEMBER: single surface, multiple layer)

then we shall look at Lv3
80 00 <- indicator
02 00 8F EA 3F E3 <- notice the first 2 bits? it's 02 00, stating that it's the 2nd surface or there might be 2 surfaces
and of cuz 8F EA 3F E3 is the height information for that XY

more to come,
Digital is offline