<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=820400112-25032002>Hi
all,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=820400112-25032002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=820400112-25032002>Problem:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=820400112-25032002>I am performing a
text query on a point layer, (6 number zip code layer, dutch
format).</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=820400112-25032002>When you ask the
result to be displayed using the "mapext=shapes" extention the extention will be
too small to see anything as we are talking about a point query wint one point a
s result.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=820400112-25032002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=820400112-25032002>Workaround I came up
with to get the desired map extention:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=820400112-25032002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=820400112-25032002>The user performs a
query to a 6 number zip code layer (e.g. 3527AW) I take off the two last
digits (result -> 3572), which therefore results in a multiple
point query of the area incorporating the zip code the user actually
wants.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=820400112-25032002>Now "mapext=shapes"
zooms in perfectly to the desired zon, however I now have all zip codes
incorporating 3572 (from AA to ZZ) om my map where I am only interested in the
one 3527AW.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=820400112-25032002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=820400112-25032002>So how do I use the
first extent to be the exten of the second query???</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=820400112-25032002>I already tried
numerous of things but as of now did not get any further.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=820400112-25032002>I also tried
someting like "map_extent=shapes" ...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=820400112-25032002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=820400112-25032002></SPAN></FONT><FONT
face=Arial size=2><SPAN class=820400112-25032002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=820400112-25032002>I call the mapserver
qeury as follows</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=820400112-25032002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=820400112-25032002><td><img
src="/cgi-bin/mapserv?map=[map]&item=Pc6nr&value=[value2]&mode=itemquerymap&mapext=shapes"
height="300" width="300"></td></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=820400112-25032002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=820400112-25032002>gives the right
extent, but too many points.</DIV>
<DIV><BR><td><img
src="/cgi-bin/mapserv?map=[map]&item=Pc6nr&value=[value]&mode=itemquerymap&mapext=shapes"
height="300" width="300"></td></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=820400112-25032002></SPAN></FONT><FONT
face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=820400112-25032002>gives the right
point but the wrong extent of one point (not good)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=820400112-25032002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=820400112-25032002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=820400112-25032002>TIA,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=820400112-25032002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=820400112-25032002>Bart</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>ing. Bart van Heijningen</FONT></DIV>
<DIV><FONT face=Arial size=2>ATsence B.V.</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="http://www.atsence.nl/">http://www.atsence.nl</A></FONT></DIV>
<DIV> </DIV></BODY></HTML>