ok - got zoom to work - another question
Joseph Norris
sirronj at PACBELL.NET
Wed Nov 24 10:13:51 PST 2004
David,
Thank you for your insight into my scenario. You have perceived correctly
on what I am trying to do. I agree with your point about dot-density maps.
This scenario is only meant to be a "dog-and-pony" show and so the dots
would have no real earth relevance other than to say - wow within this zip
polygon there are 5 teachers, 6 teachers, etc.... ( very small data set - no
more than 0-20 teachers per zip area ). I have successfully been able to
show a list of teachers by polygon - in another bit of html by the map.
The lengthy <elaborate kludge> that you mention is something I would like
to avoid due to the nature of the project. So that leaves me with the
open-ended question to all - what suggestions do any and all have with
regard to the last part of what I am trying to accomplish - namely - allow
the user to zoom into a polygon and see some representation of what's
there - a label of the actual number of teachers? I am opened to that but at
this point in my mapserver education, I am limited in my understanding of
Labeling. Can a label be placed within the minscale/maxscale scenario so
that when you zoom in you see the label and when you zoom out it disappears?
Please bare with me - I have made a lot of progress in the past three days -
a lot more than I thought I would and I would like to see this through to
the end.
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 David Fawcett
Sent: Wednesday, November 24, 2004 9:34 AM
To: MAPSERVER-USERS at lists.umn.edu
Subject: Re: [UMN_MAPSERVER-USERS] ok - got zoom to work - another question
Joseph,
Does this accurately describe what you are trying to do?
You have a map of California ZipCodes and you have classified them so
that ZipCodes with teachers of interest are colored differently than
ZipCodes where there are no teachers of interest.
Once a user zooms to minimum scale, you want the ZipCode polygons with
teachers of interest to be symbolized with a 'dot' for each teacher. It
looks like you have successfully set up two complimentary
scale-dependent layers.
More information about the MapServer-users
mailing list