[mapserver-users] Re: ArcSDE 9.3.1 QUERYMAP, QUERY or GETFEATUREINFO not workin (Mapserver 6)

Michelle Douvil mrdouville at shaw.ca
Tue Jul 19 18:05:53 EDT 2011


Thanks for this information Brent..

I tried the following ..
mapserv -nh
"QUERY_STRING=map=e:/sw_nt/ms4w/mapfiles/3.map&mode=nquery&qformat=png24&&mapxy=1186128
863840" > e:\sw_nt\mapserver\testms4w.png

and the result now is a 0 kilobyte png.. and the log file does not report
anything ..
a getFeatureINFO request does not find any features..


mapserv 
"QUERY_STRING=map=e:/sw_nt/ms4w/mapfiles/3.map&LAYERS=DBM_7H_MIL_POLITICAL_POLY_BC&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&STYLES=&EXCEPTIONS=application/vnd.ogc.se_xml&FORMAT=image/jpeg&SRS=EPSG:3005&BBOX=1136822.19419924,815982.719048714,1186128.62547289,863840.736184577&X=250&Y=250&INFO_FORMAT=text/plain&QUERY_LAYERS=DBM_7H_MIL_POLITICAL_POLY_BC&WIDTH=650&HEIGHT=650&FEATURE_COUNT=30"

msQueryByPoint(): Search returned no results. No matching record(s) found.
Content-type: text/plain
GetFeatureInfo results:
  Search returned no results.

for same data Mapserver 5.2 returns this..

E:\sw_nt\mapserver>mapserv 
"QUERY_STRING=map=e:/sw_nt/mapfiles6/base2.map&LAYER
S=DBM_7H_MIL_POLITICAL_POLY_BC&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&
STYLES=&EXCEPTIONS=application/vnd.ogc.se_xml&FORMAT=image/jpeg&SRS=EPSG:3005&BB
OX=1136822.19419924,815982.719048714,1186128.62547289,863840.736184577&X=250&Y=2
50&INFO_FORMAT=text/plain&QUERY_LAYERS=DBM_7H_MIL_POLITICAL_POLY_BC&WIDTH=650&HE
IGHT=650&FEATURE_COUNT=30"
Content-type: text/plain

GetFeatureInfo results:

Layer 'DBM_7H_MIL_POLITICAL_POLY_BC'
  Feature 97:
    STATUS = 'Province'
    NAME = 'British Columbia'
    ENGLISH_NAME = 'British Columbia'
    FRENCH_NAME = 'Colombia-Britannique'
    REGION_CODE = '59'
    POLYGON_FEATURE = '0'
    ISLAND = ''
    ISLAND_ENGLISH_NAME = ''
    ISLAND_FRENCH_NAME = ''
    NATION_ENGLISH_NAME = 'Canada'
    NATION_FRENCH_NAME = 'Canada'


I could give my full mapfile syntax if interested..
Perhaps I am missing a config statement that would make this work for SDE..


Thanks, 
Michelle



--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/ArcSDE-9-3-1-QUERYMAP-QUERY-or-GETFEATUREINFO-not-workin-Mapserver-6-tp6600091p6600531.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list