ok - got zoom to work - another question

Eric Bridger eric at GOMOOS.ORG
Wed Nov 24 12:29:56 EST 2004


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