<?php

/*
 * This file controls the basic settings for the GeoMOOSE PHP Services
 *
 * Any of these settings can be over-ridden in the specific script.
 */

$TEMP_DIRECTORY = '/tmp/www/';
$TEMP_WEB = '/wwwtmp/';

# Do not forget the trailing "/"!
$PARENT_DIRECTORY = '/var/www/geomoose/moose-trunk/maps_countydemo/';

# This is used as a template by the buffer selection script
$DRAWING_MAP = './resources/draw.map';

$DEFAULT_DELIM = ':';
$DEFAULT_OUTPUT = 'html';	# This should be the default, some scripts provide XML, CSV, and PDF, but they all have HTML modes

# Printing Options
$PRINT_SHOW_IMAGE_LINK = false;

/*** Needed for PDF Printing... the location of FPDF ***/
$FPDF_LOCATION = './fpdf/';

/*** Configuration for Mailing Labels ***/
$PARCELS_MAP = '/ms4w/apps/GeoMOOSE/maps_countydemo/select.map';
$PARCELS_LAYER = 'Parcels';


$COLLAPSE_LINES = 1;		# If lines are blank, collapse them

# This array stores the field names and format for how the lines of the label
# should be formed.  If a line is blank, and COLLAPSE_LINES = 1 then the line 
# will be "folded".  This way apartment/building names could be placed in a 2nd
# line without effecting labels that would not have such information.
$LABEL_LINES = array();
$LABEL_LINES[0] = '[OWNER_NAME]';
$LABEL_LINES[1] = '[BLDG_NUM] [STREETNAME] [SUFFIX_DIR] [STREETTYPE]';
$LABEL_LINES[2] = '[CITY], MN [ZIP]';

# These settings only apply to the PDF Output
$LABEL_ORIGIN_X = .25;		# Start X-point of the Labels on a Page
$LABEL_ORIGIN_Y = .5;		# Start Y-point of the Label on a Page
$LABEL_WIDTH = 2.5;		# Width of a Label
$LABEL_HEIGHT = 1;		# Height of a Label
$LABEL_ROWS = 10;		# Number of Rows per page.
$LABEL_COLUMNS = 3;		# Numbre of Columns per page.

$LABEL_FONT = 'Arial';		# Font Face
$LABEL_FONT_SIZE = 8;		# Base Font Size (Is changed by LABELS_AUTOFIT_WIDTH)
$LABELS_AUTOFIT_WIDTH = false;	# When true, the fontsize will be reduced to fit
				# the label line inside of the label.

/* Zoom To Error Page */
$ZOOMTO_EMPTY_PAGE = 'xxx.html';


?>
