No subject


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.

Thanks again.

#Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql) print @c=map chr
$_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,-68,4,-3,-1,7,1,14,-
68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);

-----Original Message-----
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
having
> 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 =>
OOOOO or
O
O
O
O
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
the polygon.

Since you are using mapscript I'm sure it is solvable.

Eric



More information about the mapserver-users mailing list