Hello.<br>Try to change the palcement of your layers and configure your shape with TRANSPARENT TRUE varible..<br>Something like<br><br>LAYER<br>
NAME '2627D'<br>
TYPE RASTER<br>
STATUS ON<br>
DATA "/var/www/ms-tmp/2627D.JP2"<br>
END<br>LAYER<br>
NAME vereenigingroads<br>
STATUS ON<br>
DATA vereenigingroads/<div id=":14g" class="ii gt">vereenigingroads.shp<br>
TYPE LINE<br>TRANSPARENT TRUE<br>
CLASS<br>
NAME 'the world'<br>
COLOR 0 0 0<br>
END<br>
END</div><br><br><div class="gmail_quote">2009/5/27 Michael Da Silva Pereira <span dir="ltr"><<a href="mailto:michael.dasilvapereira@iburstafrica.com">michael.dasilvapereira@iburstafrica.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I am having a problem displaying a JP2 / TIFF image in mapserver, it<br>
draws my shape files. However I can not get it to draw my RASTER layer<br>
:(<br>
<br>
Any Suggestions?<br>
<br>
<br>
<br>
<br>
MAP<br>
SIZE 1300 600<br>
DEBUG 5<br>
<br>
EXTENT 23.5 -34 23.6 -25<br>
IMAGECOLOR 180 180 250<br>
UNITS DD<br>
SCALEBAR<br>
STATUS EMBED<br>
UNITS KILOMETERS<br>
INTERVALS 3<br>
TRANSPARENT TRUE<br>
OUTLINECOLOR 0 0 0<br>
END<br>
LEGEND<br>
STATUS EMBED<br>
POSITION LR<br>
TRANSPARENT TRUE<br>
END<br>
WEB<br>
TEMPLATE global.html<br>
IMAGEPATH "/var/www/ms-tmp/"<br>
IMAGEURL "/ms-tmp/"<br>
END<br>
LAYER<br>
NAME vereenigingroads<br>
STATUS ON<br>
DATA vereenigingroads/vereenigingroads.shp<br>
TYPE LINE<br>
CLASS<br>
NAME 'the world'<br>
COLOR 0 0 0<br>
END<br>
END<br>
LAYER<br>
NAME '2627D'<br>
TYPE RASTER<br>
STATUS ON<br>
DATA "/var/www/ms-tmp/2627D.JP2"<br>
END<br>
END<br>
<br>
root@michael-laptop:/var/www/ms-tmp# /usr/lib/cgi-bin/mapserv -v<br>
MapServer version 5.4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP<br>
OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=ICONV<br>
SUPPORTS=WMS_SERVER INPUT=EPPL7 INPUT=GDAL INPUT=SHAPEFILE<br>
<br>
[Wed May 27 08:47:04 2009].804606 msLoadMap(): 0.009s<br>
[Wed May 27 08:47:04 2009].845677 msDrawMap(): Layer 0<br>
(vereenigingroads), 0.039s<br>
[Wed May 27 08:47:04 2009].845729 msDrawRasterLayerLow(2627D): entering.<br>
[Wed May 27 08:47:06 2009].130721 msDrawMap(): Layer 1 (2627D), 1.285s<br>
[Wed May 27 08:47:06 2009].131031 msDrawMap(): Drawing Label Cache, 0.000s<br>
[Wed May 27 08:47:06 2009].131063 msDrawMap() total time: 1.326s<br>
[Wed May 27 08:47:06 2009].163796 msSaveImage() total time: 0.033s<br>
[Wed May 27 08:47:06 2009].163926 msFreeMap(): freeing map at 0x91168b8.<br>
[Wed May 27 08:47:06 2009].163974 freeLayer(): freeing layer at 0x911d508.<br>
[Wed May 27 08:47:06 2009].163995 freeLayer(): freeing layer at 0x911e1d0.<br>
[Wed May 27 08:47:06 2009].164011 freeLayer(): freeing layer at 0x9246188.<br>
[Wed May 27 08:47:06 2009].164025 freeLayer(): freeing layer at 0x92fea48.<br>
[Wed May 27 08:47:06 2009].164045 shp2img total time: 1.369s<br>
<br>
<br>
root@michael-laptop:/var/www/ms-tmp# du -hs 2627D.JP2<br>
129M 2627D.JP2<br>
<br>
<br>
--<br>
<br>
Regards,<br>
<font color="#888888">Michael da Silva Pereira<br>
Mobile: +27 84 245 2376<br>
Office: +27 11 251 2036<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Martinez Morata David<br>Thinking GIS<br>