Grids vs. Graticules
Randy James
rjames57 at YAHOO.COM
Wed Sep 28 10:05:29 PDT 2005
Hi Chip
You need the projection defined in your grid layer, if it is a different
projection than the projection of the map file.
Randy
--- Chip Taylor <work at XWB.COM> wrote:
> I am new to Mapserver, deep in the learning curve. I have a question that
> I hope someone can answer. If I add a Grid layer to the map file the map
> draws the grid with no problem. However, I need the grid to be displayed as
> graticules, that is, distorted as lines of latitude and longitude are
> distorted depending on the projection. Instead the grid lines are all true
> vertical, horizontal. Is this possible?
>
> Here is the Grid Layer in my mapfile:
>
> ######################################
> # GRID
> #
> LAYER
> NAME "Grid"
> TYPE LINE
> STATUS DEFAULT
> CLASS
> NAME "Graticule"
> COLOR 0 0 0
> LABEL
> COLOR 255 0 0
> FONT "arial"
> TYPE truetype
> SIZE 8
> POSITION auto
> PARTIALS false
> BUFFER 5
> OUTLINECOLOR 255 255 255
> END
> END
>
> GRID
> LABELFORMAT DDMM
> MAXARCS 10
> MINARCS 2
> MAXINTERVAL 20
> MININTERVAL 10
> MAXSUBDIVIDE 40
> MINSUBDIVIDE 2
> END
> END
>
> Chip Taylor
> Prepared Response, Inc
>
> Chip Taylor
> Prepared Response, Inc.
> 1127 Broadway Plaza, Suite 204
> Tacoma, WA 98402
> O 253.272.1730
> M 253.948.2525
> STATEMENT OF CONFIDENTIALITY
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain confidential or privileged information. If you are not the intended
> recipient, please notify Prepared Response, Inc. immediately at (206)
> 223-5544 and destroy all copies of this message and any attachments.
>
>
>
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
More information about the MapServer-users
mailing list