[mapserver-users] did something change in reading in empty TAB files?

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Wed Jul 9 12:14:24 EDT 2008


Hi list,

at least starting Mapserver 4.10 (GDAL 1.3.2) there seems to be a 
problem with reading empty MapInfo TAB files, whereas in the past (4.6 
for sure) this used to work. Is this issue known to someone?

The error I get is:

09-Jul-2008 18:08:23] PHP Warning:  [MapServer Error]: 
msOGRFileNextShape(): InitBlockFromData(): Invalid Block Type: got 0 
expected 2
 in 
D:\ms4w\apps\stragisweb\htdocs\common\chameleon\htdocs\common\wrapper\drawmap.php 
on line 533

An example TAB file can be found here:
www.osgis.nl/download/mapserver/gemgrens.zip

Best regards,
Bart

-- 
Bart van den Eijnden
OSGIS, Open Source GIS
bartvde at osgis.nl
http://www.osgis.nl



More information about the mapserver-users mailing list