Hi all and particularly to Armin We have tested all known (to us) valid map configurations for wms layers, but when we click the query button the listbox below map doesn't list any wms layer. The wms layers are regularly displayed but not queryable. The TEMPLATE html tag is present.
I attach below the listing of wms.map (server side) and wms.map of the client side #-------------------------------------------------------------------------------- # WMS CLIENT #-------------------------------------------------------------------------------- LAYER NAME "xxxxx" TYPE POLYGON STATUS ON CONNECTION "http://192.168.0.13/cgi-bin/mapserv?map=/srv/www/htdocs/pmap/config/wms/wms.map&" CONNECTIONTYPE WMS METADATA "wms_title" "xxx" "wms_srs" "EPSG:26591" "wms_server_version" "1.1.1" "wms_format" "image/png" "wms_feature_info_mime_type" "text/html" "wms_connectiontimeout" "60" END END #-------------------------------------------------------------------------------- # WMS SERVER #-------------------------------------------------------------------------------- WEB IMAGEPATH "/srv/www/htdocs/tmp/" IMAGEURL "/tmp/" METADATA "wms_title" "xxx" "wms_onlineresource" "http://192.168.0.13/cgi-bin/mapserv?map=/srv/www/htdocs/pmap/config/wms/wms.map&" "wms_srs" "EPSG:26591" "wms_feature_info_mime_type" "text/html" "wms_getfeatureinfo" "http://192.168.0.13/cgi-bin/mapserv?map=/srv/www/htdocs/pmap/config/wms/wms.map&" END END LAYER NAME "xxx" TYPE POLYGON STATUS ON DUMP TRUE TRANSPARENCY 50 DATA "cct/base/limiti/confini_comunali" PROJECTION "init=epsg:26591" #Gauss Boaga projection END TEMPLATE "map.html" HEADER "map.html" FOOTER "map.html" METADATA "wms_title" "xxx" "wms_onlineresource" "http://192.168.0.13/cgi-bin/mapserv?map=/srv/www/htdocs/pmap/config/wms/wms.map&" "wms_srs" "EPSG:26591" "ows_include_items" "all" "wms_server_version" "1.1.1" "wms_format" "image/png" "wms_feature_info_mime_type" "text/html" END CLASS NAME "xxx" COLOR 129 15 124 OUTLINECOLOR 163 163 82 END END when we query the server with the following url: http://192.168.0.13/cgi-bin/mapserv?map=/srv/www/htdocs/pmap/config/wms/wms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&LAYERS=xxx&X=200&Y=200&QUERY_LAYERS=xxx&bbox=2313596,5073461,2365096,5142948&HEIGHT=400&WIDTH=400&INFO_FORMAT=text/plain& the server replies with the following text: GetFeatureInfo results: Layer 'xxx' Feature 48: ENTITY = 'Polyline' COD_ISTAT = '93027' LAYER = 'MONTEREALE' COMUNE = 'Firenze' ELEVATION = '0.00000' THICKNESS = '0.00000' COLOR = '251' SUPERFICIE = '6785' so we are sure that server configuration is valid. Can someone kindly help us? Many thanks in advance. Armin Burger wrote: > > maybe you miss the TEMPLATE tag in the map file? > > armin > > -------- >> Subj: [pmapper-users] query wms_layer > >> >> Hi Mrs. Armin >> >> We are use wms layer mounted in WMS remote server. The map visualization >> is >> corrected, but when query map the layer he is not selectable. I have >> tested >> the GetCapabilities, GetInfoFeatures, Getmaps through URL and all it >> works >> correctly. >> This functionality is implemented? I have tried in the several post >> without >> to find one answer. >> Where my mistaking? >> >> Thanks >> -- >> View this message in context: >> http://www.nabble.com/query-wms_layer-tf4359392.html#a12424044 >> Sent from the pmapper users mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> pmapper-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/pmapper-users > > -- > Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten > Browser-Versionen downloaden: http://www.gmx.net/de/go/browser > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > pmapper-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > -- View this message in context: http://www.nabble.com/query-wms_layer-tf4359392.html#a12616855 Sent from the pmapper users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ pmapper-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pmapper-users
