[Mapserver-users] FEATURENQUERY problem

Frank Koormann frank.koormann at intevation.de
Fri Dec 12 03:11:36 PST 2003


Pete,

* pete skywalker <pete_sky at hotmail.com> [031209 20:53]:
> Hello All,
> 
> I try to use "FEATURENQUERY" to build multiple spatial search. Can I use 
> "FEATURENQUERY" along with "MAPSHAPE" or "IMGSHAPE"?

No, this isn't implemented so far. Looking into the sources only NQUERY
mode makes use of MAPSHAPE/IMAGESHAPE for queries.
 
> I try to do above in CGI command but it's not work. it's take a long 
> processing time and in the final web server return "Internal server error".
> 
> Below is my CGI command.
> 
> http://localhost/cgi-bin/mapserv40?map=..%2Fhtdocs%2FmyProjects%2FmyApp.map&imgext=664130.223126+1517839.584451+666318.217464+1519482.111612&savequery=false&mode=featurenquery&slayer=adminPoly&layer=adminPoly&layer=adminLine&layer=hydro&layer=landmark&zoom=1&mapshape=641159.94+1542764.483+711245.794+1542938.826+711420.137+1491071.807+640898.425+1490984.636
> 

The default for featureNquery is to use the current map extend to
determine all features of the slayer to be used for the query. This
obviously can take a long time and I can imagine that this results in
some internal problems ... 

If possible using a determined admin boundary instead of a double
feature query should do it.

Regards,

        Frank

-- 
Frank Koormann                             <frank.koormann at intevation.de>
 Professional Service around Free Software       (http://intevation.net/)
 FreeGIS Project                                 (http://freegis.org/)



More information about the MapServer-users mailing list