[Gfoss] GetFeatureInfo OpenLayers

francesco334 francesco334 a interfree.it
Ven 5 Set 2008 18:31:27 CEST


Ciao,

sto provandola funziona GetFeatureInfo.

Se da browser provo :
http://world.freemap.in/cgi-bin/mapserv?map=/www/freemap.in/world/map/factbook.map&LAYERS=factbook&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_xml&FORMAT=image%2Fjpeg&SRS=EPSG%3A4326&BBOX=-180%2C-180%2C180%2C180&X=386&Y=199&INFO_FORMAT=text%2Fhtml&QUERY_LAYERS=factbook&WIDTH=512&HEIGHT=512

ottengo il risultato (della nazione Cina).

Se provo sul mio layer :
http://localhost:8081/cgi-bin/mapserv.exe?MAP=%2Fms4w%2Fapps%2Fgmap-puglia%2Fhtdocs%2Fgmap75.map&LAYERS=areesensibili&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fpng&SRS=EPSG%3A4326&BBOX=16.58935546875,41.184467835598596,16.611328125,41.201002224633164&WIDTH=256&HEIGHT=256&X=386&Y=199&QUERY_LAYERS=areesensibili

ottengo :
GetFeatureInfo results:  Search returned no results.

Cosa sbaglio?

Illayer nelfilemap contiene:
LAYER
  NAME areesensibili
  GROUP "Aree Sensibili"
  METADATA
    "DESCRIPTION" "Centri storici/beni paesaggistici (aree)"
      "queryable" "true"
      "SEARCHFIELD" "SITO"
      fields "UBICAZIONE:Nome,FOTO:Foto"
      "wms_srs" "EPSG:26592"
#      "gml_include_items" "UBICAZIONE, FOTO"
      "wms_include_items" "UBICAZIONE,FOTO"
  #    "gml_include_items" "all"
  END
   PROJECTION
              "init=epsg:26592"
     END
  TYPE POLYGON
  TOLERANCE 8
  STATUS ON
  DUMP TRUE
 TEMPLATE dummy
  DATA areesensibili.shp
 # FILTERITEM "CATEGORIA"
 # FILTER "Centro storico/bene paesaggistico"
  CLASS
    NAME "areesensibili"
    COLOR 255 0 0
    OUTLINECOLOR 255 0 0
    SYMBOL 8
    SIZE 8
    TEMPLATE dummy
  END
END # layer

-- 
View this message in context: http://www.nabble.com/GetFeatureInfo-OpenLayers-tp19334979p19334979.html
Sent from the Gfoss mailing list archive at Nabble.com.




Maggiori informazioni sulla lista Gfoss