Nelson Correia wrote:
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,

I would start by using the commandline utility shp2img with the '-all_debug 3' switch to see all errors (example#3 on http://www.mapserver.org/utilities/shp2img.html).

-jeff



--
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to