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

Brent Fraser bfraser at geoanalytic.com
Tue Jul 19 16:33:05 EDT 2011


Michelle,

   Strange, v6 dropped the various *MAP modes (they are missing in 
mapserv.h), but I couldn't locate any RFC , but viewing the revisions in 
Trac (http://trac.osgeo.org/mapserver/changeset/11078) shows a note:

    Remove map-oriented query modes (e.g.QUERYMAP). Use qformat
    parameter instead. (#3712)

which lead to the Migration Guide 
(http://mapserver.org/MIGRATION_GUIDE.html)

     All of the query map related modes (e.g. NQUERYMAP, ITEMQUERYMAP, 
etc...) have been removed in favor of using the "qformat" parameter. 
That parameter takes an output format name or mime/type as a value and 
uses that to process a set of query results. For example:

    ...&mode=nquerymap&... would become ...&mode=nquery&qformat=png24&...


So it's a doc issue, and the ticket is 
http://trac.osgeo.org/mapserver/ticket/3712

Best Regards,
Brent Fraser


On 7/19/2011 1:56 PM, Michelle Douvil wrote:
> Hi All,
> I figured I'd start a new thread..
>
> I have installed both a custom build for Mapserver 6.0 as well as MS4W
> 3.0.3..
> I can get images back with GetMAP image request via WMS for SDE 9.3.1 data..
> However when I try a GetFeatureINFO request via Apache I was getting
>
> a "Premature end of script headers: mapserv.exe"
>
> So I removed Apache from the picture and try the CGI..
>
> With mapserver 5.2
> mapserv -nh
> "QUERY_STRING=map=e:/sw_nt/mapfiles/base2.map&mode=nquerymap&mapxy=1186128
> 863840">test.png (I get a valid png with the feature highlighted..)
>
> With ms4w mapserver 6.0.1 and a 6.0.0 build.. I get..
> setMode(): Web application error. Invalid mode.
>
> Any ideas? Is almost like it doesn't like anything other than mode=map for
> SDE?
>
> I am using both:
>
> CONNECTION TYPE PLUGIN..(For MS4W)
> PLUGIN "E:/sw_nt/ms4w/Apache/specialplugins/msplugin_sde_93.dll"
>
> and
>
> CONNECTIONTYPE sde
> (with sde.dll, pe.dll, sg.dll from 9.3 SDK)
>
>
>
> Many 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-tp6600091p6600091.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110719/0b26f9dc/attachment-0001.html


More information about the mapserver-users mailing list