MapInfo MIF Format
Read MapInfo Interchange Format (MIF/MID) vector features via Fiona as GeoJSON-like Feature dicts.
Overview
| Property | Value |
|---|---|
| Format id | mif |
| Class | MapInfoIterable |
| Extensions | .mif (companion .mid handled by the driver) |
| Read | Yes |
| Write | No |
| Extra | geospatial (fiona) |
| Maturity | experimental |
Record shape
{
"type": "Feature",
"id": "...",
"properties": {...},
"geometry": {"type": "Polygon", "coordinates": [...]},
}
Requires a filename (not a stream). Uses Fiona's MapInfo File driver with streaming feature iteration.
Usage
from iterable import open_iterable
with open_iterable("parcels.mif", format="mif") as source:
for feature in source:
print(feature["id"], feature["geometry"]["type"], feature["properties"])
Install with pip install iterabledata[geospatial].
See also
- Shapefile — ESRI shapefiles
- File Geodatabase — ESRI FileGDB
- GeoPackage — OGC GeoPackage
- Supported formats