coordinate system
salah jubeh
s_jubeh at YAHOO.COM
Sun May 21 18:13:10 PDT 2006
Hi all,
i have mapserver javascript library , i see this code
function Mapserv_applybox(minx, miny, maxx, maxy)
{
var temp = new Array(4);
temp[0] = this.extent[0] + this.cellsize*minx;
temp[1] = this.extent[3] - this.cellsize*maxy;
temp[2] = this.extent[0] + this.cellsize*maxx;
temp[3] = this.extent[3] - this.cellsize*miny;
this.extent = temp; .........................
i find it strange a little bit, i have non projected image and the extent of this image 0,0,370,450 when i display it with mapserver it gave me the lower Right coordinate for the image 370,0 while the upper left 0,450. i cannot understand this behavior. why i did not get the upper left 00 and the lower right 370,450.
i will be glade if some one explain to me.
---------------------------------
Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone. Get Yahoo! Messenger with Voice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060521/f77f5b11/attachment.htm>
More information about the MapServer-users
mailing list