[Mapserver-users] Empty screen with .tab file?

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


denis,
try to put this in your class:
COLOR 120 120 120
in the .map file (in the layer section)

will be like this:

class
   color 120 120 120
end

cheers
Hugo Rodrigues
Analista/Consultor
SSSS - Prodabel
----- Original Message ----- 
From: "Denis Louvegnies" <denis at louvegnies.com>
To: "Thomsen, Bo Victor" <BVT at sns.dk>; <mapserver-users at lists.gis.umn.edu>
Sent: Wednesday, December 17, 2003 8:08 AM
Subject: Re: [Mapserver-users] Empty screen with .tab file?


> Hi Bo,
>
> Thank you for your answer. Where did you get php_mapscript_40.dll  from? I
> can't find it. Maybe you can send it to me?
>
> Could you please also send me your test files (the 4 mapInfo files and the
> file.map file)
>
> Many thanks,
>
> Denis
> ----- Original Message ----- 
> From: "Thomsen, Bo Victor" <BVT at sns.dk>
> To: <mapserver-users at lists.gis.umn.edu>
> Sent: Wednesday, December 17, 2003 10:39 AM
> Subject: Re: [Mapserver-users] Empty screen with .tab file?
>
>
> > Hi all -
> >
> > I'll think there is a bug in the php_mapscript_41.dll regarding the use
of
> > tab files. I've have an MapScript application using tab-files and
defined
> > with with full pathnames in the map-file. The environment is win2k and
> using
> > the ms4w ver. 0.7 setup. The application works perfectly when using the
> > php_mapscript_40.dll. If I change the mapscript-dll from
> > php_mapscript_40.dll to php_mapscript_41.dll I'll get the following
error:
> >
> >
> > Warning: [MapServer Error]: msDrawMap(): Failed to draw layer named
> 'Skove'.
> > in C:\ms4w\apps\vvgis\html\vvgis.php on line 581
> >
> > Warning: [MapServer Error]: msOGRFileOpen(): Open failed for OGR
> connection
> > `c:\vvdata\testomr\gisdata\Skov.tab'. File not found or unsupported
> format.
> > in C:\ms4w\apps\vvgis\html\vvgis.php on line 581
> >
> > Fatal error: Call to a member function on a non-object in
> > C:\ms4w\apps\vvgis\html\vvgis.php on line 586
> >
> > regards
> >
> > Bo Thomsen
> > GeoConsult I/S
> > Denmark
> >
> > -----Oprindelig meddelelse-----
> > Fra: Daniel Morissette [mailto:morissette at dmsolutions.ca]
> > Sendt: 16. december 2003 23:53
> > Til: Denis Louvegnies
> > Cc: Hugo Nathaniel Rodrigues; mapserver-users at lists.gis.umn.edu
> > Emne: Re: [Mapserver-users] Empty screen with .tab file?
> >
> >
> > Denis Louvegnies wrote:
> > > Hi Daniel,
> > >
> > > Hugo and I have the same problem.
> > > For me even with the absolute path it still doesn't work.
> > >
> > > I wounder if any one could open a MapInfo file with
> > php_mapscript41.dll....
> > >
> >
> > Unfortunately I'm not setup to test on Windows so I can't help. Perhaps
> > you can file a bug with all the details and your data file and if/when
> > another developer on Windows has time to test this then they'll get back
> > to you.
> >
> > BTW, did you try loading the same file with another DLL for version 4.0
> > or 3.6?
> >
> > -- 
> > ------------------------------------------------------------
> >   Daniel Morissette               morissette at dmsolutions.ca
> >   DM Solutions Group              http://www.dmsolutions.ca/
> > ------------------------------------------------------------
> >
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> >
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list