<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
 <BR>
Thanks Jeff!<BR>
 <BR>
Just to share with those that have the same problem, I was having issues rendering PNG (changing to GIF worked the way I want) and the world file was missing too (I thought Mapserver would get the bounding box from the postgis database).<BR>
 <BR>
Nelson<BR> <BR>> Date: Mon, 31 Aug 2009 10:01:00 -0300<BR>> From: jmckenna@gatewaygeomatics.com<BR>> To: mapserver-users@lists.osgeo.org<BR>> Subject: Re: [mapserver-users] Postgis tile index not working<BR>> <BR>> Nelson Correia wrote:<BR>> > Hi,<BR>> > <BR>> > I'm trying to use a postgis layer as tile index of a raster layer and <BR>> > can't get it working.<BR>> > Here are the layers I'm using:<BR>> > <BR>> > <BR>> > LAYER<BR>> > NAME "layer_tindex"<BR>> > TYPE POLYGON<BR>> > CONNECTIONTYPE POSTGIS<BR>> > CONNECTION "host=localhost port=5432 dbname=mydb <BR>> > user=myuser password=mypwd"<BR>> > DATA "bbox from shapes"<BR>> > CLASS<BR>> > STYLE<BR>> > OUTLINECOLOR 0 0 0<BR>> > END<BR>> > END<BR>> > END<BR>> > LAYER<BR>> > NAME "layer_raster"<BR>> > TYPE RASTER<BR>> > STATUS DEFAULT<BR>> > DUMP TRUE<BR>> > TILEINDEX "layer_tindex"<BR>> > TILEITEM "image_path"<BR>> > PROJECTION<BR>> > "init=epsg:4326"<BR>> > END<BR>> > END<BR>> > <BR>> > When I make a request to Mapserver, everything gets into the image, <BR>> > except the images from the "layer_raster" layer. I can even see the <BR>> > bboxes if I turn on the layer "layer_tindex".<BR>> > <BR>> > I can't find much documentation about this integration between Mapserver <BR>> > and Postgis, so tell me if I'm making some mistake.<BR>> > <BR>> > By the way, I'm doing this with a Mapserver 5.2.1.<BR>> > <BR>> > Thanks in advance,<BR>> > <BR>> <BR>> I would start by using the commandline utility shp2img with the <BR>> '-all_debug 3' switch to see all errors (example#3 on <BR>> http://www.mapserver.org/utilities/shp2img.html).<BR>> <BR>> -jeff<BR>> <BR>> <BR>> <BR>> -- <BR>> Jeff McKenna<BR>> FOSS4G Consulting and Training Services<BR>> http://www.gatewaygeomatics.com/<BR>> <BR>> <BR>> _______________________________________________<BR>> mapserver-users mailing list<BR>> mapserver-users@lists.osgeo.org<BR>> http://lists.osgeo.org/mailman/listinfo/mapserver-users<BR><br /><hr />Share your memories online with anyone you want <a href='http://www.microsoft.com/middleeast/windows/windowslive/products/photos-share.aspx?tab=1' target='_new'>anyone you want.</a></body>
</html>