Hi everyone, In version 5.4.1 the following GetFeatureInfo request url produced a table described by templates for the layer 'bldg_query' described below. With ver 5.6.1, Mapserver outputs only the template from the mapfile's WEB object (with no query results or image).
Do you have any idea of changes to make? To the request format? To the mapfile? Thank you all very much, Ted S. URL: http://url.com/cgi-bin/mapserv?map=/path/to/cad.map &SERVICE=WMS &VERSION=1.1.1 &REQUEST=GetFeatureInfo &SRS=EPSG%3A102740 &WIDTH=800&HEIGHT=800 &BBOX=3102785.400463,13832395.006499,3104115.230452,13833724.836488&LAYERS=building_comp_query &STYLES=&FORMAT=image%2Fpng &QUERY_LAYERS=bldg_query &X=398&Y=390 &INFO_FORMAT=text/html Relevant mapfile snippets: MAP NAME "CAD" SIZE 800 800 EXTENT 2928849.796040 13748390.427723 3269286.273267 13992542.754455 UNITS FEET IMAGECOLOR 255 255 255 PROJECTION "init=epsg:102740" END IMAGETYPE PNG24 SHAPEPATH '/path/to/data/' STATUS ON SYMBOLSET "examples.sym" FONTSET '/usr/share/fonts/fonts.list' CONFIG "MS_ERRORFILE" "/path/to/cad.log" WEB TEMPLATE "mapserver.html" IMAGEPATH "/var/www/vhosts/snoogems.com/subdomains/maps/httpdocs/temp/" IMAGEURL "/temp/" METADATA "wms_title" "CAD Search" "wfs_title" "CAD Search" "wms_srs" "EPSG:102740 EPSG:4326" "wfs_srs" "EPSG:102740 EPSG:4326" "wms_onlineresource" "http://url.com/cgi-bin/mapserv?map=/path/to/cads" "wfs_onlineresource" "http://url.com/cgi-bin/mapserv?map=/path/to/cads" "wms_feature_info_mime_type" "text/html" END END QUERYMAP STATUS ON STYLE HILITE COLOR 255 255 0 END LAYER NAME 'bldg_query' TYPE QUERY STATUS ON DEBUG 3 TEMPLATE bldgGetFeatureInfo.html HEADER bldgGetFeatureInfo_header.html FOOTER bldgGetFeatureInfo_footer.html PROCESSING "CLOSE_CONNECTION=DEFER" DUMP TRUE MAXSCALEDENOM 10000 CONNECTIONTYPE POSTGIS CONNECTION "dbname=cad1 user=tedkspradley password=05gusher host=localhost port=5432" DATA "the_geom from (select b.the_geom AS the_geom, b.gid AS gid, b.hcad_num AS hcad_num FROM parcels b) as foo using unique gid using srid=-1" JOIN NAME "building_components" CONNECTION "dbname=cad1 user=usr password=pw host=localhost port=5432" CONNECTIONTYPE ogr TABLE "building_components" FROM "hcad_num" TO "hcad_acct" TYPE ONE-TO-MANY TEMPLATE bldgGetFeatureInfo_join.html END PROJECTION "init=epsg:102740" END METADATA "wms_title" "Building Components Query Layer" "wfs_title" "Building Components Query Layer" "wms_srs" "epsg:102740 epsg:4326" "gml_include_items" "all" "wms_include_items" "all" "gml_featureid" "ogc_fid" "qstring_validation_pattern" '.' END END # End layer 'bldg_query' ----- Thank you, Ted S MapServer version 5.6.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE Linux/Fedora7 -- View this message in context: http://n2.nabble.com/5-6-1-GetFeatureInfo-template-processing-tp4393728p4393728.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users