[Mapserver-users] .tab files problems again

Riccardo Stuper rik_stpr at yahoo.it
Wed Dec 17 09:25:21 PST 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> </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>  NAME "Friuli"<BR>  STATUS ON<BR>  EXTENT 11.866 46.665 14.366 45.562 <BR>  SIZE 500 500 <BR>  SYMBOLSET "./etc/symbols.sym"<BR>  FONTSET "./etc/fonts.txt"<BR>  UNITS DD<BR>  WEB<BR>    TEMPLATE "C:\Programmi\Apache Group\Apache\htdocs\maplab-2.1-RC1\Navtech\Friuli_gradi.html"<BR>    IMAGEPATH "../ms_tmp"<BR>    IMAGEURL "/maplab-2.1-RC1/ms_tmp"<BR>  END<BR>  REFERENCE<BR>   ...<BR>  END<BR>  LEGEND<BR>   ...<BR>  END<BR>  SCALEBAR<BR>   ...<BR>  END<BR>  QUERYMAP<BR>   ...<BR>  END<BR>  LAYER<BR>    NAME Friuli<BR>    STATUS ON<BR>    TYPE POLYGON<BR>    CONNECTIONTYPE OGR<BR>    CONNECTION "C:\Programmi\Apache Group\Apache\htdocs\maplab-2.1-RC1\Navtech\data\Friuli.tab"<BR>    UNITS DD<BR>   
 CLASS<BR>      COLOR 10 10 180<BR>      OUTLINECOLOR 14 46 231<BR>    END<BR>  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