<br clear="all"><div>Thank you</div><div><br></div><div>Please, get this error: <br></div><br>msWMSFeatureInfo(): WMS server error. Unsupported INFO_FORMAT value (text/html).<br><br>the capabilities of the service is: <br>


<br><a href="http://wwww.uptc.edu.co/cgi-bin2/mapserv?map=/mnt/datos2_9teras/DatosUsuariosUPTC-UniValle/ms4w/apps/100/gismap/co.map&amp;service=WMS&amp;version=1.3.0&amp;request=GetCapabilities" target="_blank">http://wwww.uptc.edu.co/cgi-bin2/mapserv?map=/mnt/datos2_9teras/DatosUsuariosUPTC-UniValle/ms4w/apps/100/gismap/co.map&amp;service=WMS&amp;version=1.3.0&amp;request=GetCapabilities</a><br>


<br>and the request is: <br><br><a href="http://10.0.32.22:8080/cgi-bin2/mapserv?map=/mnt/datos2_9teras/DatosUsuariosUPTC-UniValle/ms4w/apps/100/gismap/co.map&amp;service=WMS&amp;version=1.1.0&amp;request=GetFeatureInfo&amp;layers=public.col&amp;WIDTH=5&amp;HEIGHT=5&amp;SRS=EPSG:3116&amp;BBOX=164948,22962,1806820,1985180&amp;QUERY_LAYERS=public.col&amp;INFO_FORMAT=text/html&amp;I=1&amp;J=1" target="_blank">http://10.0.32.22:8080/cgi-bin2/mapserv?map=/mnt/datos2_9teras/DatosUsuariosUPTC-UniValle/ms4w/apps/100/gismap/co.map&amp;service=WMS&amp;version=1.1.0&amp;request=GetFeatureInfo&amp;layers=public.col&amp;WIDTH=5&amp;HEIGHT=5&amp;SRS=EPSG:3116&amp;BBOX=164948,22962,1806820,1985180&amp;QUERY_LAYERS=public.col&amp;INFO_FORMAT=text/html&amp;I=1&amp;J=1</a><br>


