try putting your layer name in quotes

*              LAYER
                     NAME '2013_PXD_Wells*'

Best Regards,
Brent Fraser

On 12/7/2012 4:14 PM, Lin, Joyce wrote:

Hello,

Can somepone help me or explain me the error please:

getString(): Symbol definition error. Parsing error near (2013):(line 38)

/_and my mapfile is below _/

MAP

   CONFIG "MS_ERRORFILE" "/ms4w/tmp/ms_tmp/ms_error_well.txt"

   DEBUG 5

       NAME '2013_PXD_Wells'

       SIZE 800 650

       STATUS ON

       EXTENT 2016274.741485 176555.010138 2688771.295454 620600.467750

       UNITS FEET

       INCLUDE "/ms4w/apps/geomoose2/maps/geomoose_globals.map"

WEB

METADATA

'ows_title' '2013 Pioneer Drilling Program'

'ows_srs' 'EPSG:4267 EPSG:4326 EPSG:900913 EPSG:3857'

'ows_enable_request' '*'

'ows_onlineresource' 'http://www.pxd.com'

END

END

PROJECTION

'init=epsg:3857'

END

LEGEND

  STATUS ON

  LABEL

TYPE TRUETYPE

FONT vera_sans

SIZE 8

COLOR 0 0 0

  END

END

LAYER

NAME 2013_PXD_Wells

DATA './2013_PXD_Wells.shp'

STATUS ON

TYPE LINE

LABELITEM 'Well_Name'

LABELCACHE ON

LABELMAXSCALE 20000

PROJECTION

 'init=epsg:32040'

END

CLASS

NAME '2013_PXD_Wells'

STYLE

#      WIDTH 1

COLOR 0 0 0

#      MAXSCALEDENOM 50000

END

#STYLE

#      SIZE 1

#      COLOR -1 -1 -1

#      OUTLINECOLOR 255 204 153

#END

LABEL

TYPE TRUETYPE

FONT vera_sans

SIZE 8

ANGLE FOLLOW

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 Lease" functionality.

'itemquery'   'templates/search_result.html'

'itemquery-filter'   '/.*[qstring].*/i'

'qstring_validation_pattern' '.'

# Feature reports are stored in the conf/feature_report directory.

'feature_report' 'Lease.xml'

               'select_record' 'templates/select_result.html'

'select_header' 'templates/select_header.html'

'popups' 'Welle_popup.html'

END

  END

END ## end Map



------------------------------------------------------------------------
Statement of Confidentiality:
This message may contain information that is privileged or confidential. If you receive this transmission in error, please notify the sender by reply e-mail and delete the message and any attachments.


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to