[Mapserver-users] Get all objects of one layer in map extent using nquery

François-Xavier Prunayre fx.prunayre at oieau.fr
Fri Aug 8 11:41:28 EDT 2003


C'est un message de format MIME en plusieurs parties.

------=_NextPart_000_014F_01C35DD4.4BDB0280
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,=20
I'm would like to retrieve all objects of a specific layer (station_fr) =
which are in my current map extent. So I'm supposed to use =
mode=3Dnquery, specified an imgext ... and I was thinking that all =
parameters required were here.=20
But I always get all the objects of my layer even if I have only one in =
my current view.

Which parameters are mandatory for a nquery in an area of interest =
selection ?

here is the URL ...
http://www.rnde.tm.fr:8080/cgi-bin/mapserv.exe?mode=3Dnquery&zoomdir=3D0&=
zoomsize=3D1&imgext=3D-35.000000%2011.758333%2080.000000%2088.241667&map=3D=
F:\Apache\html\eden-iw-dev\eden.map&savequery=3Dtrue&program=3D/cgi-bin/m=
apserv.exe&map_web_imagepath=3DF:\Apache\html\tmp\&map_web_imageurl=3D/tm=
p/

Thanks for your help.
Francois



------=_NextPart_000_014F_01C35DD4.4BDB0280
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all, </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I'm would like to retrieve all objects =
of a=20
specific layer (station_fr) which are in my current map extent. So I'm =
supposed=20
to use mode=3Dnquery, specified an imgext ... and I was thinking that =
all=20
parameters required&nbsp;were here. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>But I always get all the objects of my =
layer even=20
if I have only one in my current view.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Which parameters are mandatory for a =
nquery in an=20
area of interest selection ?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>here is the URL ...</FONT></DIV>
<DIV><A=20
href=3D"http://www.rnde.tm.fr:8080/cgi-bin/mapserv.exe?mode=3Dnquery&amp;=
zoomdir=3D0&amp;zoomsize=3D1&amp;imgext=3D-35.000000%2011.758333%2080.000=
000%2088.241667&amp;map=3DF:\Apache\html\eden-iw-dev\eden.map&amp;saveque=
ry=3Dtrue&amp;program=3D/cgi-bin/mapserv.exe&amp;map_web_imagepath=3DF:\A=
pache\html\tmp\&amp;map_web_imageurl=3D/tmp/">http://www.rnde.tm.fr:8080/=
cgi-bin/mapserv.exe?mode=3Dnquery&amp;zoomdir=3D0&amp;zoomsize=3D1&amp;im=
gext=3D-35.000000%2011.758333%2080.000000%2088.241667&amp;map=3DF:\Apache=
\html\eden-iw-dev\eden.map&amp;savequery=3Dtrue&amp;program=3D/cgi-bin/ma=
pserv.exe&amp;map_web_imagepath=3DF:\Apache\html\tmp\&amp;map_web_imageur=
l=3D/tmp/</A></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks for your help.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Francois</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_014F_01C35DD4.4BDB0280--




More information about the mapserver-users mailing list