[Mapserver-users] .tab files problems again

Hugo Nathaniel Rodrigues hugo at pbh.gov.br
Thu Dec 18 12:51:49 EST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0020_01C3C57E.D8F6F400
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_0021_01C3C57E.D8F6F400"


------=_NextPart_001_0021_01C3C57E.D8F6F400
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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
  ----- Original Message -----=20
  From: Riccardo Stuper=20
  To: Hugo Nathaniel Rodrigues=20
  Sent: Thursday, December 18, 2003 2:54 PM
  Subject: Re: [Mapserver-users] .tab files problems again


  Hugo,
  here are my files. There is only one layer, very simple. I add one of =
the html file I've tried to use, just in case there would be something =
horribly wrong in it...
  Thank you very much for your help.

  cheers
  RS

  Hugo Nathaniel Rodrigues <hugo at pbh.gov.br> wrote:
    send me your files (mapserver .map and all the mapinfo files) i will =
see if i can run here.

    cheers
    Hugo Rodrigues
    Analista/Consultor
    SSSS - Prodabel
      ----- Original Message -----=20
      From: Riccardo Stuper=20
      To: Hugo Nathaniel Rodrigues=20
      Cc: mapserver-users at lists.gis.umn.edu=20
      Sent: Thursday, December 18, 2003 8:26 AM
      Subject: Re: [Mapserver-users] .tab files problems again


      Hugo,

      thanx for answer. I've tried ogrinfo, it tells "Open of =
`Friuli.tab'... successful" then all the informations. (I notice I need =
to put the "ogrinfo.exe" in the same folder of the files to analyze).
      I put the extent in my map file, nothing. White map, no ref, no =
scale as always. Neither imagecolor helps.=20
      Maybe it's something else w/ogr connection (but ogrinfo tells it's =
ok), some dll missing, Apache configuration, I followed the instructions =
and all seems ok, the demo was working.
      I cannot understand why I could open the map w/MapLap-MapEdit tool =
and no way else, but I cannot use always this...
      I don't know what to do. Thx anyway.

      cheers
      R.S.=20
      Hugo Nathaniel Rodrigues <hugo at pbh.gov.br> wrote:
        riccardo,=20

        first of all, go to DOS prompt and type ogrinfo friuli.tab (if =
you dont have the ogrinfo file, download it in =
ftp://ftp.remotesensing.org/pub/gdal/openev/ (you need to download any =
FW or linux version, but not the win32 exe version, because the =
installation dont have the ogrinfo file), then unzip it and take the =
ogrinfo file (when you run the ogrinfo file, this will show you some dll =
files that is not in your windows dll folder, you will found it in the =
zip file, and can put it in windows/system32, or system, depends of the =
version of your windows, but take care to not copy this if you have =
other version installed).

        with the ogrinfo working, and the information you get (ogrinfo =
-al -ro friuli.tab), get the information of EXTENDED and put it in your =
map file (take of the one you have).

        maybe this works, if not, try to put imagecolor in your map file =
start section (imagecolor 255 255 255).

        i wish this can help you.

        cheers
        Hugo Rodrigues
        Analista/Consultor
        SSSS - Prodabel




-------------------------------------------------------------------------=
-
      Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, =
l'antivirus, il filtro Anti-spam




-------------------------------------------------------------------------=
-----
  Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, =
l'antivirus, il filtro Anti-spam
------=_NextPart_001_0021_01C3C57E.D8F6F400
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></HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Riccardo, </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>i think i found your problem: you didnt =
create an=20
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 =
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 case, i=20
tried your map file, and get one little box with red X (like one no =
found jpg in=20
the page), then, i tried the same map file using my 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; IMAGEURL=20
"/ms_tmp/"<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>and then worked well (now i have that =
blue map),=20
the other thing that you need its a php file like the one im sending to =
you=20
(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 - 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> Thursday, December 18, =
2003 2:54=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>here are my files. There is only one layer, very simple. I add =
one of the=20
  html file I've tried to use, just in case there would =
be&nbsp;something=20
  horribly wrong in it...</DIV>
  <DIV>Thank you very much for your help.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>cheers</DIV>
  <DIV>RS<BR><BR><B><I>Hugo Nathaniel Rodrigues &lt;<A=20
  href=3D"mailto:hugo at pbh.gov.br">hugo at pbh.gov.br</A>&gt;</I></B> =
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>send me your files (mapserver .map =
and all the=20
    mapinfo files) i will see if i can run here.</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=20
      Stuper</A> </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>Cc:</B> <A=20
      title=3Dmapserver-users at lists.gis.umn.edu=20
      =
href=3D"mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.g=
is.umn.edu</A>=20
      </DIV>
      <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, December =
18, 2003=20
      8:26 AM</DIV>
      <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: =
[Mapserver-users] .tab=20
      files problems again</DIV>
      <DIV><BR></DIV>
      <DIV>Hugo,</DIV>
      <DIV>&nbsp;</DIV>
      <DIV>thanx for answer. I've tried ogrinfo, it tells "Open of=20
      `Friuli.tab'... successful" then all the informations. (I notice I =
