<HTML>
<font style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">
<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&mode=map&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 /> </div></font> <div><font color="#000099" size="2"
face="arial,helvetica,sans-serif">arch. Andrea ARDITO</font> </div> <div>
<font color="#000099" size="2" face="arial,helvetica,sans-serif">Sistema
Informativo Territoriale Ambientale (S.I.T.A.)</font> </div> <div><font
color="#000099" size="2" face="arial,helvetica,sans-serif">Settore
Pianificazione e Sicurezza del Territorio</font> </div> <div><font
color="#000099" size="2" face="arial,helvetica,sans-serif">Provincia di
Biella</font> </div> <div><font color="#000099" size="2"
face="arial,helvetica,sans-serif">Via Quintino Sella, 12 - 13900
BIELLA</font> </div> <div><font color="#000099" size="2"
face="arial,helvetica,sans-serif">tel. 015.8480880</font> </div> <div><font
color="#000099" size="2" face="arial,helvetica,sans-serif">fax.
015.8480740</font> </div> <br /> <br /> <blockquote style="border-left: 2px
solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px;
margin-right: 0px;"> -----Original Message----- <br /> From: Pietro
Giannini <pgiannini@bytewise.it> <br /> To: mapserver-users
<mapserver-users@lists.osgeo.org> <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
& 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&mode=map&layer=">
http://the.host/cgi-bin/mapserv?map=/path/of/the.map&mode=map&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-family:
arial,helvetica,sans-serif; font-size: 10pt;"> <div> <br />
</div> </font> <div><font color="#000099" size="2"
face="arial,helvetica,sans-serif">arch. Andrea ARDITO</font> </div>
<div><font color="#000099" size="2" face="arial,helvetica,sans-serif">
Sistema Informativo Territoriale Ambientale (S.I.T.A.)</font> </div>
<div><font color="#000099" size="2" face="arial,helvetica,sans-serif">
Settore Pianificazione e Sicurezza del Territorio</font> </div> <div>
<font color="#000099" size="2" face="arial,helvetica,sans-serif">Provincia
di Biella</font> </div> <div><font color="#000099" size="2"
face="arial,helvetica,sans-serif">Via Quintino Sella, 12 - 13900
BIELLA</font> </div> <div><font color="#000099" size="2"
face="arial,helvetica,sans-serif">tel. 015.8480880</font> </div>
<div><font color="#000099" size="2" face="arial,helvetica,sans-serif">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 size="4" width="90%" />
_______________________________________________ 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>
</HTML>