# Path: cavedb/docgen_gis_common.py
# def get_bulletin_mapserver_mapfile(bulletin_id, map_name):
#     return '%s/%s.map' % (get_bulletin_gis_maps_directory(bulletin_id), map_name)


from django.conf import settings
from cavedb.docgen_gis_common import get_bulletin_mapserver_mapfile
import cavedb.docgen_common
import cavedb.docgen_gis_common
import cavedb.utils
    mapfile.write('    END\n')
    mapfile.write('    GRID\n')
    mapfile.write('      LABELFORMAT DDMMSS\n')
    mapfile.write('      MININTERVAL 0.125\n')
    mapfile.write('      MAXINTERVAL 0.125\n')
    mapfile.write('    END\n')
    mapfile.write('  END\n')
    mapfile.write('  LAYER\n')
    mapfile.write('    NAME "grid_small"\n')
    mapfile.write('    TYPE LINE\n')
    mapfile.write('    STATUS ON\n')
    mapfile.write('    CLASS\n')
    mapfile.write('      COLOR 112 128 144\n')
    mapfile.write('      MAXSCALE 60000\n')
    mapfile.write('      LABEL\n')
    mapfile.write('        TYPE TRUETYPE\n')
    mapfile.write('        FONT opensymbol\n')
    mapfile.write('        SIZE 12\n')
    mapfile.write('        POSITION AUTO\n')
    mapfile.write('        PARTIALS FALSE\n')
    mapfile.write('        BUFFER 50\n')
    mapfile.write('        MINDISTANCE 10000000\n')
    mapfile.write('        ANGLE AUTO\n')
    mapfile.write('        POSITION cr\n')
    mapfile.write('        COLOR 255 0 0\n')
    mapfile.write('        OUTLINECOLOR 255 255 255\n')
    mapfile.write('        OUTLINEWIDTH 3\n')
    mapfile.write('      END\n')
    mapfile.write('    END\n')
    mapfile.write('    GRID\n')

# Path: cavedb/docgen_gis_common.py
# def get_bulletin_mapserver_mapfile(bulletin_id, map_name):
#     return '%s/%s.map' % (get_bulletin_gis_maps_directory(bulletin_id), map_name)


# Path: cavedb/docgen_mapserver_mapfile.py
from django.conf import settings
from cavedb.docgen_gis_common import get_bulletin_mapserver_mapfile
import cavedb.docgen_common
import cavedb.docgen_gis_common
import cavedb.utils

    mapfile.write('    END\n')
    mapfile.write('    GRID\n')
    mapfile.write('      LABELFORMAT DDMMSS\n')
    mapfile.write('      MININTERVAL 0.125\n')
    mapfile.write('      MAXINTERVAL 0.125\n')
    mapfile.write('    END\n')
    mapfile.write('  END\n')
    mapfile.write('  LAYER\n')
    mapfile.write('    NAME "grid_small"\n')
    mapfile.write('    TYPE LINE\n')
    mapfile.write('    STATUS ON\n')
    mapfile.write('    CLASS\n')
    mapfile.write('      COLOR 112 128 144\n')
    mapfile.write('      MAXSCALE 60000\n')
    mapfile.write('      LABEL\n')
    mapfile.write('        TYPE TRUETYPE\n')
    mapfile.write('        FONT opensymbol\n')
    mapfile.write('        SIZE 12\n')
    mapfile.write('        POSITION AUTO\n')
    mapfile.write('        PARTIALS FALSE\n')
    mapfile.write('        BUFFER 50\n')
    mapfile.write('        MINDISTANCE 10000000\n')
    mapfile.write('        ANGLE AUTO\n')
    mapfile.write('        POSITION cr\n')
    mapfile.write('        COLOR 255 0 0\n')
    mapfile.write('        OUTLINECOLOR 255 255 255\n')
    mapfile.write('        OUTLINEWIDTH 3\n')
    mapfile.write('      END\n')
    mapfile.write('    END\n')
    mapfile.write('    GRID\n')

    mapfile.write('      LABELFORMAT DDMMSS\n')