[mapserver-users] dissappearing image

Peter Naumovski peter at digitalearth.com.au
Thu Sep 13 00:41:03 EDT 2001


Hi all,

Here is the map file I am using:

NAME WOLLONGONG
EXTENT 150 -35 151.2759 -34
SIZE 430.5 337
FONTSET "D:/mapserver/symbols/fonts/fonts.list"
SYMBOLSET symbols/symbols.sym
SHAPEPATH "D:/mapserver/shapefiles"
UNITS DD

  WEB
    TEMPLATE templates/wollongong.html
    IMAGEPATH "C:/TEMP/"
    IMAGEURL "/tmp/"
  END

LEGEND
  KEYSIZE 15 8
  #IMAGECOLOR 240 240 240
  LABEL
    TYPE truetype
    FONT arial
    SIZE 9
    COLOR 0 0 0
    OFFSET 0 -4.5
    ANTIALIAS
  END
  STATUS ON
END


 SCALEBAR
    STATUS on
    INTERVALS 4
    SIZE 200 2
    COLOR 0 0 0
    OUTLINECOLOR 0 0 0
    IMAGECOLOR 240 240 240
    BACKGROUNDCOLOR 255 255 255
    UNITS kilometers
    LABEL
      COLOR 0 0 0
      SIZE SMALL
    END
  END

REFERENCE
    STATUS ON
    IMAGE shapefiles/ref_map.png
    SIZE 150 150
    EXTENT  150 -35 151.2759 -34
    COLOR -1 -1 -1
    OUTLINECOLOR 255 0 0
  END



LAYER
  NAME "water"
  DATA water
  STATUS DEFAULT
  TYPE POLYGON
  CLASS
    name "Water"
 COLOR 219 247 247
 END
END

LAYER
  NAME "land"
  DATA land
  STATUS DEFAULT
  TYPE POLYGON
  CLASS
    name "Land"
 COLOR 229 229 213
 END
END

LAYER
  NAME "tifImage"
  DATA /mapserver/raster/wollongong_geo.tif
  STATUS DEFAULT
  TYPE raster
END


LAYER
  NAME "builtup"
  DATA builtup
  STATUS ON
  TYPE Polygon
  CLASS
    name "Urban Area"
 COLOR 255 193 237
 END
END

LAYER
  NAME "coast"
  DATA coast
  STATUS DEFAULT
  TYPE line
  CLASS
    name "Coast"
 COLOR 100 100 100
 END
END

LAYER
  NAME "mainroads"
  DATA main_roads
  STATUS OFF
  TYPE line
  CLASS
    name "Main Roads"
 COLOR 200 0 0
      symbol 'line'
 size 2
 END
END

LAYER
  NAME "minor_roads"
  DATA minor_roads
  STATUS OFF
  TYPE line
  CLASS
    name "Minor roads"
 COLOR 200 0 0
 END
END


LAYER
  NAME "rail"
  DATA rail
  STATUS OFF
  TYPE line
  CLASS
    name "Rail"
 COLOR 20 20 20
 END
END

LAYER
  NAME "watercourse"
  DATA watercourse
  STATUS OFF
  TYPE line
  CLASS
    name "Watercourse"
 COLOR 0 0 200
 END
END

LAYER
  NAME "Rivers"
  DATA streams
  STATUS OFF
  TYPE Polygon
  CLASS
    name "Rivers"
 COLOR 0 0 200
 END
END

LAYER
  NAME "reservoir"
  DATA reservoir
  STATUS OFF
  TYPE Polygon
  CLASS
    name "Reservoir"
 COLOR 0 30 100
 END
END

LAYER
  NAME "lakes"
  DATA lakes
  STATUS OFF
  TYPE Polygon
  CLASS
    name "Lakes"
 COLOR 55 146 249
 END
END

LAYER
  NAME "swamp"
  DATA swamp
  STATUS OFF
  TYPE Polygon
  CLASS
    name "Swamp"
 COLOR 74 74 17
 END
END

LAYER
  NAME "Cities"
  DATA cities
  STATUS OFF
  TYPE point
  LABELITEM "name"
  CLASS
    name "Cities"
 COLOR 240 242 104
      OUTLINECOLOR 255 255 255
      size 10
      SYMBOL 'circle'
      LABEL
       TYPE truetype
       FONT arial-bold
       SIZE 10
       COLOR 0 0 0
       OUTLINECOLOR 255 255 255
  POSITION CR
       OFFSET 2 0
      END
 END
END

END # end of map file


Thanks for your help


----- Original Message -----
From: "Ed McNierney" <ed at topozone.com>
To: "Peter Naumovski" <peter at digitalearth.com.au>;
<mapserver-users at lists.gis.umn.edu>
Sent: Thursday, September 13, 2001 12:00 PM
Subject: RE: [mapserver-users] dissappearing image


> Peter -
>
> That looks odd; you don't have some wayward white polygon layer lying on
> top?  Is there a URL where we can see this interactively?  Can you send
> the MAP file?
>
> - Ed
>
> Ed McNierney
> Chief Mapmaker
> TopoZone.com / Maps a la carte, Inc.
> ed at topozone.com
>
> -----Original Message-----
> From: Peter Naumovski [mailto:peter at digitalearth.com.au]
> Sent: Wednesday, September 12, 2001 9:36 PM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [mapserver-users] dissappearing image
>
>
> Hi all,
>
> I am having some problems with one of the layers I am using in a
> Mapserver
> application I have built.
> When zoomed out to full extents, the image seems to get cut from the top
> left corner to a vertex on the
> bottom right hand corner, and misses the vertex on the bottom left hand
> corner. If I zoom in this problem
> sometimes dissappears, but other times it still occurs when zooming in.
>
> I have attached an image which displays this problem
>
> Any help would be greatly appreciated.
>
> Regards
> Peter Naumovski
>
> Visualisation/GIS
> Digital Earth Pty Ltd
> tel: 02 4271 0492
> fax: 02 4271 4950
> web: http://www.digitalearth.com.au
>
>
>
>
>




More information about the mapserver-users mailing list