<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Marc-André,</div>
<div><br>
</div>
<div>I don't know if "limitation" is the right word for what you want to do.</div>
<div><br>
</div>
<div>TinyOWS was created to support the WFS transactions (WFS-T), not to publish another OGC services like WMS or WCS.</div><div><br></div><div>Maybe you're confused because TinyOWS can parse MAP files to configure a
WFS-T service publication, but this doesn't means that you can publish
OGC services as Mapserver does.</div>
<div><br>
</div>
<div>Cheers from México<br>
</div> <br><div><font style="font-weight:bold;color:rgb(0, 96, 191);font-family:verdana, helvetica, sans-serif;" size="2">IC Carlos Ruiz</font><br><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Marc-André Trottier <marcandre_trottier@hotmail.com><br><b><span style="font-weight: bold;">To:</span></b> tinyows-users@lists.maptools.org<br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, November 3, 2011 11:27 AM<br><b><span style="font-weight: bold;">Subject:</span></b> [TinyOWS-users] two or more connections type<br></font><br>
<div id="yiv265471652">my mapfile using two "connectiontype" for two different layer <br>"connectiontype postgis" and "connectiontype WMS" <br>here is my mapfile : <br><br>MAP<br> NAME "GOLOC_MODIFICATION_TINYOWS" <br>
EXTENT -1100000 -23500 1100000 2253500<br> WEB<br> METADATA<br> "wms_title" "GOLOC_MODIFICATION_TINYOWS"<br> "wms_label" "Service de données GOLOC-Modification" ### required<br>
"wms_name" "GOLOC_MODIFICATION_TINYOWS"<br> "wms_abstract" "Service de données GOLOC-Modification"<br> "wms_description" ""<br>
"wms_keywordlist" "Service de données GOLOC-Modification"<br> "wms_onlineresource" "http://zzzzzzzzzz/cgi-wms/tinyowsCOG"<br>
<br> "tinyows_schema_dir" "/srv/www/msp/services/tinyows/schema/"<br> "tinyows_onlineresource" "http://zzzzzzzzzzz/cgi-wms/tinyowsCOG"<br>
"tinyows_log" "/srv/www/msp/log/tinyows.log"<br> "tinyows_log_level" "15"<br> "wfs_srs" "EPSG:900913" <br>
"wfs_namespace_prefix" "WFS-T"<br> "wfs_namespace_uri" "http://zzzzzzzzzzzzzzz/"<br> "wfs_title" "tinyows"<br>
"wfs_onlineresource" "http:/zzzzzzzzzz/cgi-wms/tinyowsCOG?"<br> #"ows_enable_request" "*"<br> END<br> END<br> PROJECTION<br> "init=epsg:900913"<br>
END<br> <br>LAYER <br> NAME "CASERNE_VIEW_MODIF" <br> CONNECTIONTYPE postgis<br> CONNECTION "XXXXXXXXXXX"<br> PROCESSING "CLOSE_CONNECTION=DEFER"<br> DATA "geom_p from admgeo1.msp_si_v_casernes_modif_p using unique ogc_fid srid=900913"<br>
TYPE POINT<br> DUMP TRUE <br> HEADER "../templates/todo.html"<br> TEMPLATE "../templates/todo.html"<br> TOLERANCE 10<br> TOLERANCEUNITS PIXELS <br> #CLASSITEM "statut_maj"<br>
METADATA<br> "wms_title" "Caserne de pompier (MSP)"<br> "wms_name" "CASERNE_VIEW_MODIF"<br> "wms_group_title" "Surveillance du territoire/Réseaux"<br>
"wms_server_version" "1.1.1"<br> "wms_srs" "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"<br>
"wms_extent" "-1100000 -23500 1100000 2253500"<br> "gml_include_items" "all"<br> "gml_exclude_items" "geom_p, ogc_fid, statut_maj"<br>
"ows_include_items" "all"<br> "ows_exclude_items" "geom_p, ogc_fid, statut_maj" <br> "msp_classe_meta" "MSP_SI_CASERNES_GEO"<br>
"wms_dataurl_format" "text/html"<br> "wfs_title" "Caserne de pompier (MSP)"<br> "wfs_srs" "EPSG:900913" <br>
"tinyows_schema" "admgeo1"<br> "tinyows_table" "msp_si_v_casernes_modif_p"<br> "tinyows_retrievable" "1"<br>
"tinyows_writable" "1"<br> "gml_geometry_type" "point"<br> "gml_geometries" "geometry" <br> "gml_featureid" "ogc_fid" <br>
#"ows_include_items" "all" <br> END <br> PROCESSING "CLOSE_CONNECTION=DEFER" <br> PROJECTION <br> "init=epsg:900913"<br>
END<br> <br> CLASS <br> NAME "Caserne modifiée"<br> EXPRESSION ( ("[statut_maj]"="M") OR ("[statut_maj]"="A") )<br> STYLE<br>
SYMBOL "caserne2"<br> SIZE 20 <br> OUTLINECOLOR 10 10 10<br> COLOR 0 250 0<br> END<br> END<br> CLASS <br> NAME "Caserne non-modifiée"<br>
EXPRESSION ( "[statut_maj]" = "O")<br> STYLE<br> SYMBOL "caserne2"<br> SIZE 20 <br> OUTLINECOLOR 10 10 10<br>
COLOR 250 7 0<br> END<br> END<br> END <br> <br> LAYER <br> NAME "struct_mtq"<br> TYPE RASTER<br> CONNECTION "XXXXXXXXXX"<br> CONNECTIONTYPE WMS<br>
MAXSCALE 60000<br> MINSCALE 2000<br> INCLUDE "../ec/ec_getfeature.map" <br> METADATA<br> "wms_srs" "EPSG:32198 EPSG:900913"<br> "wms_name" "struct_mtq"<br>
"wms_title" "struct_mtq"<br> "wms_server_version" "1.1.1"<br> "wms_format" "image/png"<br> "msp_classe_meta" "MTQ_WMS"<br>
END <br> <br> END <br><br>if i refer to the web page (http://tinyows.org/trac/wiki/MapFileConfigFile) :<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>
</div><br>_______________________________________________<br>TinyOWS-users mailing list<br><a ymailto="mailto:TinyOWS-users@lists.maptools.org" href="mailto:TinyOWS-users@lists.maptools.org">TinyOWS-users@lists.maptools.org</a><br><a href="http://lists.maptools.org/mailman/listinfo/tinyows-users" target="_blank">http://lists.maptools.org/mailman/listinfo/tinyows-users</a><br><br><br></div></div></div></body></html>