[Mapserver-users] Querying query-results

Christian Lindner christian.lindner at uni-dortmund.de
Tue May 18 04:35:50 PDT 2004


This is a multi-part message in MIME format.

------=_NextPart_000_001C_01C43CDD.0899E980
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hello,
 
I am a MapServer newbie. I am looking for a solution for the task
described below but looking at the MapServer CGI reference and the
MapFile reference did not help me solving this so far. So if someone
could point me to the right way (or almost one of the right ways
(assuming that there are multiple)) that would save me from going crazy
;-). I am using MapServer 4.0.1. as CGI. My data is contained in
shapefiles and dbase tables.
 
I want to display a map based on a query. Means that I want to display a
map showing all regions of one of the several countries contained in my
layer in full detail thus enabling the user to choose his region of
interest. So the map to be shown should only display the results of a
query based on a country variable given by another application. The map
displayed should make use of the whole image space (so I set the MAPEXT
to 'shape' ?!?). I already managed to display appropriate maps using
MODE=itemnquerymap QSTRING... and QITEM... but this only returns an
image to the browser instead of embedding it into a template file which
would enable the user to do the second query (country selection by the
user itself).
 
So my question is, how could I manage to display a map based on a query
for usage for further queries?
However, I hope this was somewhat understandable ;-).
 
Thanks for your help.
-Chris

------=_NextPart_000_001C_01C43CDD.0899E980
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Nachricht</TITLE>

<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D890190111-18052004><FONT face=3DArial=20
size=3D2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=3D890190111-18052004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D890190111-18052004><FONT face=3DArial size=3D2>I am a =
MapServer=20
newbie. I am looking for a solution for the task described below but =
looking at=20
the MapServer CGI reference and the MapFile reference did not help me =
solving=20
this so far. So if someone could point me to the right way (or almost =
one of the=20
right ways (assuming that there are multiple)) that would save me from=20
going crazy ;-). I am using MapServer 4.0.1. as CGI. My data is =
contained=20
in shapefiles and dbase tables.</FONT></SPAN></DIV>
<DIV><SPAN class=3D890190111-18052004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D890190111-18052004><FONT face=3DArial size=3D2>I want =
to display a=20
map based on a query. Means that I want to display a map showing all =
regions of=20
one of the several countries contained in my layer in full detail thus =
enabling=20
the user to choose his region of interest. So the map to be shown should =
only=20
display the results of a query based on a country variable given by =
another=20
application. The map displayed should make use of the whole image space =
(so I=20
set the MAPEXT to 'shape' ?!?). I already managed to display =
appropriate=20
maps using MODE=3Ditemnquerymap QSTRING... and QITEM... but this=20
only returns an image to the browser instead of embedding it =
into a=20
template file which would enable the user to do the second query =
(country=20
selection by the user itself).</FONT></SPAN></DIV>
<DIV><SPAN class=3D890190111-18052004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D890190111-18052004><FONT face=3DArial size=3D2>So my =
question is,=20
how could I manage to display a map based on a query for usage =
for further=20
queries?</FONT></SPAN></DIV>
<DIV><SPAN class=3D890190111-18052004><FONT face=3DArial =
size=3D2>However, I hope this=20
was somewhat understandable ;-).</FONT></SPAN></DIV>
<DIV><SPAN class=3D890190111-18052004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D890190111-18052004><FONT face=3DArial size=3D2>Thanks =
for your=20
help.</FONT></SPAN></DIV>
<DIV><SPAN class=3D890190111-18052004><FONT face=3DArial=20
size=3D2>-Chris</FONT></SPAN></DIV></BODY></HTML>

------=_NextPart_000_001C_01C43CDD.0899E980--




More information about the MapServer-users mailing list