... Marc, The code that handles the spatial filtering lives in TABMAPFile::LoadNextMatchingObjectBlock() in mitab_mapfile.cpp. I had a quick look at the code...
... Since we do not have an organized way to share sample code, I guess the best place to start would be to send your samples to the list and they'll...
Daniel, Thanks for persevering with this. Its definitely usable as is, but I will look forward to the update! cheers Marc ... objects ... may be ... the...
Hello, I have just a question about mapinfo and mitab C++ API. I understand that all fields are common for all features. But you have to obtain a feature...
... If what you need is the OGRFeatureDefn for a given file (the definition of the fields and their types) then you should be able to get that using ...
... definition ... using ... yup, this is what I was looking for. But I still don't understand why you can find theses informations in each features. Regards, ...
... Use the source, Luke .... errr... I mean... have a look at mitab_capi.cpp and look for the mitab_c_create() function... there lies the answer. Daniel -- ...
... The Features carry a reference to the OGRFeatureDefn so that they can be used standalone without the IMapInfoFile handle. I don't understand why you see...
You also need to write each feature and then destroy the feature object to free up memory. So, your sequence is correct except for the 4th step. I've corrected...
Hello! I'm having a bit of troubble with TABFC_FontPoint objects. When looking at the MIF File I can read for instance: Point 106923.938 116015.948 Symbol...
These problems have been fixed in a version of mitab_capi.cpp I submitted in about 2006, but unfortunately it has not made it into the release version...
Hello! Thank you for your reply, that really helped me a bit in the right direction. No I only have the fontstyle part left. Transforming a row like this...
Yes, to get the point and text styles you need to add these declarations to mitab_capi.h: int MITAB_STDCALL mitab_c_get_symbol_style( mitab_feature...
Hi, is there any way to use a spatial query or any other kind of query (like A='12') with the C or C++ API? I was wondering how i could do this. /Manfred ...
I am very new to using mitab and have been looking for a way to get the extents of a MapInfo dataset. I couldn't find any reference to that call in the class...
I downloaded a sample map of the Halton Region Municipality, Ontario from StreetPro Canada. The demo is a MapInfo Professional workspace. Then I tried using...
... This error would usually suggest that the file is either not found or in a variant of the TAB format that the MITAB library does not support, but I just...
As it turns out I do have version 1.70. So to make things error-proof I copied TAB2TAB.exe into the same directory as the TAB files and sure enough it worked....
when converting a MIF file to TAB via TAB2TAB.exe,it seem to be have some bugs for a polyline feature for example, a polyline define as follow in a Mif file " ...
Try to convert back to MIF and see if it is still the same. Also, check your bounds clause in the original MIF file. Does any of the coordinates gets truncated...
Hi, I've created a table from xls file. The table contains 100 lines. After all these operations i can read it from mitab. Then i went to table structure and...
Hello! I'm writing a software to convert a file from one coordinate system to another. I do this by reading the different objects from the file with the...