my mapfile using two &quot;connectiontype&quot; for two different layer <br>&quot;connectiontype postgis&quot; and &quot;connectiontype WMS&quot; <br>here is my mapfile : <br><br>MAP<br>    NAME &quot;GOLOC_MODIFICATION_TINYOWS&quot; <br>
    EXTENT -1100000 -23500 1100000 2253500<br>    WEB<br>        METADATA<br>           &quot;wms_title&quot;                  &quot;GOLOC_MODIFICATION_TINYOWS&quot;<br>           &quot;wms_label&quot;                  &quot;Service de données GOLOC-Modification&quot; ### required<br>
           &quot;wms_name&quot;                   &quot;GOLOC_MODIFICATION_TINYOWS&quot;<br>           &quot;wms_abstract&quot;               &quot;Service de données GOLOC-Modification&quot;<br>           &quot;wms_description&quot;            &quot;&quot;<br>
           &quot;wms_keywordlist&quot;            &quot;Service de données GOLOC-Modification&quot;<br>           &quot;wms_onlineresource&quot;         &quot;<a href="http://zzzzzzzzzz/cgi-wms/tinyowsCOG">http://zzzzzzzzzz/cgi-wms/tinyowsCOG</a>&quot;<br>
            <br>            &quot;tinyows_schema_dir&quot;         &quot;/srv/www/msp/services/tinyows/schema/&quot;<br>            &quot;tinyows_onlineresource&quot;     &quot;<a href="http://zzzzzzzzzzz/cgi-wms/tinyowsCOG">http://zzzzzzzzzzz/cgi-wms/tinyowsCOG</a>&quot;<br>
            &quot;tinyows_log&quot;                &quot;/srv/www/msp/log/tinyows.log&quot;<br>            &quot;tinyows_log_level&quot;            &quot;15&quot;<br>            &quot;wfs_srs&quot;                    &quot;EPSG:900913&quot;         <br>
            &quot;wfs_namespace_prefix&quot;         &quot;WFS-T&quot;<br>            &quot;wfs_namespace_uri&quot;         &quot;<a href="http://zzzzzzzzzzzzzzz/">http://zzzzzzzzzzzzzzz/</a>&quot;<br>            &quot;wfs_title&quot;                   &quot;tinyows&quot;<br>
            &quot;wfs_onlineresource&quot;        &quot;http:/zzzzzzzzzz/cgi-wms/tinyowsCOG?&quot;<br>            #&quot;ows_enable_request&quot;           &quot;*&quot;<br>        END<br>    END<br>    PROJECTION<br>        &quot;init=epsg:900913&quot;<br>
    END<br>       <br>LAYER    <br>        NAME &quot;CASERNE_VIEW_MODIF&quot; <br>        CONNECTIONTYPE postgis<br>        CONNECTION &quot;XXXXXXXXXXX&quot;<br>        PROCESSING &quot;CLOSE_CONNECTION=DEFER&quot;<br>        DATA &quot;geom_p from admgeo1.msp_si_v_casernes_modif_p using unique ogc_fid srid=900913&quot;<br>
        TYPE POINT<br>        DUMP TRUE       <br>        HEADER &quot;../templates/todo.html&quot;<br>        TEMPLATE &quot;../templates/todo.html&quot;<br>        TOLERANCE 10<br>        TOLERANCEUNITS PIXELS    <br>        #CLASSITEM &quot;statut_maj&quot;<br>
        METADATA<br>            &quot;wms_title&quot;                &quot;Caserne de pompier (MSP)&quot;<br>            &quot;wms_name&quot;                &quot;CASERNE_VIEW_MODIF&quot;<br>            &quot;wms_group_title&quot;        &quot;Surveillance du territoire/Réseaux&quot;<br>
            &quot;wms_server_version&quot;    &quot;1.1.1&quot;<br>            &quot;wms_srs&quot;               &quot;EPSG:2036 EPSG:2037 EPSG:2148 EPSG:2149 EPSG:2150 EPSG:3797 EPSG:3857 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 EPSG:900913&quot;<br>
            &quot;wms_extent&quot;            &quot;-1100000 -23500 1100000 2253500&quot;<br>            &quot;gml_include_items&quot;     &quot;all&quot;<br>            &quot;gml_exclude_items&quot;     &quot;geom_p, ogc_fid, statut_maj&quot;<br>
            &quot;ows_include_items&quot;     &quot;all&quot;<br>            &quot;ows_exclude_items&quot;     &quot;geom_p, ogc_fid, statut_maj&quot;  <br>            &quot;msp_classe_meta&quot;       &quot;MSP_SI_CASERNES_GEO&quot;<br>
            &quot;wms_dataurl_format&quot; &quot;text/html&quot;<br>            &quot;wfs_title&quot;             &quot;Caserne de pompier (MSP)&quot;<br>            &quot;wfs_srs&quot;                &quot;EPSG:900913&quot;            <br>
            &quot;tinyows_schema&quot;        &quot;admgeo1&quot;<br>            &quot;tinyows_table&quot;            &quot;msp_si_v_casernes_modif_p&quot;<br>            &quot;tinyows_retrievable&quot;     &quot;1&quot;<br>
            &quot;tinyows_writable&quot;         &quot;1&quot;<br>            &quot;gml_geometry_type&quot;       &quot;point&quot;<br>            &quot;gml_geometries&quot;        &quot;geometry&quot;        <br>            &quot;gml_featureid&quot;            &quot;ogc_fid&quot;    <br>
            #&quot;ows_include_items&quot;     &quot;all&quot;    <br>        END         <br>        PROCESSING &quot;CLOSE_CONNECTION=DEFER&quot;    <br>        PROJECTION  <br>            &quot;init=epsg:900913&quot;<br>
        END<br>                <br>        CLASS <br>            NAME &quot;Caserne modifiée&quot;<br>            EXPRESSION ( (&quot;[statut_maj]&quot;=&quot;M&quot;) OR (&quot;[statut_maj]&quot;=&quot;A&quot;) )<br>            STYLE<br>
                SYMBOL &quot;caserne2&quot;<br>                SIZE 20                <br>                OUTLINECOLOR 10 10 10<br>                COLOR 0 250 0<br>            END<br>        END<br>        CLASS <br>            NAME &quot;Caserne non-modifiée&quot;<br>
            EXPRESSION ( &quot;[statut_maj]&quot; = &quot;O&quot;)<br>            STYLE<br>                SYMBOL &quot;caserne2&quot;<br>                SIZE 20                <br>                OUTLINECOLOR 10 10 10<br>
                COLOR 250 7 0<br>            END<br>        END<br>    END <br>    <br>    LAYER <br>            NAME &quot;struct_mtq&quot;<br>        TYPE RASTER<br>        CONNECTION &quot;XXXXXXXXXX&quot;<br>        CONNECTIONTYPE WMS<br>
        MAXSCALE 60000<br>        MINSCALE 2000<br>        INCLUDE &quot;../ec/ec_getfeature.map&quot;   <br>        METADATA<br>            &quot;wms_srs&quot;             &quot;EPSG:32198 EPSG:900913&quot;<br>            &quot;wms_name&quot;            &quot;struct_mtq&quot;<br>
            &quot;wms_title&quot;           &quot;struct_mtq&quot;<br>            &quot;wms_server_version&quot;  &quot;1.1.1&quot;<br>            &quot;wms_format&quot;          &quot;image/png&quot;<br>            &quot;msp_classe_meta&quot;     &quot;MTQ_WMS&quot;<br>
        END  <br>    <br>    END <br><br>if i refer to the web page (<a href="http://tinyows.org/trac/wiki/MapFileConfigFile">http://tinyows.org/trac/wiki/MapFileConfigFile</a>) :<br>1- Only PostGIS <i>CONNECTIONTYPE</i> are handled<br>
2- Each <i>CONNECTION</i> string value in layers must be the same.
<br><br>is it the first or the second limitation that cause problem ? <br><br>Marc-André Trottier<br><br>