<!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 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=395472612-27022009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=395472612-27022009></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=395472612-27022009>It is for sure possible to fix your problem, but 
because MapLab is no more supported or developed in any way I would suggest you 
to select some other application to play with.&nbsp; I could guess that there is 
nothing wrong with your Mapserver configuration because you do see the image in 
the beginning.&nbsp; Zooming problems are most probably caused by 
MapLab&nbsp;and struggling with is would of&nbsp;course be educational&nbsp;but 
if you are searching for some permanent system, go and get&nbsp;a fresh 
Mapserver version (5.2 or 5.4 beta) and choose another client.&nbsp; 
</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=395472612-27022009></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=395472612-27022009>-Jukka Rahkonen-</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=395472612-27022009></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=395472612-27022009></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr align=left><FONT face=Tahoma size=2><B>Lähettäjä:</B> 
mapserver-users-bounces@lists.osgeo.org 
[mailto:mapserver-users-bounces@lists.osgeo.org] <B>Puolesta </B>Andrea 
Ardito<BR><B>Lähetetty:</B> 27. helmikuuta 2009 13:49<BR><B>Vastaanottaja:</B> 
mapserver-users<BR><B>Kopio:</B> Mattia Ferrari; Edgardo 
Ghibaudo<BR><B>Aihe:</B> Re: [mapserver-users] WMS problem<BR></FONT><BR></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV></DIV><FONT 
  style="FONT-SIZE: 10pt; FONT-FAMILY: arial,helvetica,sans-serif">
  <DIV>Hi Pietro, </DIV>
  <DIV><BR></DIV>
  <DIV>1.I've tried to invoke mapserver in cgi mode and it seems ok. </DIV>
  <DIV>http://webgis.provincia.biella.it/cgi-bin/mapserv?map=/opt/fgs/apps/mapservergeo/map/basewms.map&amp;mode=map&amp;layer=stati 
  </DIV>
  <DIV> </DIV>
  <DIV>2. We looked on the apache log file and we fixed some errors we had in a 
  php file. </DIV>
  <DIV>Anyway things are not changed. </DIV>
  <DIV>http://webgis.provincia.biella.it/apps/maplab/projects/gmf_apps/basewms4/wmdmap.php 
  </DIV>
  <DIV> </DIV>
  <DIV>Please, do you have anything else to suggest? </DIV>
  <DIV>Thank you very much for your help </DIV>
  <DIV>ciao </DIV>
  <DIV>andrea <BR>&nbsp; </DIV></FONT>
  <DIV><FONT face=arial,helvetica,sans-serif color=#000099 size=2>arch. Andrea 
  ARDITO</FONT> </DIV>
  <DIV><FONT face=arial,helvetica,sans-serif color=#000099 size=2>Sistema 
  Informativo Territoriale Ambientale (S.I.T.A.)</FONT> </DIV>
  <DIV><FONT face=arial,helvetica,sans-serif color=#000099 size=2>Settore 
  Pianificazione e Sicurezza del Territorio</FONT> </DIV>
  <DIV><FONT face=arial,helvetica,sans-serif color=#000099 size=2>Provincia di 
  Biella</FONT> </DIV>
  <DIV><FONT face=arial,helvetica,sans-serif color=#000099 size=2>Via Quintino 
  Sella, 12 - 13900 BIELLA</FONT> </DIV>
  <DIV><FONT face=arial,helvetica,sans-serif color=#000099 size=2>tel. 
  015.8480880</FONT> </DIV>
  <DIV><FONT face=arial,helvetica,sans-serif color=#000099 size=2>fax. 
  015.8480740</FONT> </DIV><BR><BR>
  <BLOCKQUOTE 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">-----Original 
    Message----- <BR>From: Pietro Giannini &lt;pgiannini@bytewise.it&gt; <BR>To: 
    mapserver-users &lt;mapserver-users@lists.osgeo.org&gt; <BR>Date: Thu, 26 
    Feb 2009 16:11:41 +0100 <BR>Subject: Re: [mapserver-users] WMS problem 
    <BR><BR>Hi Andrea, <BR><BR>1. no <BR>2. no matters <BR>3. It is difficult to 
    answer... <BR><BR>If the problem is EXTENT &amp; PROJECTION, remember that a 
    .map file has the PROJECTION set at map level and PROJECTIONs set at layers 
    level; the map Projection is the projection system of the result of the map 
    (i.e. the map image), the layer Projection is the projection system of the 
    data source of the layer. If a layer datasource projection differs from the 
    map projection, you must to set it, otherwise ms try to project the data 
    according with map projection. <BR>Try invoke mapserver in cgi mode to see 
    the results: <A class=moz-txt-link-freetext 
    href="http://the.host/cgi-bin/mapserv?map=/path/of/the.map&amp;mode=map&amp;layer=">http://the.host/cgi-bin/mapserv?map=/path/of/the.map&amp;mode=map&amp;layer=</A> 
    ... <BR><BR>Imho your problem isn't the map, but occurs in your php script. 
    Take a look on the php error log: it is a text file, its path is set in your 
    php.ini file (error_log directive, can be an absolute or relative path) 
    <BR><BR>4. obviously scale is nonsense when using non-projected reference 
    systems like epsg:4326, but mapserver does not know. <BR><BR>hth 
    <BR><BR>ciao <BR>....................pg <BR><BR><BR><BR><PRE class=moz-signature cols="72">-- Pietro Giannini Bytewise srl - Area GIS 41°50'38.58"N 
