Question

I am working on an application (.net 2.0) that uses mif/mid data format to display GIS data. I need to find a way to edit these files with some sort of editor (outside of application). I googled a lot but was unable to find anything suitable (Map Maker worked but did not display labels from mid file). I see following solutions (in order of preference):

  1. Find some editor that will allow to edit mif/mid format correctly. Which one?
  2. Find some editor that will allow to edit some other format and have conversion utilities to convert to this format and back to mif/mid. Which one?
  3. Find some editor that will allow to edit some other format and have conversion utilities to convert once to this format. In this case I'll have to write my own parser. I do not like this idea :).

Free editors are preferred.

Thank you!

UPD 1 I forgot to mention that I need to load Unicode mid files or at least specify the codepage. That's why, for example, OpenJump's plugin does not work (I guess)

UPD 2 This seems to be a real trouble. Most tools either do not do mif at all or do it in read-only mode. Anyone with real experience with MIF read-write?

UPD 3 In this update I'll keep track of all my attempts to solve this issue:

  1. OpenJump - plugin failed to load non-ascii code. Unicode load failed

  2. QGIS - succedeed loading MIF file, but failed to save it - unable to save feature. I'm not sure, but it looks like it does not support write mode for MIF's. I've tried to save selection as shape file. Later I was unable to convert it with OGR layer converter - failed with access violation.

  3. MapInfo Professional 10 failed to load my MIF file with access violation.
  4. GV sig does not support MIF format.
  5. UDIG does not support MIF format.
  6. WinGrass did not start on my PC.

tbc...

Was it helpful?

Solution

Free conversion tool: OGR (also see Mitab)

Free GIS Editors (that can read MID/MIF): Quantum GIS, OpenJump, others*

Commercial GIS Editors: Lots*. (Note: MID/MIF is a Mapinfo format).

* See GIS software for a good list.

Can provide more detail if this does not point you in the right direction.

OTHER TIPS

Quantum GIS, OpenJump, uDig or GRASS should do what you want. However, you should be aware that all these editors will most likely use OGR as the data abstraction library for that file format. Therefore, they have the limitations of that OGR driver.

From the driver documentation:

MapInfo datasets in native (TAB) format and in interchange (MIF/MID) format are supported for reading and writing. Update of existing files is not currently supported.

That is probably what you are running into. Try QGIS again and be mindful of this.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow