[mapserver-users] Postgis tile index not working

Nelson Correia nelsonwc7 at hotmail.com
Sat Aug 29 10:11:59 PDT 2009


Hi,

 

I'm trying to use a postgis layer as tile index of a raster layer and can't get it working. 

Here are the layers I'm using:

 


        LAYER
                NAME "layer_tindex"
                TYPE POLYGON
                CONNECTIONTYPE POSTGIS
                CONNECTION "host=localhost port=5432 dbname=mydb user=myuser password=mypwd"
                DATA "bbox from shapes"
                CLASS
                        STYLE

                                OUTLINECOLOR 0 0 0
                        END
                END
        END

        LAYER
                NAME "layer_raster"
                TYPE RASTER
                STATUS DEFAULT
                DUMP TRUE
                TILEINDEX "layer_tindex"
                TILEITEM "image_path"
                PROJECTION
                        "init=epsg:4326"
                END
        END


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". 

 

I can't find much documentation about this integration between Mapserver and Postgis, so tell me if I'm making some mistake.

 

By the way, I'm doing this with a Mapserver 5.2.1.

 

Thanks in advance,

 

Nelson

_________________________________________________________________
With Windows Live, you can organize, edit, and share your photos.
http://www.microsoft.com/middleeast/windows/windowslive/products/photo-gallery-edit.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090829/4041556e/attachment.htm>


More information about the MapServer-users mailing list