12°29'13.39"E</PRE><BR><BR><BR><BR>Andrea Ardito ha scritto: 
    <BLOCKQUOTE cite=mid:WC20090226140010.46000E@provincia.biella.it 
type="cite"><PRE>Hi, we have this system working with MapServer version 4.8.2, PHP version 
4.4.2. I am trying to do a map that shows both layer (WGS84 shapefile) and 
WMS data togheter. The starting response is ok, but I get the blank image 
from the first pan or zoom on. This is the example URL: <A class=moz-txt-link-freetext href="http://webgis.provincia.biella.it/apps/maplab/projects/gmf_apps/basewms4/wmdmap.php">
http://webgis.provincia.biella.it/apps/maplab/projects/gmf_apps/basewms4/wmdmap.php</A>
  I guess the problem is due to wrong parameters for EXTENT, SIZE and 
PROJECTION in the mapfile. These are: EXTENT -15 25 40 70 SIZE 470 520 
PROJECTION "init=epsg:4326".  The question are: 1. the SIZE (in pixel) has 
to be proportional to the EXTENT? 2. if yes, how to obtain the right values 
for the EXTENT? 3. if not, where is the problem? 4. in a map with geographic 
non-projected data like this, is correct to have value for scale of the 
representation since UNITS are DD?  I would be very grateful for any help 
from you all, thanks! Best regards andrea ardito  P.S. If I set no layer in 
the map file, and I try to represent only WMS layer (adding them from 
"Servizi WMS" button), it works.</PRE><FONT 
      style="FONT-SIZE: 10pt; FONT-FAMILY: arial,helvetica,sans-serif">
      <DIV><BR>&nbsp; </DIV></FONT>
      <DIV><FONT face=arial,helvetica,sans-serif color=#000099 size=2>arch. 
      Andrea ARDITO</FONT> </DIV>
      <DIV><FONT face=arial,helvetica,sans-serif color=#000099 size=2>Sistema 
      Informativo Territoriale Ambientale (S.I.T.A.)</FONT> </DIV>
      <DIV><FONT face=arial,helvetica,sans-serif color=#000099 size=2>Settore 
      Pianificazione e Sicurezza del Territorio</FONT> </DIV>
      <DIV><FONT face=arial,helvetica,sans-serif color=#000099 size=2>Provincia 
      di Biella</FONT> </DIV>
      <DIV><FONT face=arial,helvetica,sans-serif color=#000099 size=2>Via 
      Quintino Sella, 12 - 13900 BIELLA</FONT> </DIV>
      <DIV><FONT face=arial,helvetica,sans-serif color=#000099 size=2>tel. 
      015.8480880</FONT> </DIV>
      <DIV><FONT face=arial,helvetica,sans-serif color=#000099 size=2>fax. 
      015.8480740</FONT> 
      </DIV><BR>--http://www.provincia.biella.it------------------------------------------------------ 
      <BR><BR>Vuoi rimanere sempre aggiornato sulle nostre attivita'? <BR>Visita 
      la pagina dei feed RSS sul nostro sito ed iscriviti alla sezione di 
      interesse. 
      <BR><BR>--Avviso------------------------------------------------------------------------------ 
      <BR>Questo messaggio e i suoi allegati sono riservati esclusivamente alle 
      persone in <BR>indirizzo e possono contenere informazioni confidenziali. 
      Se questo messaggio vi e' <BR>pervenuto per errore, vi informiamo che ogni 
      suo uso e'proibito. <BR>In questo caso rispedite immediatamente il 
      messaggio al mittente e cancellatelo. <BR>Per ogni chiarimento 
      contattateci scrivendo a <A class=moz-txt-link-abbreviated 
      href="mailto:ced@provincia.biella.it">ced@provincia.biella.it</A>. 
      <BR>Grazie -Il Webmaster. 
      <BR>--Warning----------------------------------------------------------------------------- 
      <BR>This message and its attachments are addressed solely to the persons 
      above and may <BR>contain confidential information. If you have received 
      the message in error, be <BR>informed that any use of the content hereof 
      is prohibited. <BR>Please return it immediately to the sender and delete 
      the message. Should you have <BR>any questions, please contact us by 
      replying to <A class=moz-txt-link-abbreviated 
      href="mailto:ced@provincia.biella.it">ced@provincia.biella.it</A>. <BR>The 
      Webmaster. 
      <BR>-------------------------------------------------------------------------------------- 
<PRE><HR width="90%" SIZE=4> 
_______________________________________________ mapserver-users mailing list 
<A class=moz-txt-link-abbreviated href="mailto:mapserver-users@lists.osgeo.org">
mapserver-users@lists.osgeo.org</A> <A class=moz-txt-link-freetext href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">
http://lists.osgeo.org/mailman/listinfo/mapserver-users</A>   </PRE></BLOCKQUOTE><BR></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>