[Mapserver-users] .tab files problems again

Hugo Nathaniel Rodrigues hugo at pbh.gov.br
Wed Dec 17 13:12:40 EST 2003


This is a multi-part message in MIME format.

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

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
  ----- Original Message -----=20
  From: Riccardo Stuper=20
  To: mapserver-users at lists.gis.umn.edu=20
  Sent: Wednesday, December 17, 2003 3:25 PM
  Subject: [Mapserver-users] .tab files problems again



  Hi everyone,
  I'm trying to show some MapInfo .tab files and it's happening a =
strange thing: the same .map file showed through=20
  "MapLab/MapEdit prewiew" is working fine, when I try to show it =
through an html page done by myself, the result is a blank=20
  image. Neither the scalebar, legend nor reference are showed. =
Unfortunately, I have other problems with MapEdit...=20
  It seems as the mapserver doesn't recognize his .map file.=20
  The same html page is working with .shp files, so my problem is =
probably relating to the .map file.
  I've tried to set in the CONNECTION command absolute and relative =
paths, forward and backward slashs, nothing to do.
  I'm using ms4w 4.0 ("mapserver-4.0.1-win32-php4.3.3.zip" is the =
original file I've downloaded) and maplab-2.1-RC1, running on local =
Apache. It's a week I'm going mad with this, somebody here seems to have =
similar problems but I cannot get out of it.
  I hope I was clear enough, forgive me as I'm not deep into computer =
science.
  Please help me.
  Thanks in advance.
  Here's the .map file:
  MAP
    NAME "Friuli"
    STATUS ON
    EXTENT 11.866 46.665 14.366 45.562=20
    SIZE 500 500=20
    SYMBOLSET "./etc/symbols.sym"
    FONTSET "./etc/fonts.txt"
    UNITS DD
    WEB
      TEMPLATE "C:\Programmi\Apache =
Group\Apache\htdocs\maplab-2.1-RC1\Navtech\Friuli_gradi.html"
      IMAGEPATH "../ms_tmp"
      IMAGEURL "/maplab-2.1-RC1/ms_tmp"
    END
    REFERENCE
     ...
    END
    LEGEND
     ...
    END
    SCALEBAR
     ...
    END
    QUERYMAP
     ...
    END
    LAYER
      NAME Friuli
      STATUS ON
      TYPE POLYGON
      CONNECTIONTYPE OGR
      CONNECTION "C:\Programmi\Apache =
Group\Apache\htdocs\maplab-2.1-RC1\Navtech\data\Friuli.tab"
      UNITS DD
    !   CLASS
        COLOR 10 10 180
        OUTLINECOLOR 14 46 231
      END
    END
  END





-------------------------------------------------------------------------=
-----
  Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, =
l'antivirus, il filtro Anti-spam
------=_NextPart_000_0045_01C3C4B8.98919490
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>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 =
ogrinfo=20
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, =
because=20
the installation dont have the ogrinfo file), then unzip it and take the =
ogrinfo=20
file (when you run the ogrinfo file, this will show you some dll files =
that is=20
not in your windows dll folder, you will found it in the zip file, and =
can put=20
it in windows/system32, or system, depends of the version of your =
windows, but=20
take care to not copy this if you 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 =
information you=20
get (ogrinfo -al -ro friuli.tab), get the information of EXTENDED and =
put it in=20
your map file (take of the one you 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 =
imagecolor in=20
your map file start section (imagecolor 255 255 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 =
Rodrigues<BR>Analista/Consultor<BR>SSSS -=20
Prodabel</FONT></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=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> Wednesday, December 17, =
2003 3:25=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Mapserver-users] .tab =
files=20
  problems again</DIV>
  <DIV><BR></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Hi everyone,</DIV>
  <DIV>I'm trying to show some MapInfo .tab files and it's happening a =
strange=20
  thing: the same .map file showed through </DIV>
  <DIV>"MapLab/MapEdit prewiew" is working fine, when I try to show it =
through=20
  an html page done by myself, the result is a blank </DIV>
  <DIV>image. Neither the scalebar, legend nor reference are showed.=20
  Unfortunately, I have other problems with MapEdit... <BR>It seems as =
the=20
  mapserver doesn't recognize his .map file. <BR>The same html page is =
working=20
  with .shp files, so my problem is probably relating to the .map =
file.<BR>I've=20
  tried to set in the CONNECTION command absolute and relative paths, =
forward=20
  and backward slashs, nothing to do.<BR>I'm using ms4w 4.0=20
  ("mapserver-4.0.1-win32-php4.3.3.zip" is the original file I've =
downloaded)=20
  and maplab-2.1-RC1, running on local Apache. It's a week I'm going mad =
with=20
  this, somebody here seems to have similar problems but I cannot get =
out of=20
  it.<BR>I hope I was clear enough, forgive me as I'm not deep into =
computer=20
  science.<BR>Please help me.<BR>Thanks in advance.</DIV>
  <DIV>Here's the .map file:</DIV>
  <DIV>MAP<BR>&nbsp; NAME "Friuli"<BR>&nbsp; STATUS ON<BR>&nbsp; EXTENT =
11.866=20
  46.665 14.366 45.562 <BR>&nbsp; SIZE 500 500 <BR>&nbsp; SYMBOLSET=20
  "./etc/symbols.sym"<BR>&nbsp; FONTSET "./etc/fonts.txt"<BR>&nbsp; =
UNITS=20
  DD<BR>&nbsp; WEB<BR>&nbsp;&nbsp;&nbsp; TEMPLATE "C:\Programmi\Apache=20
  =
Group\Apache\htdocs\maplab-2.1-RC1\Navtech\Friuli_gradi.html"<BR>&nbsp;&n=
bsp;&nbsp;=20
  IMAGEPATH "../ms_tmp"<BR>&nbsp;&nbsp;&nbsp; IMAGEURL=20
  "/maplab-2.1-RC1/ms_tmp"<BR>&nbsp; END<BR>&nbsp; =
REFERENCE<BR>&nbsp;&nbsp;=20
  ...<BR>&nbsp; END<BR>&nbsp; LEGEND<BR>&nbsp;&nbsp; ...<BR>&nbsp; =
END<BR>&nbsp;=20
  SCALEBAR<BR>&nbsp;&nbsp; ...<BR>&nbsp; END<BR>&nbsp; =
QUERYMAP<BR>&nbsp;&nbsp;=20
  ...<BR>&nbsp; END<BR>&nbsp; LAYER<BR>&nbsp;&nbsp;&nbsp; NAME=20
  Friuli<BR>&nbsp;&nbsp;&nbsp; STATUS ON<BR>&nbsp;&nbsp;&nbsp; TYPE=20
  POLYGON<BR>&nbsp;&nbsp;&nbsp; CONNECTIONTYPE OGR<BR>&nbsp;&nbsp;&nbsp; =

  CONNECTION "C:\Programmi\Apache=20
  =
Group\Apache\htdocs\maplab-2.1-RC1\Navtech\data\Friuli.tab"<BR>&nbsp;&nbs=
p;&nbsp;=20
  UNITS DD<BR>&nbsp;&nbsp;! &nbsp; =
CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR=20
  10 10 180<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 14 46=20
  231<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp; END<BR>END<BR></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_0045_01C3C4B8.98919490--




More information about the mapserver-users mailing list