Skip to content

# Serve `basemaps` using a collection of GeoTIFF files

This guide shows you how to configure and run the basemaps/server package using a collection of GeoTIFF files.

## Configure the `basemaps/server` package

The basemaps/server package requires a collection of GeoTIFF files from which it can serve the basemaps system.

Path

Make a note of the following path:

`IMAGERY_DIR`

The path to the root folder of your GeoTIFF file collection.

    $IMAGERY_DIR = {path_to_imagery_directory}

## Run the `basemaps/server` package

Path

The basemaps/server package provides a default function to serve the basemaps system. Note the following path:

`BM_SERVER_BUILD`

The path to the build folder of the basemaps/server package.

    $BM_SERVER_BUILD = $BM_REPO/packages/server/build

### Command

Use the following command to run the Basemaps system:

    node $BM_SERVER_BUILD/bin.js $IMAGERY_DIR