[ms4w-users] Cannot show 2 Point layers
Jeff McKenna
jmckenna at dmsolutions.ca
Mon Aug 6 15:03:48 EDT 2007
I'm not sure why that is happening. Here's what I'd try:
- remove the transparency parameters
- set SIZE within the STYLE object
- add FORCE TRUE to both label objects temporarily (to see if the labels
for both appear)
- open both shapefiles in a GIS viewer to see what they look like (use
qgis.org)
sandarenu wrote:
> Hi all,
> I'm fairly new to the ms4w and I'm using ms4w Csharp map script.
> I have created 2 Point layers Location and CarParks in my map file. But ms4w
> doesn't show 2 layers together. It display which ever the layer comes first.
> Can anybody show me how to show both Point layers together.
> Here is the part of my Map file.
>
> LAYER
> NAME "CarParks"
> TYPE POINT
> STATUS ON
> DATA "CarParks"
> TRANSPARENCY 100
> LABELITEM "ParkName"
> CLASS
> SIZE 10
> STYLE
> COLOR 255 0 0
> OUTLINECOLOR 0 0 0
> SYMBOL "car_park"
> END
> TEXT ([ParkName])
> LABEL
> COLOR 255 0 0
> FONT verdana-bold
> TYPE TRUETYPE
> SIZE 10
> POSITION LC
> WRAP " "
> END
> END
> END
> END
>
> LAYER
> NAME "location"
> TYPE POINT
> STATUS ON
> DATA "location"
> LABELITEM "Name"
> TRANSPARENCY 100
> CLASS
> SIZE 10
> STYLE
> COLOR 255 0 0
> OUTLINECOLOR 0 0 0
> SYMBOL "circle"
> END
> TEXT ([Name])
> LABEL
> COLOR 255 0 0
> FONT verdana-bold
> TYPE TRUETYPE
> SIZE 10
> POSITION LC
> WRAP " "
> END
> END
> END
> END
>
> My map only show the points in the CarParks layer only. If I interchange 2
> layers it shows location layer. Can anybody help me on this.
> Thank you.
>
> Regards,
> Sandarenu
--
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca
More information about the ms4w-users
mailing list