Batch Import MIF File Tool

185 views
Skip to first unread message

Simon Williams

unread,
Sep 29, 2016, 6:36:09 AM9/29/16
to MapInfo-L
Hi all,

Just a quick query regarding Batch import of MapInfo MIF files - I had a batch tool which worked for MapInfo 12 for a 32 bit system. However, I've since upgraded to MapInfo 15 (64 bit) to which the tool I have no longer works. So I'm curious as to whether someone has one developed and or some coding which may help going forward?

I'm still relatively new to the whole coding of .mbx files and so please forgive me if this is incredibly basic.

Thanks,

Simon

Peter Horsbøll Møller

unread,
Sep 29, 2016, 7:05:38 AM9/29/16
to mapi...@googlegroups.com

Why does the Batch Import tool not work?

Does it give you an error?

 

Peter Horsbøll Møller

Pitney Bowes

--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to
mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en

---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapinfo-l+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.




Message has been deleted

Simon Williams

unread,
Sep 29, 2016, 7:46:18 AM9/29/16
to MapInfo-L
Other recipients:
Hi Peter, Apologies on attempting to load the tool, the error message I get is that the tool is only supported on a 32bit system - and as a result doesn't load. Thanks, Simon On Thursday, September 29, 2016 at 12:05:38 PM UTC+1, Peter Horsbøll
Hi Peter,


Apologies on attempting to load the tool, the error message I get is that the tool is only supported on a 32bit system - and as a result doesn't load.

Thanks,

Simon



Peter Horsbøll Møller

unread,
Sep 29, 2016, 7:52:55 AM9/29/16
to mapi...@googlegroups.com

OK, either the developer does a check on the system before running the tool or it has some dependencies.

You don’t have the source code for the tool, do you?

 

Peter Horsbøll Møller

Pitney Bowes

 

--

--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to


To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en

---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapinfo-l+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Simon Williams

unread,
Sep 29, 2016, 8:38:20 AM9/29/16
to MapInfo-L

Ok.


Unfortunately no, otherwise I would have tried to decipher the problem myself.

Was wondering whether there was an alternative?

Thanks,

Simon

Peter Horsbøll Møller

unread,
Sep 29, 2016, 9:46:01 AM9/29/16
to mapi...@googlegroups.com

Hmm, most of convert tools on MapInfoTools.com seem to check for the bit version of MapInfo Pro.

 

This one here seems to work in 64 bit:

http://www.mapinfotools.com/index.php?option=com_sobi2&sobi2Task=sobi2Details&catid=5&sobi2Id=101&Itemid=72

 

But it requires a file with a list of files, see description

 

Peter Horsbøll Møller

Pitney Bowes

 

From: mapi...@googlegroups.com [mailto:mapi...@googlegroups.com] On Behalf Of Simon Williams
Sent: 29. september 2016 14:38
To: MapInfo-L <mapi...@googlegroups.com>
Subject: Re: [MI-L] Batch Import MIF File Tool

 

Ok.

--

--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to


To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en

---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapinfo-l+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Simon Williams

unread,
Sep 29, 2016, 10:32:13 AM9/29/16
to MapInfo-L
Ok, thanks I'll make sure to take a look.  

Sancarn

unread,
Oct 9, 2016, 12:29:19 PM10/9/16
to MapInfo-L


You can make something like this in Excel.

First go to cmd.exe and create a file list of all MIF files you want to import:
dir /b *.MIF > filelist.csv

Open it in Excel/GoogleSheets and then in cell B1 use the formula below:

="Import """ & A1 & """Type ""MIF"" 

Drag the formula down and copy all formulas. Paste them into MapBasic window and hit enter.

Or if you're into coding, make it a full routine :)

Ross Nixon

unread,
Oct 9, 2016, 5:11:48 PM10/9/16
to MapInfo-L
Hi Simon

If (and that is a big if...) you don't need to keep the resulting files separate, you could concatenate (join) all the MIF files into one.
The complication is when you have data to keep from MID files, but there is a way around that also.

Regards
Ross
Reply all
Reply to author
Forward
0 new messages