[mapserver-users] Re: ArcSDE 9.3.1 QUERYMAP, QUERY or GETFEATUREINFO not workin (Mapserver 6)
Michelle Douvil
mrdouville at shaw.ca
Tue Jul 19 22:09:33 PDT 2011
Thanks Brent..
I have tried the following... all with blank response and no errors..it is
like the cgi just stops..
&qformat=png24, png, text/plain
as well as this..
mapserv -nh "QUERY_STRING=map=e:/sw_nt/ms4w/mapfiles
/3.map&mode=ows&LAYERS=DBM_7H_MIL_POLITICAL_POLY_BC&SERVICE=WMS&VERSION=1.1.1&RE
QUEST=GetFeatureInfo&STYLES=&EXCEPTIONS=application/vnd.ogc.se_xml&FORMAT=image/
jpeg&SRS=EPSG:3005&BBOX=1136822.19419924,815982.719048714,1186128.62547289,86384
0.736184577&X=250&Y=250&INFO_FORMAT=text/plain&QUERY_LAYERS=DBM_7H_MIL_POLITICAL
_POLY_BC&WIDTH=650&HEIGHT=650&FEATURE_COUNT=30" >
e:\sw_nt\mapserver\testms4w.xm
l
*I have add a shapefile and get a valid GetFeatureINFO response with ..*
E:\sw_nt>mapserv
"QUERY_STRING=map=e:/sw_nt/ms4w/mapfiles/3.map&LAYERS=bcmosaic_
yop_index&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&STYLES=&EXCEPTIONS=ap
plication/vnd.ogc.se_xml&FORMAT=image/jpeg&SRS=EPSG:3005&BBOX=1136822.19419924,8
15982.719048714,1186128.62547289,863840.736184577&X=250&Y=250&INFO_FORMAT=text/p
lain&QUERY_LAYERS=bcmosaic_yop_index&WIDTH=650&HEIGHT=650&FEATURE_COUNT=30"
Content-type: text/plain
GetFeatureInfo results:
Layer 'bcmosaic_yop_index'
Feature 747:
OBJECTID = '748'
IMAGE_ID = '8510.000000'
PIXEL_SIZE = '1.000000'
PHOTO_YEAR = '1998'
FILE_NAME = 'bc_093b052_xb1m_utm10_1998.tif'
Shape_Leng = '49378.124352'
Shape_Area = '150965542.487000'
MOSAIC_YEA = '2005'
FEATURE_CO = 'RI20040100'
*If I set the SDE layer to "STATUS DEFAULT" I get no response at all to...*
E:\sw_nt>mapserv
"QUERY_STRING=map=e:/sw_nt/ms4w/mapfiles/3.map&mode=nquery&qfor
mat=xml&mapxy=1186128 863840"
*If I set the SDE layer to "STATUS OFF or ON" I get A response..*
E:\sw_nt>mapserv
"QUERY_STRING=map=e:/sw_nt/ms4w/mapfiles/3.map&mode=nquery&qfor
mat=xml&mapxy=1186128 863840"
Content-type: text/html
<HTML>
<HEAD><TITLE>MapServer Message</TITLE></HEAD>
<BODY BGCOLOR="#FFFFFF">
msQueryByPoint(): Search returned no results. No matching record(s) found.
</BODY></HTML>
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-tp6600091p6601369.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list