Hi
i have one function but i am not getting what is it doing.
Below is my function
// My function gets two parameters lat and long
public function generate_peano1($lat, $lon)
{
$lat = (($lat + 90.0)/180.0 * 32767) + 16384;
$lon = ($lon + 180.0)/360.0 * 65535;
$lat_16 = $lat&0x0000FFFF; // Not getting what is here.
$lon_16 = $lon&0x0000FFFF; // Not getting what is here.
$peano = self::derive_peano_32($lat_16, $lon_16);
return $peano;
}
Thanks
Avinash