problem with line layers
Sergio Lopez
sergiodlopez at YAHOO.COM
Tue Jul 26 10:26:14 PDT 2005
Hi all:
I have a problem with line layers. I use the following map file, and I
call it using http://localhost/cgi-bin/mapas/lp.map&mode=map, but the line
layers are not shown, just the background. But if I use this map file with
mapedit or gmap everithing´s ok. what am I doing wrong?
MAP
NAME "lplineas"
STATUS ON
EXTENT 5656000 6090000 5707000 6149000
SIZE 300 300
SHAPEPATH "./data"
SYMBOLSET "./etc/symbols.sym"
FONTSET "./etc/fonts.txt"
IMAGETYPE JPEG
IMAGECOLOR 100 150 200
UNITS METERS
#----OBJETO WEB----------------------------------------------------------
-----------
WEB
IMAGEPATH "/ms4w/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
END
#----FORMATO DE SALIDA---------------------------------------------------
------------------
OUTPUTFORMAT
NAME "JPG"
MIMETYPE "image/jpeg"
DRIVER "GD/JPEG"
EXTENSION "jpg"
IMAGEMODE RGB
TRANSPARENT OFF
FORMATOPTION "QUALITY=80"
END
#----LAYER CALLES--------------------------------------------------------
-------------
LAYER
#-------COMIENZA LAYER
NAME "Calles"
#GROUP "vias"
STATUS ON
DATA "./data/ejes"
TYPE POLYGON
#MINSCALE 25000
TOLERANCE 10
TOLERANCEUNITS PIXELS
CLASS
NAME "calle"
#TEMPLATE "ttt_query.html"
STYLE
SYMBOL 13
COLOR 103 106 107
SIZE 3
MINSIZE 3
MAXSIZE 25
#MINSIZE 1
#MAXSIZE 100
ANTIALIAS TRUE
END
END
END
LAYER
NAME "puntos"
STATUS ON
DATA "./data/cajeros"
TYPE POINT
UNITS METERS
CLASS
NAME "fff"
STYLE
SYMBOL 7
COLOR 172 0 0
SIZE 1
MINSIZE 3
MAXSIZE 25
END
END
END
#---------TERMINA LAYER
END
More information about the MapServer-users
mailing list