Problem with Unique Values symbology for line layer.
Alex Smith
msestudiente2 at YAHOO.COM
Sat Jun 4 10:18:48 PDT 2005
Hello all,
Im not new to GIS, but am new to MS. Im having trouble with line symbology. Im trying to display each shapefile feature with different symbology based on a nominal field similar to unique values in Arc products. In ArcView, I specified a line thickness of 2 and then manually selected the color of each line. I then exported the map from ArcView 3.2 using gix-export (thanks gix-export developers!). Then Im trying to preview the map using the Maplab 2.2 preview map button. When I turn on the line layer, the lines do not display at all. All other layers (polygon, single symbol) are displaying as expected. Below is an excerpt from the .sym file. The name of the line layer is Reaches.
<Begin .sym excerpt>
SYMBOL
NAME 'Reaches--0--0'
FILLED true
TYPE ellipse
POINTS 1 1 END
END #SYMBOL
SYMBOL
NAME 'Reaches--1--0'
FILLED true
TYPE ellipse
POINTS 1 1 END
END #SYMBOL
<End .sym excerpt>
And below the portion of the .map file that defines the Reaches layer symbology. I removed the metadata portion that gix-export created.
<Begin .map excerpt>
LAYER
NAME "Reaches.shp"
# TILEINDEX ''
# TILEITEM ''
STATUS OFF
DATA "reaches.shp"
TYPE LINE
CLASSITEM "NUMCLASS"
UNITS DD
SIZEUNITS MILES
LABELCACHE ON
#METADATA
TOLERANCE 3
TOLERANCEUNITS PIXELS
TRANSFORM TRUE
#Reaches.shp
TRANSPARENCY 100
HEADER "header.html"
FOOTER "footer.html"
DEBUG true
CLASS
NAME "1"
EXPRESSION "1"
TEMPLATE "template.html"
#PEN
STYLE
SYMBOL "Reaches--0--0"
COLOR 37 59 55
SIZE 1
MINSIZE 1
MAXSIZE 100
END
#STYLE
END
#CLASS
CLASS
NAME "2"
EXPRESSION "2"
TEMPLATE "template.html"
#PEN
STYLE
SYMBOL "Reaches--1--0"
COLOR 255 215 0
SIZE 1
MINSIZE 1
MAXSIZE 100
END
#STYLE
END
#CLASS
<End .map excerpt>
I tried comparing all of the layer, class and style parameters/args with those of the roads layer in the MapLab tutorial.map file. I cant find anything that is different, with the exception of the use of the symbol file.
Any help that you can provide to this noob would be appreciated!
AZ
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050604/cd029f51/attachment.htm>
More information about the MapServer-users
mailing list