[mapserver-users] Getting mad - copyright notice

Lars Westerlind lars.westerlind at enera.se
Thu Aug 13 23:24:56 PDT 2009


Hello,
Was playing with the suggested copyright notice, and it worked very well
- first mapfile.

Afters extensive testing it appears that below a certain scale my layer
doesn't show up. Or rather; when the BBOX parameter has for instance 
BBOX=11.0,56.0,12.0,57.0  it shows, but not with
BBOX=12.00,57.64,12.09,57.68. Due to the logg (DEBUG level 5) the layer
is not rendered at all.

Can anyone give a clue? Should there be fiddling with MINDISTANCE and
such? 


My Layer definition:

LAYER
  NAME "Base"			# we should always have one layer "base"
  METADATA
    "wms_title"     "Base"
  END
  STATUS DEFAULT
  TYPE ANNOTATION
  PROJECTION
    "init=epsg:4326"   ##recommended
  END

  TRANSFORM ll #set the image origin to be lower left
  FEATURE
    POINTS
      70 -10 #set the offset from lower left position in pixels
    END
    TEXT " (c) 2009 Enera International and www.openstreetmap.org" #this
is your displaying text
  END
  CLASS
    LABEL #defines the font, colors etc. of the text
      FONT "arial"
      TYPE TRUETYPE
      SIZE 8
      BUFFER 1
      COLOR 0 0 0
      BACKGROUNDCOLOR 255 255 255
      FORCE TRUE

    END
  END
  UNITS PIXELS #sets the units for the feature object

END




More information about the MapServer-users mailing list