[Mapserver-users] Raster layer processing changed in between February and July?
Vinko Vrsalovic
vinko at cprsig.cl
Mon Jul 28 16:26:21 PDT 2003
Hi,
With the latest 4.0 code a raster layer doesn't appear anymore.
With the very same code, and paths, and permissions, with a
3.7-dev of february, it appears.
I recompiled the 4.0 with --disable-ignore-missing-data, and got
the following:
PHP Warning: [MapServer Error]:
msDrawMap(): Failed to draw layer named 'Imagen Satelital'.
in /var/www/html/main.inc on line
96
PHP Warning: [MapServer Error]: msDrawRaster(): (cn_15m.img)
in /var/www/html/main.inc on line
96
As you can see, it's not a very helpful error message, as it
doesn't show why it failed to draw.
The configure parameters are exactly the same between the
3.7-dev and 4.0-b2 versions, so that can't be the issue.
The relevant parts of the mapfile (saved through $map->save in
the 3.7-dev version) are:
MAP
EXTENT 296206 6203216.9 336566 6243521.1
FONTSET "/var/www/html/symbols/fonts.sym"
IMAGECOLOR 255 255 255
IMAGETYPE png24
SYMBOLSET "/var/www/html/symbols/symbols.sym"
SIZE 400 400
STATUS ON
UNITS METERS
NAME "MS"
...
OUTPUTFORMAT
NAME png24
MIMETYPE image/png
DRIVER GD/PNG
EXTENSION png
IMAGEMODE RGB
TRANSPARENT FALSE
END
LAYER
DATA "cn_15m.img"
NAME "Imagen Satelital"
SIZEUNITS PIXELS
STATUS DEFAULT
TEMPLATE "VOID"
TOLERANCE 0
TOLERANCEUNITS PIXELS
TYPE RASTER
UNITS METERS
END
...
END
--
Vinko Vrsalovic <el[|- at -|]vinko.cl>
http://www.cprsig.cl
More information about the MapServer-users
mailing list