[Mapserver-users] Re: Help please with Query problem

1wilkerson at charter.net 1wilkerson at charter.net
Wed Jun 16 13:30:01 EDT 2004


I am still missing something obvious.

I tried implementing the solution Steve Woodbridge suggested but I encountered a problem.

If I create two different layers based on the same SHP file, how can it make sure the results don't overlap with one another?  I would need to filter both SHP files based on the contents of two fields -- DATA_CODE and OCCUPATION

So... 

Layer1 would be filtered on
DATA_CODE = RES and OCCUPATION = plumbers

Layer2 would be filtered on 
DATA_CODE = COM and OCCUPATION = plumbers

How do I express that within PHP/Mapscript?  

The full code I am using is at:
http://lists.gis.umn.edu/pipermail/mapserver-users/2004-June/013954.html

All help greatly appreciated!!

Peter



> 
> From: Stephen Woodbridge <woodbri at swoodbridge.com>
> Date: 2004/06/16 Wed PM 12:12:49 EDT
> To: 1wilkerson at charter.net
> CC: Mapserver-users at lists.gis.umn.edu
> Subject: Re: [Mapserver-users] Help please with Query problem
> 
> Peter,
> 
> I think you can do this by creating two layers using the same data file 
> and setting the class up to select "RES" and style it one way and then 
> to select "COM" in the other layer and style it a different way.
> 
> I do this with street data so I can label the streets with text names 
> and also place route badges on the same streets. You have to do it with 
> two layers because want to put two different stylings on the same 
> object. Have two layers means you take two passes over the data once in 
> each layer.
> 
> -Steve W.
> 
> 1wilkerson at charter.net wrote:
> 
> > Hi!
> > 
> > I am still very much new to Mapserver and need help.  Would somebody check my earlier message requesting help?  I really could use some input.  The message URL is:
> > 
> > http://lists.gis.umn.edu/pipermail/mapserver-users/2004-June/013954.html
> 
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 




More information about the mapserver-users mailing list