need to=20
      put the "ogrinfo.exe" in the same folder of the files to =
analyze).<BR>I=20
      put the extent in my map file, nothing. White map, no ref, no =
scale as=20
      always. Neither imagecolor helps. <BR>Maybe it's something else =
w/ogr=20
      connection (but ogrinfo tells it's ok), some dll missing, Apache=20
      configuration, I followed the instructions and all seems ok, the =
demo was=20
      working.<BR>I cannot understand why I could open the map =
w/MapLap-MapEdit=20
      tool and no way else, but I cannot use always this...<BR>I don't =
know what=20
      to do. Thx anyway.</DIV>
      <DIV>&nbsp;</DIV>
      <DIV>cheers<BR>R.S. </DIV>
      <DIV><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>
        <STYLE></STYLE>

        <DIV><FONT face=3DArial size=3D2>riccardo, </FONT></DIV>
        <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
        <DIV><FONT face=3DArial size=3D2>first of all, go to DOS prompt =
and type=20
        ogrinfo friuli.tab (if you dont have the ogrinfo file, download =
it in <A=20
        =
href=3D"ftp://ftp.remotesensing.org/pub/gdal/openev/">ftp://ftp.remotesen=
sing.org/pub/gdal/openev/</A>&nbsp;(you=20
        need to download any FW or linux version, but not the win32 exe =
version,=20
        because the installation dont have the ogrinfo file), then unzip =
it and=20
        take the ogrinfo file (when you run the ogrinfo file, this will =
show you=20
        some dll files that is not in your windows dll folder, you will =
found it=20
        in the zip file, and can put it in windows/system32, or system, =
depends=20
        of the version of your windows, but take care to not copy this =
if you=20
        have other version installed).</FONT></DIV>
        <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
        <DIV><FONT face=3DArial size=3D2>with the ogrinfo working, and =
the=20
        information you get (ogrinfo -al -ro friuli.tab), get the =
information of=20
        EXTENDED and put it in your map file (take of the one you=20
        have).</FONT></DIV>
        <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
        <DIV><FONT face=3DArial size=3D2>maybe this works, if not, try =
to put=20
        imagecolor in your map file start section (imagecolor 255 255=20
        255).</FONT></DIV>
        <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
        <DIV><FONT face=3DArial size=3D2>i wish this can help =
you.</FONT></DIV>
        <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
        <DIV><FONT face=3DArial size=3D2>cheers</FONT></DIV>
        <DIV><FONT face=3DArial size=3D2>Hugo=20
        Rodrigues<BR>Analista/Consultor<BR>SSSS -=20
      Prodabel</FONT></DIV></BLOCKQUOTE>
      <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,=20
      l'antivirus, il filtro Anti-spam</BLOCKQUOTE></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_001_0021_01C3C57E.D8F6F400--

------=_NextPart_000_0020_01C3C57E.D8F6F400
Content-Type: application/octet-stream;
	name="mapabasico.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="mapabasico.zip"

UEsDBBQAAAAIAHx8ki9pBw7f9AAAAFgBAAAQAAAAbWFwYWJhc2ljby5waHRtbEWQUWuDMBSFnxX8
DxcpVGGt6+uMkW26VqjrWIXSp5DWUDOSLkTbbv++iQrlPtyTw/1uDhelnus4nluLYKoaRSRV7VFz
1c1rIaZhDJ7ruRPjEkW7JvGjTqpItsQ2P7aspe0AJGD8M7uVVG0OP4H/oflF8H4j01em50b5oWEm
XNITSyw0w7Wmt+DhkosWySBnuKVXtmOHwr6Ccku+PpdPC1PPYTykTvHQ0aoq10aDg1b5a9a7qCqq
dY7zPyqVYLB4gYy3StB/fj4BBfM5ioaRnotG0Mi3TbbvlYOKcgnb7/cEpeY4wI7NLzxyxpBiGOmR
MWuGJHdQSwECFAAUAAAACAB8fJIvaQcO3/QAAABYAQAAEAAAAAAAAAABACAAtoEAAAAAbWFwYWJh
c2ljby5waHRtbFBLBQYAAAAAAQABAD4AAAAiAQAAAAA=

------=_NextPart_000_0020_01C3C57E.D8F6F400--




More information about the mapserver-users mailing list