Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have TAB file with LOADS of points. Each point as a unique ID and group assigned to it (ranging from 1-154). I'm wondering if there is an easy way to split this up into a TAB file for each group, rather than having to query each one and Save Copy As.

Thanks, Alan

share|improve this question
I've sped up the process a bit using the MapBasic window: select * from Gullys where Group = "Group0020" into Group0020 Commit Table Group0020 As "xxxxxxxxxxxx\Grouped\Gully_Group0020.TAB" TYPE NATIVE Charset "WindowsLatin1" Interactive And replacing the group number every time. –  Alan Carr Mar 14 '13 at 11:30
Ok, I've further quickened it by creating all the lines of code in excel first, I initially hit a problem where I had to run the query before the saving (hit enter on each line). I then combined all code on to one line and it worked! –  Alan Carr Mar 14 '13 at 13:56
Just a note: you can select multiple lines in the MapBasic window and then hit the Enter key. In that way all the selected text will get executed –  Peter Horsbøll Møller Feb 9 '14 at 16:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.