[mapserver-users] Matching .TFW file with EXTENT parameter?

2008-11-02 Thread [EMAIL PROTECTED]
I have a map file with following MapExtent parameter: EXTENT 106.335006 -6.896956 107.315811 -5.983994 Recently, I got a TIFF file without coordinates. I plan to use the TIFF file with my map. Thus, I'm supposed to create a .TFW file using text editor, am I correct? Problem is: I'm not sure w

Re: [mapserver-users] Matching .TFW file with EXTENT parameter?

2008-11-03 Thread Roger André
Hi Kresh, The parameters in a .tfw file are explained here: http://www.kralidis.ca/gis/worldfile.htm One caveat to be aware of is that the pixel coordinates are for the center of the pixel, not the UL corner. So if you have an image with the UL corner at (x,y), you need to use the following in y

Re: [mapserver-users] Matching .TFW file with EXTENT parameter?

2008-11-03 Thread Robert Sanson
Hi Kresh Tiff World File (.tfw) 6 rows: First row is x-pixel resolution (width in your coordinate system) Second and third rows are so-called "rotational components" but are set to zero in the case of an unrotated mapsheet. The fourth row is the y-pixel resolution (dimension in coordiantes). The

Re: [mapserver-users] Matching .TFW file with EXTENT parameter?

2008-11-03 Thread [EMAIL PROTECTED]
Thanks, folks. But how do I know my x-pixel resolution? And y-pixel resolution? Can it be derived from EXTENT parameters? Thanks again, -Kresh --- On Mon, 11/3/08, Robert Sanson <[EMAIL PROTECTED]> wrote: > From: Robert Sanson <[EMAIL PROTECTED]> > Subject: Re: [mapserver-us

Re: [mapserver-users] Matching .TFW file with EXTENT parameter?

2008-11-03 Thread Robert Sanson
:43 p.m. >>> Thanks, folks. But how do I know my x-pixel resolution? And y-pixel resolution? Can it be derived from EXTENT parameters? Thanks again, -Kresh --- On Mon, 11/3/08, Robert Sanson <[EMAIL PROTECTED]> wrote: > From: Robert Sanson <[EMAIL PROTECTED]> >