[Mapserver-users] .tab files problems again

Riccardo Stuper rik_stpr at yahoo.it
Wed Dec 17 12:25:21 EST 2003


--0-9548002-1071681921=:87773
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

 
Hi everyone,
I'm trying to show some MapInfo .tab files and it's happening a strange thing: the same .map file showed through 
"MapLab/MapEdit prewiew" is working fine, when I try to show it through an html page done by myself, the result is a blank 
image. Neither the scalebar, legend nor reference are showed. Unfortunately, I have other problems with MapEdit... 
It seems as the mapserver doesn't recognize his .map file. 
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 
  SIZE 500 500 
  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
--0-9548002-1071681921=:87773
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<DIV>&nbsp;</DIV>
<DIV>Hi everyone,</DIV>
<DIV>I'm trying to show some MapInfo .tab files and it's happening a strange thing: the same .map file showed through </DIV>
<DIV>"MapLab/MapEdit prewiew" is working fine, when I try to show it through an html page done by myself, the result is a blank </DIV>
<DIV>image. Neither the scalebar, legend nor reference are showed. Unfortunately, I have other problems with MapEdit... <BR>It seems as the mapserver doesn't recognize his .map file. <BR>The same html page is working with .shp files, so my problem is probably relating to the .map file.<BR>I've tried to set in the CONNECTION command absolute and relative paths, forward and backward slashs, nothing to do.<BR>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.<BR>I hope I was clear enough, forgive me as I'm not deep into computer 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 46.665 14.366 45.562 <BR>&nbsp; SIZE 500 500 <BR>&nbsp; SYMBOLSET "./etc/symbols.sym"<BR>&nbsp; FONTSET "./etc/fonts.txt"<BR>&nbsp; UNITS DD<BR>&nbsp; WEB<BR>&nbsp;&nbsp;&nbsp; TEMPLATE "C:\Programmi\Apache Group\Apache\htdocs\maplab-2.1-RC1\Navtech\Friuli_gradi.html"<BR>&nbsp;&nbsp;&nbsp; IMAGEPATH "../ms_tmp"<BR>&nbsp;&nbsp;&nbsp; IMAGEURL "/maplab-2.1-RC1/ms_tmp"<BR>&nbsp; END<BR>&nbsp; REFERENCE<BR>&nbsp;&nbsp; ...<BR>&nbsp; END<BR>&nbsp; LEGEND<BR>&nbsp;&nbsp; ...<BR>&nbsp; END<BR>&nbsp; SCALEBAR<BR>&nbsp;&nbsp; ...<BR>&nbsp; END<BR>&nbsp; QUERYMAP<BR>&nbsp;&nbsp; ...<BR>&nbsp; END<BR>&nbsp; LAYER<BR>&nbsp;&nbsp;&nbsp; NAME Friuli<BR>&nbsp;&nbsp;&nbsp; STATUS ON<BR>&nbsp;&nbsp;&nbsp; TYPE POLYGON<BR>&nbsp;&nbsp;&nbsp; CONNECTIONTYPE OGR<BR>&nbsp;&nbsp;&nbsp; CONNECTION "C:\Programmi\Apache Group\Apache\htdocs\maplab-2.1-RC1\Navtech\data\Friuli.tab"<BR>&nbsp;&nbsp;&nbsp; UNITS DD<BR>&nbsp;&nbsp;&nbsp;
 CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 10 10 180<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 14 46 231<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp; END<BR>END<BR></DIV><p><br><hr size=1><A HREF="http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com/"><b>Yahoo! Mail</a></b>: 6MB di spazio gratuito, 30MB per i tuoi allegati, l'antivirus, il filtro Anti-spam
--0-9548002-1071681921=:87773--



More information about the mapserver-users mailing list