[ms4w-users] Cannot show 2 Point layers

Jeff McKenna jmckenna at dmsolutions.ca
Tue Aug 7 08:41:24 EDT 2007


ah I think you have one too many END parameters for the "CarParks" layer.


Chathurika Sandarenu wrote:
> I tryed those parameters, but still only one layer is showing that is 
> "CarParks" layer. If I interchange the definitions then only the 
> "location" layer shows.
> I opend both layer in QGIS, they are shown without any problem. :(
> 
> On 8/7/07, *Jeff McKenna* <jmckenna at dmsolutions.ca 
> <mailto:jmckenna at dmsolutions.ca>> wrote:
> 
>     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 <http://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
> 
> 



More information about the ms4w-users mailing list