[mapserver-users] line width
John Hagstrand
johnhagstrand at interageresearch.com
Thu Apr 18 19:41:32 PDT 2002
Hi Stephen,
Thanks for responding. Yes I can post the map file. It is included below.
John
At 09:04 AM 4/17/2002, you wrote:
>John,
>
>can you post the section of your map file that controls the shapefiles
>in question. Typically, it is the SIZE parameter often used in
>conjunction with SYMBOL 'circle'
>
>-Steve
>
>John Hagstrand wrote:
> >
> > Hello,
> > How do I specify line width for line shape files? Mine are coming up two
> > pixels wide, and I want it to be one.
> > Thanks
> > John
> >
#
# Start of map file
#
NAME DEMO
STATUS ON
SIZE 600 260
#EXTENT -88.128 42.436 -87.991 42.497
EXTENT -88.128 42.436 -87.991 42.497
UNITS dd
SHAPEPATH "data"
IMAGECOLOR 255 255 255
#
# Start of web interface definition (including WMS enabling metadata)
#
WEB
HEADER demo_header.html
TEMPLATE demo.html
FOOTER demo_footer.html
MINSCALE 1000
MAXSCALE 1550000
IMAGEPATH "set in demo_init.html"
IMAGEURL "set in demo_init.html"
METADATA
WMS_TITLE "UMN MapServer Itasca Demo"
WMS_ABSTRACT "This is the UMN MapServer demonstration application for
Itasca County located in north central Minnesota."
WMS_ACCESSCONSTRAINTS none
# change this value to match your setup
WMS_ONLINERESOURCE "http://localhost/itasca/demo_init.html"
WMS_SRS "EPSG:26915"
END
END
QUERYMAP
SIZE 200 200
STATUS ON
STYLE HILITE
COLOR 255 0 0
END
#
# Start of layer definitions
#
LAYER
NAME aerial
TYPE RASTER
STATUS OFF
DATA aerial00.tif
CLASS
NAME 'aerial'
COLOR 49 117 185
END
END # aerial
LAYER
NAME lakes
TYPE POLYGON
STATUS OFF
DATA wbd17097
CLASS
NAME 'Lakes'
COLOR 49 117 185
END
TOLERANCE 3
END # lakes
LAYER
NAME railroads
TYPE LINE
STATUS OFF
DATA lnb17097
CLASS
NAME 'Railroads'
COLOR 0 0 0
END
TOLERANCE 3
END # railroads
LAYER
NAME streets
TYPE LINE
STATUS OFF
DATA str17097
CLASS
NAME 'Streets'
COLOR 0 255 0
SIZE 0
MAXSIZE 1
END
TOLERANCE 5
END # streets
LAYER
NAME streams
TYPE LINE
STATUS OFF
DATA lnh17097
CLASS
NAME 'Streams'
COLOR 0 0 255
END
TOLERANCE 3
END # Streams
END # Map File
-------------------------------------------------
John Hagstrand
Interage Research, Inc.
847 838 5371
Software Development Consulting for Internet Archive Retrieval
We help archives make knowledge accessible, useful, and relevant for everyone.
http://www.interageresearch.com
More information about the MapServer-users
mailing list