Problem in zoomin with png/gif symbols

Dott. Stefano Albanese alba75 at YAHOO.COM
Sat Nov 26 07:16:45 PST 2005


Dear all,
  i'm getting a weird problem with my mapserver application.
  I' m using a point layer and i'm trying to render it into the map using a GIF symbol.
  When i load the map in its full extent or zooming out (starting from fullextent  visualization) the symbols are shown and they scale correctly with the view scale.
  On the other hand, when i try to zoom in, starting from the full extent scale, the symbols desapear, while the rest of layers continue to be shown correctly.
  I tried to change some parameters but nothing changed.
  -i substituted the GIF with a PNG...but nothing
  -i setted up Maxscale and Minscale and i tried to change it several times, but nothing happen.
  - i setted up the Symbolscale  with different values, and the size of synbols changed according to the value i putted there, but once passed the fullextent scale, again the simbols desapear.
   
  So what's wrong in my file?????
  This is my mapfile extract:
   
    #
  # Start of map file - created Sat Nov 26 05:30:10 2005
  #
  NAME 'Sirignano'
  STATUS ON
  PROJECTION
  'init=epsg:4326'
  END
  SIZE 550 646
  EXTENT 2488215.224 4532635.713 2489404.490 4534031.661
  UNITS meters
  FONTSET 'D:/ms4w/Apache/htdocs/sirignano/fonts/fonts.fnt'
  IMAGECOLOR 255 255 255
  #
  # Start of web interface definition
  #
  WEB
  LOG Sirignano.log
  TEMPLATE sirignano.html
  IMAGEPATH 'D:/ms4w/Apache/htdocs/temp/'
  IMAGEURL 'http://localhost/temp/'
  EMPTY 'http://localhost/sirignano/nothing.html'
  # change this value to match your setup
  METADATA
  WMS_ONLINERESOURCE 'http://localhost//cgi-bin/mapserv.exe?map=D:/ms4w/Apache/htdocs/sirignano/Sirignano.map'
  'WMS_SRS' 'epsg:4326'
  WMS_ACCESSCONSTRAINTS 'none'
  WMS_TITLE 'Sirignano'
  WMS_FEATURE_INFO_MIME_TYPE 'text/html'
  WMS_ABSTRACT ''
  END #METADATA
  END #HEADER
  #
  # Properties for the querymap
  #
  QUERYMAP
  SIZE 200 200
  STATUS ON #OFF
  STYLE HILITE
  COLOR 255 0 0
  END
  #
  # Start of reference map
  #
  REFERENCE
  STATUS ON
  IMAGE graphics/map_ref.png
  SIZE 120 80
  EXTENT 2488215.224 4532635.713 2489404.490 4534031.661
  COLOR -1 -1 -1
  OUTLINECOLOR 255 0 0
  END #REFERENCE
   
  #
  # Start of symbol
  #
  SYMBOL
  NAME 'albero'
  TYPE PIXMAP
  IMAGE 'd:/ms4w/apache/htdocs/sirignano/symbols/albero.gif
  END #Symbol

  ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   
    LAYER
  NAME 'Alberi.shp'
  DATA 'd:/ms4w/apache/htdocs/sirignano/data/alberi'
  STATUS ON
  TYPE Point
  MINSCALE 200
  MAXSCALE 200000
  SYMBOLSCALE 3000
   
  CLASSITEM 'Entity'
  
  CLASS
  NAME ' '
  EXPRESSION 'Point'
  COLOR 0 0 0
  SYMBOL 'albero'
  END
  END # END OF LAYERFILE
  END # MAPFILE
  ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   
  I would be grateful to you, if u could solve my problem.
  Thanx in advance
  Stefano



Dott. Geol. Stefano Albanese
     Via S. Giacomo 6
     83022 Baiano (AV)
          Italia
Tel.: +390818243143
      +393471982279
		
---------------------------------
 Yahoo! Personals
 Single? There's someone we'd like you to meet.
Lot's of someone's, actually. Yahoo! Personals
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20051126/147788f3/attachment.htm>


More information about the MapServer-users mailing list