something strange happening.

Joseph Norris sirronj at PACBELL.NET
Mon Dec 13 12:05:28 EST 2004


Thanks to all of your help my teacher/zip project is looking fine - so I
made some refinements.  I set it up so that one could make a selection of
three types of teachers getting different colored ellipsis for each type.
Then I allow zoom in to a certain scale and the name of the teacher appears.
Then I added a feature that allows selection of all teachers and this works
great - you can see the all the different colored ellipsis.....

However.....

When zooming in on the selection of all teachers it gets to a point where it
shows a blank page - And I think it is at the layer where the teacher's
names should show up.  Can anyone see a problem with this?

Thanks.

 Here is the map file that is produced:


map
  name calmap
  status on
  extent -124.410 32.534 -114.134 42.010
  imagetype gif
  size 500 500
  units feet
  shapepath
"/usr/local/apache/htdocs/mco.communityservers.com/htdocs/maps/teacher/tdata
"
  imagecolor 255 255 255
  templatepattern "map"
  SYMBOL
    NAME "circle"
    TYPE ELLIPSE
    FILLED TRUE
    POINTS
      1 1
    END
  END


  LAYER
    CLASSITEM "ZCTA"
    DATA "zt06_d00"
    NAME "colorpolys"
    STATUS DEFAULT
    TYPE POLYGON
    UNITS METERS
    labelitem "ZCTA"
    CLASS
      NAME "Zip Boundries"
      EXPRESSION /./
      STYLE
        MAXSIZE 100
        MINSIZE 1
          OUTLINECOLOR 204 204 204
        SIZE 1
        SYMBOL 0
      END
    END
  END




  LAYER
    CLASSITEM "ZCTA"
    DATA "fileTYFKPc"
    NAME "Teachers in Zip type1"
    STATUS DEFAULT
    TYPE POINT
    CLASS
      NAME "Zip Boundries type1"
      expression
/95452|94087|95531|92111|95814|91406|94401|94112|74580|95351|95570|94580|945
49|92083|92675|90232|94105|95501|95834|94131|93109|92131|94108|92107|93901|9
4949|92507|92019|90270|95670|91104|95128|94040|95818|94568|90032|94123|95841
|94513|92392|95864|94070|93711|90805|90065|92503|90063|95304|93702|90802|934
46|92008|92128|94404|90015|95658|95124|93710|95135|94545|90025|90066|92064|9
0042|94115|90043|94703|94304|91006|90504|95521|92505|93560|93924|94607|91103
|91411|90220|93023|95242|92801|94560|92509|93274|95018|92630|95020|96001|956
32|92804|94117|95993|94707|93034|95562|92629|93727|92591|94102|92705|94704|9
4110|95825|93212|92024|93960|92585|94621|95678|94901|94402|95050|94612|95126
|94134|93010|94539|92071|95118|92663|95204|95829|92025|90003|90033|90262|919
62|90012|95959|91932|90292|93111|95823|91601|91405|90242|94947|93004|94531|9
4509|93907|91935|95125|95032|94611|95329|91730|92108|38125|93230|91945|95815
|92028|92084|93291|95687|92105|94501|94520|94705|91764|94107|91977|91384|907
20|94555|91911|95608|90305|93003|90405|92612|92121|91107|94952|94903|95838|9
5690|90049|94558|94606|91001|94103|94804|95060|95665|92802|94303|94806|92054
|94122|92120|93720|95667|93449|92570|91910|91326|91950|95428|92410|92127|907
45|93908|92308|94591|94530|95127|94904|95110|92115|90018|92320|91101|93706|9
5822|94121|90059|92186|95376|95407|93721|95648|95969|95816|90241|90274|93726
|92243|91789|94577|95070|94710|95210|95337|95692|91941|95139|94124|91711|950
76|93591|93405|94133|92117|93012|92040|92106|94954/
      STYLE
        MAXSIZE 100
        MINSIZE 1
        COLOR 102 255 102
        SIZE 5
        SYMBOL "circle"
      END
    END
  END



  LAYER
    CLASSITEM "ZCTA"
    DATA "fileTYFKPc"
    NAME "Teachers in Zip type2"
    STATUS DEFAULT
    TYPE POINT
    CLASS
      NAME "Zip Boundries type2"
      expression
