[Mapserver-users] Nothing raster (tiff) comes out
Frank Warmerdam
warmerdam@pobox.com
Tue, 16 Sep 2003 08:41:18 -0400
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@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users