Informative Maps on pda-phones


Figure 19 Sample map with coordinates taken and with the linkage information



Download 2.99 Mb.
View original pdf
Page16/33
Date23.10.2022
Size2.99 Mb.
#59791
1   ...   12   13   14   15   16   17   18   19   ...   33
Chui (2006)
Figure 19 Sample map with coordinates taken and with the linkage information
3.1.3. Coordinates System
Drawing of a point or a line on maps requires the coordinates in pixel format. Thus, the coordinates in the standard HK Grid 80 format have to be converted into pixel format for representation on maps. The returned map from centamap is of size X pixels and the current coordinate is specified as the centre point, i.e., (400, 300) in the pixel format. With such information, all coordinates given in
HK Grid 80 on the map can be converted into its corresponding pixel format.

CS) Informative Maps on PDA-phones
Chui Pui Ling Page 31 800 pixels pixels bHK Grid 80 to Pixel Conversion for Zoom level = 4

(Figure 20)
FactorX = 800 / (836380 - 835246)
FactorY = 600 / (818334 - 817484) With the centre coordinates of the map with pixel (400,300), any HKGrid 80 coordinates on the map can be converted into pixel form (PtX, PtY)
PtX = 400 + (coordinateX - centreCoordinateX) * FactorX
PtY = 300 - (coordinateY - centreCoordinateY) * FactorY
Figure 20 Sample map get from centamap with zoom level = 4

CS) Informative Maps on PDA-phones
Chui Pui Ling Page 32 800 pixels 0 pixels bHK Grid 80 to Pixel Conversion for Zoom level = 3

(Figure 21)
FactorX = 800 / (836203 - 835423)
FactorY = 600 / (818202 - 817616) With the centre coordinates of the map with pixel (400,300), any HKGrid 80 coordinates on the map can be converted into pixel form (PtX, PtY)
PtX = 400 + (coordinateX - centreCoordinateX) * FactorX
PtY = 300 - (coordinateY - centreCoordinateY) * FactorY
Figure 21 Sample map get from centamap with zoom level = 3

CS) Informative Maps on PDA-phones
Chui Pui Ling Page 33

Download 2.99 Mb.

Share with your friends:
1   ...   12   13   14   15   16   17   18   19   ...   33




The database is protected by copyright ©ininet.org 2024
send message

    Main page