/92069|95610|95667|93907|94103|93277|90621|95946|95370|95682|95959|92692|945
09|91342|95616|92109|95814|95482|95116|94107|94612|95452|92628|90220|92084|9
4019|92507|95969|95351|94710|94118|94707|92115|93710|95825|92131|94549|90210
|94954|90003|94105|90044|90720|92882|90028|95350|95453|90248|91325|92583|904
05|90806|95304|94588|93245|91107|94591|90005|91767|91902|92037|92057|90723|9
2082|91205|97444|91504|95476|90291|94301|95388|94558|92111|90660|94605|92620
|91402|96001|94028|95670|91303|92392|95033|92562|95838|95062|92024|90041|946
09|94303|94941|95827|94574|90016|93940|94965|94804|95472|93960|94952|94061|9
0014|92107|94611|95404|94403|94110|93305|90066|90212|95020|95035|94131|92108
|95358|94041|90305|95425|94040|92040|91304|91604|94521|92701|90002|95608|900
17|92832|92320|90025|90260|94619|95111|90275|93023|92354|95386|94901|92128|9
3721|95632|95356|90048|92407|94621|93230|95945|92008|91737|93117|94544|96080
|65020|95831|90011|95124|96007|90638|92253|94577|95338|95113|92614|90680|945
90|94523|92231|93308|94010|94587|90803|92802|94704|80501|92868|93726|91367|9
5366|94930|90813|94949|95928|92660|95401|94114|95816|92708|96097|90064|92782
|94112|90274|95821|95010|91011|94530|95242|92027|94070|92110|91356|94116|904
01|95758|92234|93309|95076|95971|94608|95355|94602|92646|95018|91106|94115|9
5901|93631|92663|92691|93644|94108|95132|95381|94121|93291|95926|92129|94122
|91709|90254|90814|90046|95128|90063|94709|92307|93727|95501|90746|95991|947
03|95403|93301|91766|91101|94306|90272|90035|92117|94402/
      STYLE
        MAXSIZE 100
        MINSIZE 1
        COLOR 102 102 255
        SIZE 5
        SYMBOL "circle"
      END
    END
  END



  LAYER
    CLASSITEM "ZCTA"
    DATA "fileTYFKPc"
    NAME "Teachers in Zip type3"
    STATUS DEFAULT
    TYPE POINT
    CLASS
      NAME "Zip Boundries type3"
      expression
/94025|92121|93726|95465|95814|95350|94403|94553|93950|92110|94610|95351|900
44|94112|94114|92108|94105|90014|90025|93001|92886|90301|94965|94706|90064|9
0210|92009|94558|90035|95628|95973|92679|92392|91331|90004|93638|93460|90265
|90601|90033|94606|94510|90303|91406|92081|94612|92008|92405|92595|96001|960
97|92037|92313|95127|94115|92069|90401|91311|92103|92626|94306|95758|92612|9
4509|94116|91106|90731|95403|95315|91011|90808|92660|90003|95608|95482|94501
|92336|91741|95060|95959|92301|92083|92881|95776|94043|92557|90016|91325|958
64|95820|92101|95826|92663|93906|94134|94402|95833|94122|91344|94019|92102|9
5678|90713|94109|95117|90802|92130|95407|91744|90039|90740|90242|90220|92026
|92056|95611|90042|91403|91206|92509|92614|95336|93550|90272|95111|95825|904
03|91001|95472|91340|94066|95818|92324|91902|92027|92117|95670|95409|95660|9
2691|90034|95134|94949|94608|92075|92028|95376|94704|90293|90021|93305|92507
|90007|95020|94123|94607|95128|92109|96080|95062|95070|92869|92688|95209|946
05|93311|94401|96150|90806|92123|94103|95503|95045|95405|95667|95821|95816|9
1978|94563|92126|95076|92802|90020|94928|94619|92582|94611|95926|95110|94702
|91941|90720|95695|95616|95603|93706|90260|92115|94028|94602|93721|94559|945
83|92201|95834|91107|94517|91776|90405|92551|90065|90010|94550|95945|95358|9
2841|94533|95991|94952|93631|94707|93561|95050|92373|94024|91202|91030|93711
|93907|94070|94536|90404|95823|95765|95687|94577|95621|94010|94703|95301|939
33|93245|94547|90043|95023|95692|92284|93309|94566|93727|94804|93291|94107/
      STYLE
        MAXSIZE 100
        MINSIZE 1
        COLOR 255 0 0
        SIZE 5
        SYMBOL "circle"
      END
    END
  END


  LAYER
    NAME "Teacher Names"
    DATA "fileTYFKPc"
    STATUS DEFAULT
    TYPE POINT
    LABELITEM "FNAME"
    CLASS
       MAXSCALE 2.219616
       LABEL
          POSITION AUTO
          TYPE BITMAP
          COLOR 0 0 0
       END
     END
  END

END # end map from header


#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);



More information about the mapserver-users mailing list