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

Thomsen, Bo Victor BVT at sns.dk
Wed Dec 17 01:39:45 PST 2003


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



More information about the MapServer-users mailing list