GetfeatureInfo as WMS
Juan Arévalo
arevaco90 at YAHOO.ES
Tue Oct 2 08:27:31 PDT 2007
Hi everyone,
I installed my mapserver as a WMS server. The getfeatureinfo operation is
working for gvSIG and I get the gml with the attributes, however the same
server doesn´t work for UDIG or ArcGIS, I get the layers but when I try to
use the info-tool it shows me the template.html (the one that I got from
mapserver´s website) but no the attributes.
My mapfile looks like:
WEB
TEMPLATE "D:\ms4w\maps\etc\template.html"
IMAGEPATH "D:\ms4w\tmp"
IMAGEURL "/tmp/"
LOG "D:/ms4w/mapserver.txt"
METADATA
"wms_metadataurl_format" "text/html"
"wms_feature_info_mime_type" "text/html"
LAYER
NAME provincias
TYPE LINE
CONNECTIONTYPE oraclespatial CONNECTION
"ap_visor/hjj at BDSDE" DATA "SHAPE FROM (SELECT OBJECTID,
SHAPE, COD_ENT, PROVINCIA FROM CAR_TERRMG.DA3_100) USING UNIQUE OBJECTID"
DUMP TRUE
DEBUG ON
PROCESSING "CLOSE_CONNECTION=DEFER"
TRANSPARENCY ALPHA
PROJECTION
"init=epsg:23030"
"init=epsg:4230"
"init=epsg:4324"
"init=epsg:32629"
"init=epsg:32630"
END
TOLERANCE 3
TOLERANCEUNITS PIXELS
TEMPLATE "D:\ms4w\maps\etc\template.html"
CLASSITEM 'PROVINCIA'
LABELMINSCALE 8000
LABELMAXSCALE 200001
CLASS
NAME 'Provincias'
STYLE
SYMBOL "linie-gestr4"
SIZE 1
COLOR 0 0 0
END #STYLE
END
METADATA
"wms_title" "Provincias"
"wms_keywordlist" "WMS Calidad"
"wms_srs" "EPSG:23029 EPSG:23030 EPSG:4230 EPSG:4324 EPSG:4326"
"wms_extent" "101003 3816667 628642 4288082"
WMS_FEATURE_INFO_MIME_TYPE 'text/html'
"wms_dataurl_format" "image/png"
"wms_metadataurl_format" "text/html"
"gml_featureid" "OBJECTID"
"gml_include_items" "PROVINCIA"
END
END
Any ideas on how to solve it? I read some posts about possible solutions for
the problem but no joy so far!!!
Thanks very much!!:)-
Juan Arévalo
--
View this message in context: http://www.nabble.com/GetfeatureInfo-as-WMS-tf4549090.html#a12981534
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list