[Mapserver-users] PROBLEM with GetFeatureInfo results???

Josef Stromský Josef.Stromsky.hgf at vsb.cz
Tue Aug 26 05:59:33 EDT 2003


Hi folks,

Im trying to getFeautreInfo from my MapServer, but Im unable to get some
results. My mapserv.exe returning  this everytime :

--------------------------------
GetFeatureInfo results:

  Search returned no results.
--------------------------------

My request URL is:
http://158.196.141.84/cgi-bin/mapserv.exe?map=D:/Apache/Apache/htdocs/Wgs84/transcat.map&REQUEST=GetFeatureInfo&VERSION=1.1.0&BBOX=12,47,19,52.25&SRS=epsg:32633&WIDTH=800&HEIGHT=600&QUERY_LAYERS=CRhran_wgs&X=240&Y=242


Very similar getMap request works fine, but this is mystery for me. Maybe is
something missing here.
Thanks so much for any advice.

Here is my MapFile (it was createt from demo MapFile):

#
# Start of map file
#
MAP
NAME "TRANSCAT"
STATUS ON
EXTENT 12 48 18 51
SIZE 640 480
SHAPEPATH "."
IMAGECOLOR 255 255 255
UNITS METERS
IMAGETYPE PNG
#
# Start of web interface definition (including WMS enabling metadata)
#
WEB
MINSCALE 1000
MAXSCALE 1550000
IMAGEPATH "./tmp"
IMAGEURL "./tmp"
METADATA
"WMS_TITLE" "UMN MapServer Itasca Demo"
"WMS_ABSTRACT" "This is a UMN MapServer application for Itasca County
located in north central Minnesota."
"WMS_ACCESSCONSTRAINTS" "none"
"WMS_ONLINERESOURCE" "http://158.196.141.84/itasca/index.html"
"WMS_SRS" "epsg:32633"
END
END
#
# Start of reference map
#
REFERENCE
STATUS OFF
IMAGE "graphics/reference.png"
SIZE 120 120
EXTENT 393234.393701263 5205405.16440722 495769.579718949 5307959.02579127
COLOR 255 0 0
OUTLINECOLOR 0 0 0
MINBOXSIZE 5
MAXBOXSIZE 100
MARKER "star"
MARKERSIZE 8
END
#
# Projection definition, consult the PROJ.4 documentation for parameter
discussion
#
PROJECTION
# \proj=utm\
# \ellps=GRS80\
# \zone=15\
# \north\
# \no_defs\
#
# OR:
#
"init=epsg:32633"
END
#
# Start of legend
#
LEGEND
STATUS ON
KEYSIZE 18 12
LABEL
TYPE BITMAP
SIZE MEDIUM
COLOR 0 0 89
END
END
#
# Start of scalebar
#
SCALEBAR
STATUS ON
COLOR 255 255 255
IMAGECOLOR 0 0 0
UNITS METERS
INTERVALS 1
SIZE 100 2
STYLE 1
LABEL
SIZE TINY
COLOR 255 255 255
END
END
#
#================================== Start of symbol definitions
#
SYMBOL
NAME "circle"
TYPE ELLIPSE
FILLED TRUE
POINTS
1 1
END
END
SYMBOL
NAME "star"
TYPE VECTOR
FILLED TRUE
POINTS
0 .375 .35 .375 .5 0 .65 .375 1 .375 .75 .625 .875 1 .5 .75 .125 1 .25 .625
END
END
#
#´======================================== Start of layer definitions
#
LAYER
NAME "useky_wgs"
#GROUP "silnicniDatabanka"
STATUS ON
DATA "./SilnicnidatabankaOstrava_wgs/useky_wgs"
TYPE LINE
CLASS
NAME "useky_class"
#SYMBOL "circle"
COLOR 0 0 0
SIZE 1
END
END
LAYER
NAME "uzly_wgs"
#GROUP "silnicniDatabanka"
STATUS ON
DATA "./SilnicnidatabankaOstrava_wgs/uzly_wgs"
TYPE POINT
# OFFSITE 31
OFFSITE 252
METADATA
"WMS_TITLE" "Silniční databanka Ostrava"
"WMS_ABSTRACT" "Hibbing and Bemidji quadrangles. See
http://deli.dnr.state.mn.us/metadata/full/drgncim1.html for more
information."
"WMS_SRS" "epsg:32633"
END
CLASS
NAME "uzly_class"
SYMBOL "circle"
COLOR 128 255 164
OUTLINECOLOR 12 200 100
BACKGROUNDCOLOR 100 100 100
SIZE 7
END
END

LAYER
NAME "crhran_wgs"
#GROUP "hraniceCR_wgs"
STATUS ON
DATA "./hraniceCR_wgs/crhran_wgs"
TYPE POLYGON
UNITS METERS
CLASS
NAME "hranice_class"
#SYMBOL "circle"
COLOR 207 215 255
OUTLINECOLOR 0 63 103
END
END


