[mapserver-users] Two rasters covering each other at the same scale

Branko Kmetec branko.kmetec at mb.birostroj-co.si
Thu Sep 12 08:43:22 PDT 2002


Has someone idea, why do i get strange picture like on link:
http://mail.mb.birostroj-co.si/map.png. I get it only when two rasters
are covering at the same scale.

Here's also my map file:

MAP
  EXTENT 369144 11687 630856 208313
  IMAGECOLOR 255 255 255
  IMAGEQUALITY 75
  IMAGETYPE PNG
  INTERLACE TRUE
  SHAPEPATH "./data/"
  SIZE 400 300
  STATUS ON
  TRANSPARENT FALSE
  UNITS KILOMETERS
  NAME "DARS d.d."

  LEGEND
    IMAGECOLOR 255 255 255
    INTERLACE TRUE
    KEYSIZE 20 10
    KEYSPACING 5 5
    LABEL
      SIZE MEDIUM
      TYPE BITMAP
      BUFFER 0
      COLOR 255 255 0
      FORCE FALSE
      MINDISTANCE -1
      MINFEATURESIZE -1
      OFFSET 0 0
      PARTIALS TRUE
    END
    POSITION LL
    STATUS OFF
    TRANSPARENT FALSE
  END

  QUERYMAP
    COLOR 255 255 0
    SIZE -1 -1
    STATUS OFF
    STYLE HILITE
  END

  REFERENCE
    COLOR -1 -1 -1
    EXTENT 369144 11687 630856 208313
    IMAGE "./images/slovenija.png"
    OUTLINECOLOR 255 0 0
    SIZE 100 75
    STATUS ON
      MARKER 0
      MARKERSIZE 0
      MINBOXSIZE 3
      MAXBOXSIZE 0
  END

  SCALEBAR
    BACKGROUNDCOLOR 1104913136 72 16057808
    COLOR 255 255 0
    IMAGECOLOR 255 255 255
    INTERLACE TRUE
    INTERVALS 4
    LABEL
      SIZE MEDIUM
      TYPE BITMAP
      BUFFER 0
      COLOR 255 255 0
      FORCE FALSE
      MINDISTANCE -1
      MINFEATURESIZE -1
      OFFSET 0 0
      PARTIALS TRUE
    END
    POSITION LL
    SIZE 200 3
    STATUS OFF
    STYLE 0
    TRANSPARENT FALSE
    UNITS MILES
  END

  WEB
    IMAGEPATH "/usr/local/www/htdocs/dars_web/tmp/ac/"
    IMAGEURL "/tmp/ac/"
    MAXSCALE 1e+008
    MINSCALE 5.0e+007
  END

  LAYER
    DATA "ac-mala.png"
    MINSCALE 5.5e+008
    NAME "AC mala"
    SIZEUNITS PIXELS
    STATUS ON
    TOLERANCE 3
    TOLERANCEUNITS PIXELS
    TYPE RASTER
    UNITS METERS
    CLASS
      NAME "AC mala"
      MAXSIZE 100
      MINSIZE 1
      SIZE 1
      SYMBOL 0
    END
  END

  LAYER
    DATA "ac.png"
    MAXSCALE 5.5e+008
    MINSCALE 1.0e+007
    NAME "AC"
    SIZEUNITS PIXELS
    STATUS ON
    TOLERANCE 3
    TOLERANCEUNITS PIXELS
    TYPE RASTER
    UNITS METERS
    CLASS
      NAME "AC"
      MAXSIZE 100
      MINSIZE 1
      SIZE 1
      SYMBOL 0
    END
  END

  LAYER
    DATA "obroc.png"
    MAXSCALE 2.0e+008
    MINSCALE 1.0e+007
    NAME "obroc"
    SIZEUNITS PIXELS
    STATUS DEFAULT
    TOLERANCE 3
    TOLERANCEUNITS PIXELS
    TYPE RASTER
    UNITS METERS
    CLASS
      NAME "Obroc"
      MAXSIZE 100
      MINSIZE 1
      SIZE 1
      SYMBOL 0
      BACKGROUNDCOLOR 0 0 0
    END
  END

END

Regards,

Brane




More information about the MapServer-users mailing list