Fri Feb 8 15:06:04 EST 2008
might be a better show if I could just put a label of the number of teachers
that would appear within the polygon when the user zooms into it.
The min/max scale thing is still a point of contention - especially when the
phrase "trial and error" is used. With what number to I start? With what
number to I finish? So that I might get something within the trial and error
boundaries at least to make some change.
#Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql) print @c=map chr
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at lists.umn.edu]On
Behalf Of Eric Bridger
Sent: Wednesday, November 24, 2004 9:30 AM
To: MAPSERVER-USERS at lists.umn.edu
Subject: Re: [UMN_MAPSERVER-USERS] ok - got zoom to work - another question
On Wed, 2004-11-24 at 11:53, Joseph Norris wrote:
> 3) When user zooms into a colored polygon - I would like to put an ellipse
> for each teacher in that polygon - This I have not achieved and I am
> no end of problems trying to achieve
This is still not clear to me. Sounds like the only shape files you have
are zip code polygons. But an ellipse is a point.
To put an ellipse (POINT) on the map you will need coordinates for each
teacher. Doesn't sound to me like you have that data.
There could be a number of ways to handle this. Pick some lat/lon within
the polygon as a starting point, then increment the longitude or the
CLASS OFFSET property for each succeeding point =>
Drawing the points after the polygons or putting your point layer after
your polygon layer in the map file means the ellipses will appear over
Since you are using mapscript I'm sure it is solvable.
More information about the mapserver-users