[Mapserver-users] Nothing raster (tiff) comes out
    Frank Warmerdam 
    warmerdam at pobox.com
       
    Tue Sep 16 05:41:18 PDT 2003
    
    
  
Ayrat wrote:
> Raster howto is saw. Nothing.:(
> 
> world file is wrong? 600
> 0.0000000000
> 0.0000000000
> -600
> 300     
> 300
> extentions "wld".
>   
> Can anybody tell what is the problem?
Ayrat,
Everything else looks like it might work though you might want to set
STATUS to DEFAULT to make sure that old chestnut isn't the issue.  But your
world file is all messed up.  If you want a raster with 0-600 extents in each
dimension you should be using the following coefficients:
1
0
0
-1
0.5
599.5
The 1 is the size of a single pixel in X, the -1 is the size of a single
pixel in Y, the 0.5 is the X location of the center of the top left pixel.
The 599.5 is the Y location of that center of pixel.
Good luck,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent
    
    
More information about the MapServer-users
mailing list