[mapserver-users] Re: WMS GetFeatureInfo returning no results with 5.6

Oliver Wesp oliver.wesp at gmail.com
Fri Nov 5 04:46:40 EDT 2010


Found out that it works as soon as I define a TOLERANCE of at least 1
Pixel for the Layer. Thats fine for me also I don't know if that is
intended.

Oliver

2010/11/5 Oliver Wesp <oliver.wesp at gmail.com>:
> Dear List,
>
> I'm trying to execute a GetFeatureInfo Request to an S57-File via OGR.
> The Request works fine in 5.2.0 returning all the attributes.
> Trying the same request and the same mapfile with Mapserver 5.6.1 or
> 5.6.5 I just get "Search returned no results.".
>
> Did I miss some configuration changes from 5.2 to 5.6 or is something
> else going wrong?
>
> All this happens on a Windows Server 2003 Box.
>
> Below is the mapfile.
>
> Any help ist appreciated.
>
> best regards,
> Oliver
>
> MAP
>  NAME WMS
>  STATUS ON
>  UNITS DD
>  EXTENT 5.3120 49.577 31 67
>  TRANSPARENT ON
>  IMAGETYPE PNG
>  DEBUG 5
>  CONFIG "MS_ERRORFILE" "c:\wms\logs\mapserver.log"
>  CONFIG "CPL_DEBUG" "ON" #turns on gdal debugging
>  CONFIG "PROJ_DEBUG" "ON" #turns on proj debugging
>  #config options fuer gdal
>  CONFIG OGR_S57_OPTIONS
> "RETURN_PRIMITIVES=ON,RETURN_LINKAGES=ON,LNAM_REFS=ON,SPLIT_MULTIPOINT=ON,ADD_SOUNDG_DEPTH=ON"
>  CONFIG GDAL_DATA "c:\Programme (x86)\FWTools2.4.7\data"
>  RESOLUTION 96
>
>  OUTPUTFORMAT
>    NAME 'PNG'
>    DRIVER AGG/PNG #Ausgabe von GD auf AGG gewechselt, das GD Probleme
> mit Transparenzen hat
>    IMAGEMODE RGB
>        MIMETYPE 'image/png'
>        EXTENSION 'png'
> END
>
> PROJECTION
>        "init=epsg:4326" #Standardprojektion. Alle moeglichen Projektionen
> werden in WEB.METADATA.WMS_SRS gesetzt
> END
>
> WEB
>        METADATA
>                "wms_name" "WMS"
>                "wms_title" "WMS"
>                "wms_onlineresource"
> "http://192.168.1.230/cgi-bin/mapserver/mapserv.exe?map=c:\wms\Mapfiles\master.map&"
>                "wms_srs" "EPSG:4326 EPSG:31466 EPSG:31467 EPSG:31468 EPSG:31469
> EPSG:2397 EPSG:2398 EPSG:2399 EPSG:25832 EPSG:25833 EPSG:4258"
>        END
>  END
>
>  LAYER
>        NAME COVR
>        GROUP "OVERVIEW"
>        TYPE POLYGON
>        STATUS ON
>        CONNECTIONTYPE OGR
>        PROCESSING "CLOSE_CONNECTION=DEFER"
>        CONNECTION "c:\s57\ENC\DE110000.000"
>        DATA "36"
>        FILTERITEM 'PRIM'
>        FILTER '3'
>        CLASS
>                NAME "Coverage"
>                STYLE
>                        COLOR 203 205 127
>                        OUTLINECOLOR 0 0 0
>                END
>        END
>        PROJECTION
>                "init=epsg:4326"
>        END
>        DUMP TRUE
>        TEMPLATE dummy.html
>        METADATA
>                "wms_abstract" "Coverage"
>                "wms_title" "Coverage (COVR)"
>                "wms_include_items" "all"
>                "wms_srs" "EPSG:4326"
>        END
>  END
>  END
>


More information about the mapserver-users mailing list