[mapserver-users] PROJ4 and Layers

Thomas Pich pich at spektra.de
Wed Apr 25 06:30:52 PDT 2001


Hello,

does anybody know why the "city"-layers in the follow mapfile will not
be included? The "country"-layer is visible. The city-layers only
without projection are displayed.

thanks

Thomas

-------------------------------------------------

NAME DEMO
STATUS ON
SIZE 800 800
FONTSET ../fonts/fonts.list
SHADESET ../symbols/shade.sym
MARKERSET ../symbols/marker.sym
LINESET ../symbols/line.sym
EXTENT 5.0 47.0 15.0 55.0
UNITS DD
SHAPEPATH "../data/eur"
IMAGECOLOR 130 200 234

PROJECTION
  "proj=merc"
  "ellps=GRS80"
END

#XXX  Country  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
LAYER
  NAME country
  TYPE POLYGON
  STATUS DEFAULT
  DATA eurnuts0
  CLASS
    COLOR 255 255 220  
    OUTLINECOLOR 0 0 0
  END
  PROJECTION
    geographic
  END
END

#XXX City XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#XXX Scale: 5.000.000 bis 15.000.000 XXXXXXXXXX
LAYER
  NAME city
  TYPE POINT
  MAXSCALE 15000000
  MINSCALE 5000000
  STATUS ON
  DATA eur_city
  CLASS
    COLOR 153 153 153
    SYMBOL "city_shield"
  END
  PROJECTION
    geographic
  END
END

#XXX Scale: 200.000 bis 5.000.000 XXXXXXXXXXXXX
LAYER
  NAME city
  TYPE POINT
  MAXSCALE 5000000
  MINSCALE 200000
  STATUS ON
  DATA eur_city
  CLASS
    COLOR 153 153 153
    SYMBOL "city_shield2"
  END
  PROJECTION
    geographic
  END
END

#XXX Scale: 200.000 bis 15.000.000 XXXXXXXXXXXX
LAYER
  NAME city
  TYPE ANNOTATION
  MAXSCALE 15000000
  MINSCALE 200000
  STATUS ON
  DATA eur_city
  LABELITEM "Name"
  CLASS
    LABEL
      COLOR 0 0 0
      OUTLINECOLOR 255 255 0
      POSITION LC
      FONT arial
      TYPE TRUETYPE
      SIZE 10
      PARTIALS FALSE
      BUFFER 2
    END
  END
  PROJECTION
    geographic
  END
END



More information about the MapServer-users mailing list