How to change mif / mid gis data format?

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

  • Find an editor that allows you to edit mif / mid format correctly. Which one?
  • Find an editor that will allow you to edit some other format , and you have conversion utilities to convert to this format and back to mif / mid. Which one?
  • Find an editor that allows you to edit any other format , and conversion utilities - convert it once to this format . In this case, I will have to write my own parser. I do not like this idea :).

Free editors are preferred.

Thanks!

UPD 1 I forgot to mention that I need to load medium Unicode files or at least specify a code page. This is why, for example, the OpenJump plugin does not work (I think)

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

UPD 3 In this update, I will track all my attempts to solve this problem:

  • OpenJump - the plugin could not load non-ascii code. Unicode loading failed

  • QGIS - the downloaded MIF file, but could not save it - the function could not be saved. I am not sure, but it does not seem to support the recording mode for MIF. I tried to save the selection as a form file. Later, I could not convert it with an OGR level converter - failed with access violation.

  • MapInfo Professional 10 could not load the MIF file with access violation.
  • GV sig does not support MIF format.
  • UDIG does not support the MIF format.
  • WinGrass did not start on my PC.

TBC ...

+4
source share
2 answers

Free Conversion Tool: OGR (also see Mitab )

Free GIS editors (who can read MID / MIF): Quantum GIS , OpenJump , others *

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

* See GIS software for a good list.

May provide more detailed information if this does not point you in the right direction.

+3
source

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

From the driver documentation:

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

This is probably what you are facing. Try QGIS again and keep that in mind.

+1
source

Source: https://habr.com/ru/post/1286737/


All Articles