Ned Harding wrote: > > > We recently upgraded to the latest version of MiTab (via GDAL) and it > broke Multi_Polyline output for TAB files. I have traced it to a recent > change in MiTab_Feature.cpp about line 2100. Previously it did not > check the m_nMapInfoType and now it does, but it appears to check for > the wrong types. The assert 10 lines down seems to confirm this because > it could never be true if the if statement coming in to this block. > Change the if block to test for the condition in the assert seems to fix > the problem. See the diff below (revision #'s are our SVN). >
This issue was reported in bug 1466 by Uffe K. and I verified that your patch fixes it with his test dataset. Thanks guys! I have applied the patch in CVS and should probably package a new release soon with at least this and the #idfef MITAB_AFFINE_PARAMS fix. Both issues were introduced in 1.5.0. http://bugzilla.maptools.org/show_bug.cgi?id=1466 Daniel -- Daniel Morissette http://www.mapgears.com/ ------------------------ Yahoo! Groups Sponsor --------------------~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/dkFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/mitab/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