<br>changing: <br><br>INFO_FORMAT=text/plain, works <br><br>and my layer is <br><br><br> LAYER<br> NAME &quot;public.col&quot;<br> STATUS OFF<br> TYPE POLYGON<br> DATA &quot;the_geom from public.colombia_limites_departamentales using unique gid using srid=3116&quot;<br>


 CONNECTIONTYPE POSTGIS<br> CONNECTION &quot;user=postgres password=#### host=######## port=####### dbname=######&quot;<br> DUMP TRUE #MFMH<br> MAXSCALE -1.0<br> MINSCALE -1.0<br> TRANSPARENCY 50<br> SIZEUNITS pixels<br>

 LABELITEM &quot;nombre_dpt&quot;<br>
 HEADER &quot;getfeatureinfo_header.html&quot; # header html template<br> TEMPLATE &quot;getfeatureinfo_content2.html&quot; # content html template<br> FOOTER &quot;getfeatureinfo_footer.html&quot; # footer html template<br>


 PROJECTION<br> &quot;init=epsg:3116&quot;<br> END<br> CLASS<br> STYLE<br> COLOR 211 241 99<br> OUTLINECOLOR 0 0 102<br> WIDTH 1<br> END<br> TEMPLATE &quot;getfeatureinfo_content2.html&quot;<br> NAME &quot;default&quot;<br>


 LABEL<br> FONT &quot;vera&quot;<br> ANGLE FOLLOW<br> COLOR 0 0 0<br> TYPE truetype<br> SIZE 5.599999904632568<br> END<br> END<br> METADATA<br> &quot;wms_title&quot; &quot;public.col&quot;<br> &quot;wms_abstract&quot; &quot;generated by gvSIG&quot;<br>


 &quot;wms_extent&quot; &quot;164948.448508268 22962.0012082234 1806815.88683738 1985175.02869968&quot;<br> &quot;gml_include_items&quot; &quot;all&quot;#MFMH<br> &quot;wms_feature_info_mime_type&quot; &quot;text/html; driver=imagemap&quot;#MFMH<br>


 &quot;gml_include_items&quot; &quot;all&quot;#MFMH<br> &quot;wms_include_items&quot; &quot;all&quot;#MFMH<br> &quot;ows_feature_info_mime_type&quot; &quot;text/html; driver=imagemap&quot;<br># &quot;wms_include_items&quot; &quot;text/html&quot;<br>


 END<br> END <br><br><br><br>this is my table:<br><br>CREATE TABLE colombia_limites_departamentales<br>(<br> gid serial NOT NULL,<br> objectid integer,<br> id_espacia text,<br> area_ofici double precision,<br> nombre_dpt text,<br>


 shape_area double precision,<br> shape_len double precision,<br> the_geom geometry,<br>..........)<br><br><br>the file getfeatureinfo_header.html is:  <br><br><br> 1: &lt;!-- MapServer Template --&gt;<br>2: &lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;<a href="http://www.w3.org/TR/html4/transitional.dtd" target="_blank">http://www.w3.org/TR/html4/transitional.dtd</a>&quot;&gt;<br>


 3: &lt;html&gt;<br>4: &lt;head&gt;<br>5: &lt;!-- enforce the client to display result html as UTF-8 encoding --&gt; <br>6: &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=UTF-8&quot;&gt;&lt;/meta&gt;<br>


 7: &lt;style type=&quot;text/css&quot;&gt;<br>8: table, th, td {<br>9: border:1px solid #e5e5e5;<br>10: border-collapse:collapse;<br>11: font-family: arial; <br>12: font-size: 80%; <br> 13: color: #333333<br>14: } <br>15: th, td {<br>


16: valign: top;<br>17: text-align: center;<br>18: } <br>19: th {<br>20: background-color: #aed7ff<br> 21: }<br>22: caption {<br>23: border:1px solid #e5e5e5;<br>24: border-collapse:collapse;<br>25: font-family: arial; <br>


26: font-weight: bold;<br>27: font-size: 80%; <br> 28: text-align: left; <br>29: color: #333333; <br>30: }<br>31: &lt;/style&gt;<br>32: &lt;title&gt;GetFeatureInfo Response&lt;/title&gt;<br>33: <br>34: &lt;/head&gt;<br>35: &lt;body&gt;<br>


 36: &lt;table&gt;<br>37: &lt;caption&gt;layer names: COLOMBIA&lt;/caption&gt;<br>38: &lt;tbody&gt;<br>39: &lt;th&gt;Layer Name&lt;/th&gt;<br>40: &lt;th&gt;NAME&lt;/th&gt;<br>41: &lt;th&gt;ID&lt;/th&gt;<br> 42: &lt;th&gt;AREA&lt;/th&gt;  <br>


<br> <br><br>the file getfeatureinfo_footer.html is:<br><br><br>1: &lt;!-- MapServer Template --&gt;  <br> 2: &lt;/tbody&gt;<br>3: &lt;/table&gt;<br>4: &lt;br/&gt;<br>5: &lt;/body&gt;<br>6: &lt;/html&gt;<br><br><br><br>and my file getfeatureinfo_content2.html is:<br>


<br>1: &lt;!-- MapServer Template --&gt;<br> 2: &lt;tr&gt;<br>3: &lt;td&gt;Colombia&lt;/td&gt;<br>4: &lt;td&gt;[item name=nombre_dpt format=$value escape=none]&lt;/td&gt;<br>5: &lt;td&gt;[item name=id_espacia format=$value escape=none]&lt;/td&gt;<br>


 6: &lt;td&gt;[item name=shape_area format=$value escape=none]&lt;/td&gt;<br>7: &lt;/tr&gt;<br><br>please could help me fix the error.<br><br>-- <br>Manuel Fernando Mancipe Huérfano<br>Ingeniería de Sistemas y Computación<br>


Universidad Pedagógica y Tecnológica de Colombia<br>