[Mapserver-users] .tab files problems again

Hugo Nathaniel Rodrigues hugo at pbh.gov.br
Fri Dec 19 11:29:16 EST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0020_01C3C63C.7B242690
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

yep, i use php file, working with php/apache server, now, with the =
information you told me, i need to know if you are using apache or =
IIS... (actually i didnt work with only html yet, and i still didnt used =
the maplap program, im newbie in mapserver).

cheers
Hugo Rodrigues
Analista/Consultor
SSSS - Prodabel
  ----- Original Message -----=20
  From: Riccardo Stuper=20
  To: Hugo Nathaniel Rodrigues=20
  Sent: Friday, December 19, 2003 1:03 PM
  Subject: Re: [Mapserver-users] .tab files problems again


  Hugo,
  firstly thanks for the help. With your configuration, I am able to =
show scalebar and ref image, but for the main map, I get a=20
  white image. No more little boxes with "x" (like jpeg missed) just =
white image. It's here, but it's white. I use your configuration, and I =
did the alias.
  If you are able to show my tab files, I wonder where the difference =
could be.
  I can do the work with MapLab, but it has some limits. I have to show =
some photos clicking on points, and there is no way to=20
  do that without changing the php script MapLab uses to generate the =
html pages. But php is too hard for me, I don't know=20
  enough to modify the scripts. Also, I would like to cut some useless =
columns in the query result of MapLab, same answer.
  If I don't want to use php, I have to build by myself html pages (I =
don't have to build a lot of them in fact). But this=20
  method doesn't work.
  What's the method you use to call ms map files through browser? I =
deduce you're using some php applications, am I right? You=20
  sent me a .phtml file, but I don't know how to use it and where to =
place it...
  Thank you anyway, you're very kind.

  cheers
  RS

  Hugo Nathaniel Rodrigues <hugo at pbh.gov.br> wrote:=20
    Riccardo,=20
    i think i found your problem: you didnt create an alias, let me =
explain:

    to use the folder=20
      IMAGEPATH "../ms_tmp"
      IMAGEURL "/maplab-2.1-RC1/ms_tmp"
    in the WEB section of your MAP file, you need to have it in your =
httpd.conf of your apache configuration, like this:

        Alias /gmap/   "C:/Arquivos de programas/Apache =
Group/Apache/htdocs/gmap/"
        Alias /ms_tmp/ "C:/tmp/ms_tmp/"

    and you need to have this folders... in my case, i tried your map =
file, and get one little box with red X (like one no found jpg in the =
page), then, i tried the same map file using my configuration of WEB =
section:

      IMAGEPATH "/tmp/ms_tmp/"=20
      IMAGEURL "/ms_tmp/"

    and then worked well (now i have that blue map), the other thing =
that you need its a php file like the one im sending to you (now, if you =
can do it without php file, i dont know, because i just started).

    cheers
    Hugo Rodrigues
    Analista/Consultor
    SSSS - Prodabel




-------------------------------------------------------------------------=
-----
  Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, =
l'antivirus, il filtro Anti-spam
------=_NextPart_000_0020_01C3C63C.7B242690
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>yep, i use php file, working with =
php/apache=20
server, now, with the information you told me, i need to know if you are =
using=20
apache or IIS... (actually i didnt work with only html yet, and i still =
didnt=20
used the maplap program, im newbie in mapserver).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>cheers</FONT></DIV>
<DIV>Hugo Rodrigues<BR>Analista/Consultor<BR>SSSS - Prodabel</DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Drik_stpr at yahoo.it =
href=3D"mailto:rik_stpr at yahoo.it">Riccardo Stuper</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A title=3Dhugo at pbh.gov.br=20
  href=3D"mailto:hugo at pbh.gov.br">Hugo Nathaniel Rodrigues</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, December 19, 2003 =
1:03=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [Mapserver-users] =
.tab files=20
  problems again</DIV>
  <DIV><BR></DIV>
  <DIV>
  <DIV>Hugo,</DIV>
  <DIV>firstly thanks for the help. With your configuration, I am able =
to show=20
  scalebar and ref image, but for the main map, I get a </DIV>
  <DIV>white image. No more little boxes with "x" (like jpeg missed) =
just white=20
  image. It's here, but it's white. I use your configuration, and I did =
the=20
  alias.<BR>If you are able to show my tab files, I wonder where the =
difference=20
  could be.<BR>I can do the work with MapLab, but it has some limits. I =
have to=20
  show some photos clicking on points, and there is no way to </DIV>
  <DIV>do that without changing the php script MapLab uses to generate =
the html=20
  pages. But php is too hard for me, I don't know </DIV>
  <DIV>enough to modify the scripts. Also, I would like to cut some =
useless=20
  columns in the query result of MapLab, same answer.<BR>If I don't want =
to use=20
  php, I have to build by myself html pages (I don't have to build a lot =
of them=20
  in fact). But this </DIV>
  <DIV>method doesn't work.<BR>What's the method you use to call ms map =
files=20
  through browser? I deduce you're using some php applications, am I =
right? You=20
  </DIV>
  <DIV>sent me a .phtml file, but I don't know how to use it and where =
to place=20
  it...<BR>Thank you anyway, you're very kind.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>cheers</DIV>
  <DIV>RS<BR><BR><B><I>Hugo Nathaniel Rodrigues =
&lt;hugo at pbh.gov.br&gt;</I></B>=20
  wrote: </DIV>
  <BLOCKQUOTE class=3Dreplbq=20
  style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px =
solid">
    <META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
    <DIV><FONT face=3DArial size=3D2>Riccardo, </FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>i think i found your problem: you =
didnt create=20
    an alias, let me explain:</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>to use the folder </FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>&nbsp; IMAGEPATH =
"../ms_tmp"<BR>&nbsp; IMAGEURL=20
    "/maplab-2.1-RC1/ms_tmp"<BR>in the WEB section of your MAP file, you =
need to=20
    have it in your httpd.conf of your apache configuration, like=20
    this:</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; Alias =
/gmap/&nbsp;&nbsp;=20
    "C:/Arquivos de programas/Apache=20
    Group/Apache/htdocs/gmap/"<BR>&nbsp;&nbsp;&nbsp; Alias /ms_tmp/=20
    "C:/tmp/ms_tmp/"<BR></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>and you need to have this =
folders... in my=20
    case, i tried your map file, and get one little box with red X (like =
one no=20
    found jpg in the page), then, i tried the same map file using my=20
    configuration of WEB section:</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>&nbsp; IMAGEPATH "/tmp/ms_tmp/" =
<BR>&nbsp;=20
    IMAGEURL "/ms_tmp/"<BR></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>and then worked well (now i have =
that blue=20
    map), the other thing that you need its a php file like the one im =
sending=20
    to you (now, if you can do it without php file, i dont know, because =
i just=20
    started).</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>cheers</DIV></FONT>
    <DIV>Hugo Rodrigues<BR>Analista/Consultor<BR>SSSS -=20
  Prodabel</DIV></BLOCKQUOTE></DIV>
  <P><BR>
  <HR SIZE=3D1>
  <A=20
  =
href=3D"http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com/"><B>Y=
ahoo!=20
  Mail</A></B>: 6MB di spazio gratuito, 30MB per i tuoi allegati, =
l'antivirus,=20
  il filtro Anti-spam</BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0020_01C3C63C.7B242690--




More information about the mapserver-users mailing list