LAYER
NAME "obce_roz_wgs"
#GROUP "Admin_wgs"
STATUS ON
DATA "./Admin_wgs/obce_roz_wgs"
TYPE POLYGON
UNITS METERS
CLASS
NAME "obce_roz_wgs_class"
COLOR 105 147 250
OUTLINECOLOR 0 0 0
END
END
LAYER
NAME "obce_pov_wgs"
#GROUP "Admin_wgs"
STATUS ON
DATA "./Admin_wgs/obce_pov_wgs"
TYPE POLYGON
UNITS METERS
CLASS
NAME "obce_pov_wgs_class"
COLOR 105 147 250
OUTLINECOLOR 0 0 0
END
END
LAYER
NAME "obce_wgs"
#GROUP "Admin_wgs"
STATUS ON
DATA "./Admin_wgs/obce_wgs"
TYPE POLYGON
UNITS METERS
CLASS
NAME "obce_pov_wgs_class"
COLOR 105 147 250
OUTLINECOLOR 0 0 0
END
END

LAYER
NAME "Zonace_CHKOJ_wgs"
#GROUP "CHKO_wgs"
STATUS ON
DATA "./CHKO_wgs/Zonace_CHKOJ_wgs"
TYPE POLYGON
UNITS METERS
CLASS
NAME "Zonace_CHKOJ_wgs_class"
COLOR 105 147 250
OUTLINECOLOR 0 0 0
END
END
LAYER
NAME "mchu83_a_wgs"
#GROUP "CHKO_wgs"
STATUS ON
DATA "./CHKO_wgs/mchu83_a_wgs"
TYPE POLYGON
UNITS METERS
CLASS
NAME "mchu83_a_wgs_class"
COLOR 105 147 250
OUTLINECOLOR 0 0 0
END
END
LAYER
NAME "MCHU_CHKOJ_wgs"
#GROUP "CHKO_wgs"
STATUS ON
DATA "./CHKO_wgs/MCHU_CHKOJ_wgs"
TYPE POLYGON
UNITS METERS
CLASS
NAME "MCHU_CHKOJ_wgs_class"
COLOR 105 147 250
OUTLINECOLOR 0 0 0
END
END
LAYER
NAME "flouky_wgs"
#GROUP "CHKO_wgs"
STATUS ON
DATA "./CHKO_wgs/flouky_wgs"
TYPE POLYGON
UNITS METERS
CLASS
NAME "flouky_wgs_class"
COLOR 105 147 250
OUTLINECOLOR 0 0 0
END
END
LAYER
NAME "branna_wgs"
#GROUP "CHKO_wgs"
STATUS ON
DATA "./CHKO_wgs/branna_wgs"
TYPE POLYGON
UNITS METERS
CLASS
NAME "branna_wgs_class"
COLOR 105 147 250
OUTLINECOLOR 0 0 0
END
END
LAYER
NAME "HraniceCHKO_wgs"
#GROUP "CHKO_wgs"
STATUS ON
DATA "./CHKO_wgs/HraniceCHKO_wgs"
TYPE LINE
UNITS METERS
CLASS
NAME "HraniceCHKO_wgs_class"
COLOR 105 147 250
OUTLINECOLOR 0 0 0
END
END
LAYER
NAME "rivers_poland_wgs"
#GROUP "Povodi_wgs"
STATUS ON
DATA "./Povodi_wgs/rivers_poland_wgs"
TYPE LINE
UNITS METERS
CLASS
NAME "rivers_poland_wgs_class"
COLOR 105 147 250
OUTLINECOLOR 0 0 0
END
END
LAYER
NAME "povodi_bela_wgs"
#GROUP "Povodi_wgs"
STATUS ON
DATA "./Povodi_wgs/povodi_bela_wgs"
TYPE POLYGON
UNITS METERS
CLASS
NAME "povodi_bela_wgs_class"
COLOR 105 147 250
OUTLINECOLOR 0 0 0
END
END
LAYER
NAME "jezera_pl_wgs"
#GROUP "Povodi_wgs"
STATUS ON
DATA "./Povodi_wgs/jezera_pl_wgs"
TYPE POLYGON
UNITS METERS
CLASS
NAME "jezera_pl_wgs_class"
COLOR 105 147 250
OUTLINECOLOR 0 0 0
END
END
# LAYER
#NAME "bela_reka_wgs"
#GROUP "Povodi_wgs"
#STATUS ON
#DATA "./Povodi_wgs/bela_reka_wgs"
#TYPE LINE
#UNITS METERS
#CLASS
#NAME "bela_reka_wgs_class"
#COLOR 105 147 250
#OUTLINECOLOR 0 0 0
#END
#END
LAYER
NAME "hranice_bela_wgs"
#GROUP "Povodi_wgs"
STATUS ON
DATA "./Povodi_wgs/hranice_bela_wgs"
TYPE POLYGON
UNITS METERS
CLASS
NAME "hranice_bela_wgs_class"
COLOR 105 147 250
OUTLINECOLOR 0 0 0
END
END
END






More information about the mapserver-users mailing list