MapReader
  • Introduction to MapReader
  • Getting Started
  • Using MapReader
    • Input Guidance
      • File/Map Options
      • Accessing maps via TileServers
      • Preparing your metadata
      • Recommended directory structure
    • Step-by-step Guide to Using MapReader
  • In-Depth Resources
  • Community and contributions
MapReader
  • Using MapReader
  • Input Guidance
  • Recommended directory structure
  • View page source

Recommended directory structure

If you are using non-georeferenced image files (e.g. PNG files) plus a separate metadata file, we recommend setting these up in the following directory structure:

project
├──your_notebook.ipynb
└──maps
    ├── map1.png
    ├── map2.png
    ├── map3.png
    ├── ...
    └── metadata.csv

This is the directory structure created by default when downloading maps using MapReader’s Download subpackage.

Alternatively, if you are using geo-referenced image files (eg. geoTIFF files), your will not need a metadata file, and so your files can be set up as follows:

project
├──your_notebook.ipynb
└──maps
    ├── map1.tif
    ├── map2.tif
    ├── map3.tif
    └── ...

Note

Your map images should be stored in a flat directory. They cannot be nested (e.g. if you have states within a nation, or some other hierarchy or division).

Note

Additionally, map images should be available locally or you should set up access via cloud storage. If you are working with a very large corpus of maps, you should consider running MapReader in a Virtual Machine with adequate storage.

Previous Next

© Copyright 2023, RW.

Built with Sphinx using a theme provided by Read the Docs.