i'm so confused, i'm using the following maps:
aden: 1312x1179
elmore: 1312x984
i've changed the php to:
if ($valorey>(-32768)) {
$xsito=($valorex + 131072)/656-7; //Aden
$ysito=($valorey + 32768)/410-7; //Aden
}
else {
$xsito=($valorex - 98336)/325-7+510; //Elmore
$ysito=($valorey + 229352)/325-7+1179+90; //Elmore
}
should i modify anything else? :S
|