[ms4w-users] Cannot show 2 Point layers

Chathurika Sandarenu sandarenu at gmail.com
Tue Aug 7 08:35:05 EDT 2007


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> 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)
>
>
> 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
> _______________________________________________
> ms4w-users mailing list
> ms4w-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ms4w-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ms4w-users/attachments/20070807/1f6d5fc3/attachment.html


More information about the ms4w-users mailing list