MapTools.org

[maplab-users] Empty map frame when zooming in tutorial map

Mike Leahy mgleahy@fes.uwaterloo.ca
Thu, 5 Jun 2003 11:26:02 -0500
This is a multi-part message in MIME format.

------=_NextPart_000_003B_01C32B55.55A4E3F0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Kurt,

 

Sorry I don't have an actual solution, but I find that I'm having the
same problem.  I find that I can zoom in on my dataset, but as soon as I
pan or zoom to full extent, the map goes blank.  I even lose the ROSA
controls sometimes.  I found that if I removed the
INPUT_COORD=0%2C0%3B0%2C0 (which is interpreted as INPUT_COORD=0,0;0,0)
the map would load fine.  I'm not sure if there's something missing from
my mapfile, or if the PHP code generated by GMapFactory has some kind of
bug (I'm also using the latest release).  Also, I didn't have this
problem until I altered my mapfile with new max extents, and started
using my layers in PostGIS.

 

I hope someone can offer a better solution.

 

Mike

 

-----Original Message-----
From: maplab-users-admin@dmsolutions.ca
[mailto:maplab-users-admin@dmsolutions.ca] On Behalf Of
Kurt.Gerber@cde.unibe.ch
Sent: June 5, 2003 9:31 AM
To: maplab-users@dmsolutions.ca
Subject: [maplab-users] Empty map frame when zooming in tutorial map

 


Hi,
I have successfully installed mapserver 3.6.5 with mapscript and maplab 
2.0release (final) on php 4.3.2rc2 on a debian woody.
To test my installation, I used the tutorial map from maplab.
When I load the mapfile in MapEdit, everything works fine. When I click
on 
"preview map" the map shows up with no error.
But when I then try to redraw the map by zooming in, the map frame
remains 
blank. The map doesn't show up again. 
Which setting is wrong? 

I have made the same request a month ago, and Paul Spencer gave me the
following answer: 

> There was a bug in the preview that caused the layer controls not to 
> show up.  When zooming, the page submits and layer visibility is 
> maintained by the layer controls (checkboxes). Because these never
made 
> it into the page, all the layers get turned off.  Closing the preview 
> and reopening causes the map to be displayed again.  If these are your

> symptoms, please grab the latest nightly build as we have fixed this 
> problem.

> Cheers,

> Paul 

But, installing the newest version of maplab: 2.0 final, didn't help. 
So probably I'm doing something wrong.. but what? 

Kurt Gerber


------=_NextPart_000_003B_01C32B55.55A4E3F0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:sans-serif;
	panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
tt
	{font-family:"Courier New";}
span.EmailStyle18
	{font-family:Arial;
	color:navy;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-CA link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Kurt,</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Sorry I don&#8217;t have an actual
solution, but I find that I&#8217;m having the same problem.&nbsp; I =
find that
I can zoom in on my dataset, but as soon as I pan or zoom to full =
extent, the
map goes blank.&nbsp; I even lose the </span></font><font size=3D2 =
color=3Dnavy
 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>ROSA</span></font=
><font
size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:navy'> controls sometimes.&nbsp; I found that if I removed the =
INPUT_COORD=3D0%2C0%3B0%2C0
(which is interpreted as INPUT_COORD=3D0,0;0,0) the map would load =
fine.&nbsp; I&#8217;m
not sure if there&#8217;s something missing from my mapfile, or if the =
PHP code
generated by GMapFactory has some kind of bug (I&#8217;m also using the =
latest
release).&nbsp; Also, I didn&#8217;t have this problem until I altered =
my mapfile
with new max extents, and started using my layers in =
PostGIS.</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>I hope someone can offer a better =
solution&#8230;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Mike</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D2 =
face=3DTahoma><span
lang=3DEN-US style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b>
maplab-users-admin@dmsolutions.ca =
[mailto:maplab-users-admin@dmsolutions.ca] <b><span
style=3D'font-weight:bold'>On Behalf Of =
</span></b>Kurt.Gerber@cde.unibe.ch<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> June 5, 2003 9:31 =
AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
maplab-users@dmsolutions.ca<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [maplab-users] =
Empty map
frame when zooming in tutorial map</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><br>
</span></font><tt><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Hi,</span></font></tt><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face=3D"Courier New">I have successfully installed mapserver =
3.6.5 with
mapscript and maplab </font></tt><br>
<tt><font face=3D"Courier New">2.0release (final) on php 4.3.2rc2 on a =
debian
woody.</font></tt><br>
<tt><font face=3D"Courier New">To test my installation, I used the =
tutorial map
from maplab.</font></tt><br>
<tt><font face=3D"Courier New">When I load the mapfile in MapEdit, =
everything
works fine. When I click on </font></tt><br>
<tt><font face=3D"Courier New">&quot;preview map&quot; the map shows up =
with no
error.</font></tt><br>
<tt><font face=3D"Courier New">But when I then try to redraw the map by =
zooming
in, the map frame remains </font></tt><br>
<tt><font face=3D"Courier New">blank. The map doesn't show up again. =
</font></tt><br>
<tt><font face=3D"Courier New">Which setting is wrong? =
</font></tt></span></font><br>
<br>
<tt><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>I have made
the same request a month ago, and Paul Spencer gave me the following =
answer: </span></font></tt><br>
<font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;font-family:sans-serif'><br>
&gt;</span></font><tt><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'> There was a bug in the preview that caused the layer controls =
not to </span></font></tt><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face=3D"Courier New">&gt; show up. &nbsp;When zooming, the =
page submits
and layer visibility is </font></tt><br>
<tt><font face=3D"Courier New">&gt; maintained by the layer controls
(checkboxes). Because these never made </font></tt><br>
<tt><font face=3D"Courier New">&gt; it into the page, all the layers get =
turned
off. &nbsp;Closing the preview </font></tt><br>
<tt><font face=3D"Courier New">&gt; and reopening causes the map to be =
displayed
again. &nbsp;If these are your </font></tt><br>
<tt><font face=3D"Courier New">&gt; symptoms, please grab the latest =
nightly
build as we have fixed this </font></tt><br>
<tt><font face=3D"Courier New">&gt; problem.</font></tt><br>
<br>
<tt><font face=3D"Courier New">&gt; Cheers,</font></tt><br>
<br>
<tt><font face=3D"Courier New">&gt; Paul</font></tt></span></font> <br>
<br>
<tt><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>But,
installing the newest version of maplab: 2.0 final, didn't =
help.</span></font></tt>
<br>
<tt><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>So probably
I'm doing something wrong.. but what?</span></font></tt> <br>
<br>
<tt><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Kurt Gerber</span></font></tt></p>

</div>

</body>

</html>

------=_NextPart_000_003B_01C32B55.55A4E3F0--



This archive was generated by Pipermail.