[Geomoose-users] mapfile troubles
Mark Volz
MarkVolz at co.lyon.mn.us
Thu Sep 27 06:12:50 PDT 2012
Jon,
If the problem is with the mapfile you can turn debugging on for mapserver.
MAP
CONFIG "MS_ERRORFILE" "/ms4w/tmp/ms_tmp/ms_error.txt"
DEBUG 5
NAME 'citylimits'
...
Mark Volz
GIS Specialist
From: geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Lee, Jon
Sent: Wednesday, September 26, 2012 6:42 PM
To: geomoose-users at lists.osgeo.org
Subject: [Geomoose-users] mapfile troubles
Hi,
I'm a complete newbie to Geomoose 2.6, and for the life of me, I cannot get the mapfile for a certain layer to produce an image. I keep getting a pink screen of death for that layer alone. I can direct the catalog to the proper coordinates, set up tools, but for some reason my mapfile is dead in the water. I'm enclosing it below. If anyone would care to share some insight, I would be much obliged.
MAP
NAME 'citylimits'
SIZE 800 650
STATUS ON
EXTENT 7489144.302084 268236.183572 7904894.867319 465996.382924
UNITS METERS
INCLUDE "../../geomoose_globals.map"
WEB
METADATA
'ows_title' 'Citylimits Maps'
'ows_srs' 'EPSG:26915 EPSG:4326 EPSG:900913 EPSG:3857'
'ows_enable_request' '*'
'ows_onlineresource' 'http://www.geomoose.org'
END
END
PROJECTION
'init=epsg:26915'
END
LEGEND
STATUS ON
LABEL
TYPE TRUETYPE
FONT vera_sans
SIZE 8
COLOR 0 0 0
END
END
LAYER
NAME citylimits
DATA './citylimits.shp'
STATUS ON
TYPE POLYGON
LABELITEM 'PIN'
LABELCACHE ON
LABELMAXSCALE 20000
FILTER ([PARC_CODE] == 1)
CLASS
NAME 'citylimits'
STYLE
WIDTH 3
COLOR -1 -1 -1
OUTLINECOLOR 93 181 53
MAXSCALEDENOM 15000
END
STYLE
SIZE 1
COLOR -1 -1 -1
OUTLINECOLOR 33 106 43
END
LABEL
TYPE TRUETYPE
FONT vera_sans
SIZE 8
ANTIALIAS TRUE
COLOR 0 0 0
OUTLINECOLOR 254 254 200
BUFFER 4
MINFEATURESIZE auto
PARTIALS FALSE
POSITION cc
END
END
METADATA
# drill-down identify service record.
'identify_record' 'templates/identify.html'
# query.php / "Search Parcels" functionality.
'itemquery' 'templates/search_result.html'
'itemquery-filter' '/.*[qstring].*/i'
'qstring_validation_pattern' '.'
'select_record' 'templates/select_result.html'
'select_header' 'templates/select_header.html'
'popups' 'citylimits_popup.html'
END
TOLERANCE 0
END
END ## end Map
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20120927/0cdc46ed/attachment-0001.html>
More information about the Geomoose-users
mailing list