[Mapserver-users] on the fly layer painting / theme selection

Eric Bridger eric at gomoos.org
Fri Aug 29 06:45:44 PDT 2003


You can set the color for a layer.  Here's a link on how to do it using
CGI mapserver 3.6
http://mapserver.gis.umn.edu/doc36/cgi-reference.html#mapfile

I'm sure that this has changed in 4.0, with the new STYLE object. 
 
Also, with "many, many layers" using CGI to manipulate many of them at
once results in large query strings, so you might consider a mapscript
approach.

On Thu, 2003-08-28 at 20:48, Jerrad Pierce wrote:
> Hello, I have a question and was unable to find an answer in the archives,
> OGR tutorial or wiki. I'm working on map that will have many many layers
> and themes each representing a different attribute. I wish to allow the user
> to select how many and whichever sources they want. The problem is, it seems
> nearly impossible to come up with an adequate color/theme system to allow for
> this, particularly since many objects will be reperesented in multiple layers
> and themes. So I thought I'd let the user define the color of each layer on
> the fly as well (I'll try to provide a smart default but allow them to
> override it if necessary for clarity). However, there doesn't seem to be
> anyway to do this, it looks like the colors have to be hardcoded in the MAP
> file? Did I overlook anything, is this possible?
> 
> TIA JP
> -- 
> H4sICNoBwDoAA3NpZwA9jbsNwDAIRHumuC4NklvXTOD0KSJEnwU8fHz4Q8M9i3sGzkS7BBrm
> OkCTwsycb4S3DloZuMIYeXpLFqw5LaMhXC2ymhreVXNWMw9YGuAYdfmAbwomoPSyFJuFn2x8
> Opr8bBBidccAAAA=
> --
> MOTD on Setting Orange, the 21st of Bureaucracy, in the YOLD 3169:
> Tomorrow isn't looking good either.
> _______________________________________________
> 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