[Chameleon] Layer Question

David Bradshaw dbradshaw at olver.com
Thu Jun 24 13:59:05 EDT 2004


Dear group:

The only layer that shows up is the "virginia_nad83_va_south_feet"
layer.  What am I doing wrong?

#
# Start of map file
#
# Sample map file for a chameleon app.
#
NAME DEMO
STATUS ON
SIZE 400 300
SYMBOLSET ../etc/symbols.sym
EXTENT 9900000 3214000 12500000 4600000 
UNITS METERS
SHAPEPATH "../data"
IMAGECOLOR 255 255 255
FONTSET ../etc/fonts.txt


#
# Start of web interface definition
#
WEB
  MINSCALE 2000000
  MAXSCALE 50000000
#
# On Windows systems, /tmp and /tmp/ms_tmp/ should be created at the
root 
# of the drive where the .MAP file resides.
#
  IMAGEPATH "/ms4w/tmp/ms_tmp/" 
  IMAGEURL "/ms_tmp/"
#  LOG "/tmp/gmap.log"
  METADATA
  END
END

#
# Start of scalebar
#
SCALEBAR
  IMAGECOLOR 255 255 255
  LABEL
    COLOR 0 0 0 
    SIZE SMALL
  END
  SIZE 150 5
  COLOR 255 255 255
  BACKGROUNDCOLOR 0 0 0
  OUTLINECOLOR 0 0 0
  UNITS kilometers
  INTERVALS 5
  STATUS ON
END


QUERYMAP
  STYLE HILITE
  COLOR 255 0 0
END

PROJECTION
    "init=epsg:42304"
END

#
# Start of layer definitions
#

LAYER
  NAME roads
  METADATA
    "DESCRIPTION" "Roads"
  END
  TYPE LINE
  STATUS ON
  DATA roads
  CLASS
    NAME "Roads"
    COLOR 120 120 120
  END
END # layer


LAYER
  NAME CITIES
  METADATA
    "DESCRIPTION"   "Cities"
    "RESULT_FIELDS" "city_name"
  END
  TYPE POINT
  STATUS ON
  DATA CITIES
  LabelItem "city_name"  
  CLASSITEM "city_name" 
  CLASS
    EXPRESSION "1"  
    TEMPLATE "ttt_query.html"
    SYMBOL 2
    SIZE 18

    NAME "Cities"
    LABEL
      COLOR  255 0 0
      FONT fritqat-italic
      TYPE truetype
      SIZE 200
      POSITION AUTO			
      PARTIALS FALSE
      OUTLINECOLOR 255 255 255			
    END 
    COLOR 255 255 255
  END
  CLASS
    EXPRESSION /2|3/
    TEMPLATE "ttt_query.html"
    SYMBOL 7
    SIZE 6
    NAME "Cities"
    LABEL
     COLOR  0 0 0
     FONT fritqat
     TYPE truetype
     SIZE 8
     POSITION AUTO			
     PARTIALS FALSE
     OUTLINECOLOR 255 255 255			
    END 
    COLOR 0 0 0
  END
  TOLERANCE 5
END # Layer

LAYER
  NAME virginia_nad83_va_south_feet
  METADATA
    "DESCRIPTION" "States"
  END
  TYPE POLYGON
  STATUS ON
  DATA virginia_nad83_va_south_feet
  CLASS
    NAME "Virignia"
    COLOR 240 240 240
    OUTLINECOLOR 199 199 199
  END
END # layer

END # Map File

Any help would be appreciated - you all can tell that I am new at this!!

Regards,

David

This document, including attachments, is confidential and may be privileged. If you are not an intended recipient, please notify the sender, then delete and destroy the original message and all copies. You should not copy, forward and/or disclose this message, in whole or in part, without permission of the sender. If you receive this e-mail message in error, please notify us immediately. Thank you.






More information about the Chameleon mailing list