Stephen Cheesman wrote:
> Hello Frank
>
>
>
> I managed to fix the crash due to the memory not being NULLED when an
> import error occurred (and an attempt was made subsequently to free the
> same memory a second time).
...
Stephen,
Cool, thanks for the fixes! I checked them, applied them in CVS and verified
they corrected the problem. No more crash in TABFile::Open().
> Finally, the file still does not import… what is the problem, is it just
> some unsupported feature?
The .TAB file is of "TYPE SHAPEFILE" (look in the .tab file to see this).
This means the tab file is just referring to an external file that is in
shapefile format. In this case it seems you only sent the .dbf part of
the shapefile set ... perhaps that is all there is. Anyways, MITAB only
support "Type NATIVE" as far as I know. Support for non-mapinfo formats
is out of scope.
I am cc:ing the mitab mailing list in case anyone else has any observations to
make on this.
For the list, the .TAB file containes (hopefully nothing sensitive):
!table
!version 700
!charset WindowsLatin1
Definition Table
Type SHAPEFILE Charset "WindowsLatin1"
Fields 4
Id Char (10) ;
Easting Char (10) ;
E Float ;
N Float ;
begin_metadata
"\IsReadOnly" = "FALSE"
"\Shapefile" = ""
"\Shapefile\PersistentCache" = "FALSE"
"\Spatial Reference" = ""
"\Spatial Reference\Geographic" = ""
"\Spatial Reference\Geographic\Projection" = ""
"\Spatial Reference\Geographic\Projection\Clause" = "CoordSys Earth Projection 8, 104,
""m"", 27, 0, 0.9996, 500000,
10000000 Bounds (-7745844.29597, 2035.05676326) (8745844.29597, 19997964.9432)"
"\DefaultStyles" = ""
"\DefaultStyles\LinePen" = ""
"\DefaultStyles\LinePen\LineWidth" = "1"
"\DefaultStyles\LinePen\LineStyle" = "0"
"\DefaultStyles\LinePen\Color" = "0"
"\DefaultStyles\LinePen\Pattern" = "2"
end_metadata
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/