<HTML dir=ltr><HEAD>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928"></HEAD>
<BODY>
<DIV><FONT color=#000000 size=2 face=Arial><SPAN style="COLOR: black; FONT-SIZE: 10pt">Hi All,<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR><BR>I have a tileindex which is based on a postgis layer and everything works well.<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>I've put the 2 layers in one group in order to be able to get information from the index layer available for the users. When I use a shape file as an index this works fine. But when I use a postgis layer as index the following error occurs.<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR><BR><BR>==error==<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>msShapefileOpen(): Unable to access file. (/mapserver/www/cgi-bin/maps/_tmk-index) msShapefileOpen(): Unable to access file. (/mapserver/www/cgi-bin/maps/_tmk-index) msShapefileOpen(): Unable to access file. (/mapserver/www/cgi-bin/maps/_tmk-index) msShapefileOpen(): Unable to access file. (/mapserver/www/cgi-bin/maps/_tmk-index)<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>====<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR><BR>It seems mapserver expects a shapefile and can not handle the postgis index layer for the getfeatureinfo.<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR><BR>Does someone has any idea what can be wrong?<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR><BR>Thanks in advance,<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR><BR>Ronnie<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR><BR>====part of the map file==<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp;LAYER<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; GROUP "Topographische_en_militaire_kaart"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; NAME "_tmk-index"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; METADATA<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; &nbsp;WMS_TITLE "Topographische_en_militaire_kaart-index"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; &nbsp;WMS_ABSTRACT "Topographische en militaire kaart-index"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; &nbsp;WMS_NAME "Topographische_en_militaire_kaart-index"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; &nbsp;WMS_SRS "EPSG:4326 EPSG:900913 EPSG:3785 EPSG:28992"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; &nbsp;gml_include_items "location"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; &nbsp;WMS_FEATURE_INFO_MIME_TYPE "text/html"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; END<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; EXTENT 10000 305000 280000 619000<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; PROJECTION<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; &nbsp;"init=epsg:28992"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; END<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; CONNECTION "user=postgres password=P0stG!s dbname=gisdb host=localhost port=5432"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; CONNECTIONTYPE postgis<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; DATA "geom from (SELECT kaartbladid ,location,geom FROM vw_bladgrenzen_rd WHERE serie_id = 2) as grens USING UNIQUE kaartbladid "<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR><BR>&nbsp; &nbsp; STATUS ON<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; DUMP TRUE<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; TEMPLATE "/mapserver/www/infotemplates/tmk_scan_leeg.html"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; TYPE POLYGON<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; UNITS METERS<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; MAXSCALE 8000000<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; MINSCALE 500<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; END<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR><BR><BR>&nbsp;LAYER<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; GROUP "Topographische_en_militaire_kaart"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; NAME "tmk-scan"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; METADATA<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; &nbsp;WMS_TITLE "Topographische_en_militaire_kaart-scan"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; &nbsp;WMS_ABSTRACT "Topographische en militaire kaart-scan"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; &nbsp;WMS_NAME "nsw-landgoederen"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; &nbsp;WMS_SRS "EPSG:4326 EPSG:900913 EPSG:3785 EPSG:28992"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; &nbsp;gml_include_items "all"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; &nbsp;WMS_FEATURE_INFO_MIME_TYPE "text/html"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; END<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; EXTENT 10000 305000 280000 619000<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; PROJECTION<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; &nbsp;"init=epsg:28992"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; END<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; TILEINDEX "_tmk-index"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; TILEITEM "location"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; STATUS ON<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; DUMP TRUE<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; TEMPLATE "/mapserver/www/infotemplates/tmk_scan_leeg.html"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; TYPE RASTER<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; UNITS METERS<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; MAXSCALE 8000000<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; MINSCALE 500<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; PROCESSING "BANDS=1,2,3"<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; &nbsp; OFFSITE 0 0 0<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR>&nbsp; END<SPAN class=Apple-converted-space>&nbsp;</SPAN><BR></SPAN></FONT></DIV></BODY></HTML>