Overview

HTTPS SSH

gemf.nim

A simple library for reading GEMF files in Nim.

For more information, please see the GEMF specification.

Usage

import gemf

var gfile = gemf.loadGemfFile("map-data.gemf")

var outfile = "tile"
assert gfile.writeTileData(x=90,y=50,z=7,outfile)
echo "Written tile data to ", outfile