<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<BR>
<BR>
I'm trying to use a postgis layer as tile index of a raster layer and 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 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, except the images from the "layer_raster" layer. I can even see the bboxes if I turn on the layer "layer_tindex". <BR>
<BR>
I can't find much documentation about this integration between Mapserver 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>
Nelson<BR><br /><hr />With Windows Live, you can organize, edit, and <a href='http://www.microsoft.com/middleeast/windows/windowslive/products/photo-gallery-edit.aspx' target='_new'>share your photos.</a></body>
</html>