<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma" bgColor=#ffffff>
<DIV>Hi bernardo</DIV>
<DIV>for your layer, you need a "wms_name"... to use a getFeatureInfo you need to add (DUMP TRUE) and (TEMPLATE "../templates/todo.html")... the html file dont need to exist...! it's a good idea to specify a TOLERENCE to restrict the search in the map... and use "gml_include_items" and "ows_exclude_items" in metadata.. if you work with a RDBMS(postgis or Oracle) dont forget to add your primary key field off your feature class( ... USING UNIQUE ID ... ) in your DATA tag layer... good luck </DIV>
<DIV> </DIV>
<DIV> LAYER<BR> NAME "LEP_V_MUNICIPALITE_GEO"<BR> GROUP "DGEQ"<BR> CONNECTIONTYPE oraclespatial<BR> CONNECTION "{..}"<BR> PROCESSING "CLOSE_CONNECTION=DEFER"<BR> DATA "geom_s FROM ADMGEO1.LEP_V_MUNICIPALITE_GEO USING UNIQUE ID SRID 32198"<BR> TYPE POLYGON<BR> DUMP TRUE<BR> TEMPLATE "../templates/todo.html"<BR> TOLERANCE 10<BR> TOLERANCEUNITS PIXELS<BR> MAXSCALE 700000<BR> MINSCALE 1<BR> LABELMAXSCALE 200000<BR> LABELMINSCALE 1<BR> LABELITEM "NM_MUNCP"<BR> METADATA<BR> "wms_group_title" "Référentiel d'adresse"<BR> "wms_name" "LEP_V_MUNICIPALITE_GEO"<BR> "wms_title" "Municipalité"<BR> "wms_keywordlist" ""<BR> "wms_server_version" "1.1.1"<BR> "wms_abstract" "(1/700 000)"<BR> "wms_srs" "EPSG:2036 EPSG:2037 EPSG:2148 EPSG:2149 EPSG:2150 EPSG:4269 EPSG:4326 EPSG:26917 EPSG:26918 EPSG:26919 EPSG:26920 EPSG:32183 EPSG:32184 EPSG:32185 EPSG:32186 EPSG:32187 EPSG:32188 EPSG:32189 EPSG:32190 EPSG:32198 EPSG:42105 EPSG:42304"<BR> "wms_extent" "-1100000 -23500 1100000 2253500"<BR> "gml_include_items" "all"<BR> "gml_exclude_items" "ID" <BR> "ows_include_items" "all" <BR> "ows_exclude_items" "ID" <BR> END<BR> PROJECTION<BR> "init=epsg:32198"<BR> END<BR> CLASS<BR> NAME "Municipalité"<BR> LABEL<BR> OUTLINECOLOR 235 235 235 #--Halo<BR> TYPE TRUETYPE<BR> FONT "vera"<BR> SIZE 8<BR> POSITION AUTO<BR> COLOR 123 104 238<BR> MINDISTANCE 50000<BR> BUFFER 10<BR> END<BR> STYLE<BR> SYMBOL 'line_solid'<BR> OUTLINECOLOR 123 104 238<BR> SIZE 1<BR> END<BR> END<BR> END</DIV>
<DIV> </DIV>
<DIV>Simon mercier</DIV>Ministère de la Sécurité publique
<DIV><BR><BR>>>> "bernardo" <bernardo@incargis.com> 25/3/2008 18:35 >>><BR></DIV>
<DIV style="COLOR: #000000">
<DIV><FONT face=Arial size=2>Hello all:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm trying to create a WMS, but i need to use it with a client named "gvSIG". This program cannot read feature info in type "text/html", only "gml"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> METADATA<BR> "wms_title" "Layer"<BR> "wms_srs" "EPSG:23030"<BR> "wms_abstract" "Layer"<BR> "wms_feature_info_mime_type" "gml"<BR> #"wms_feature_info_mime_type" "text/html"<BR> END</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>That i wanna do is to show a web page or url for "feature info".</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any ideas?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Bernardo Martín García<BR>Director Técnico <BR>iNCARGiS, C.I.G., S.L. </FONT></DIV></DIV></BODY></HTML>