MINSCALE/MAXSCALE questions, cont'd

Gerry Creager N5JXS gerry.creager at TAMU.EDU
Wed Feb 16 10:03:34 EST 2005


Thanks... bigger numbers than I expected.  Image size is 700x700; width
is about 450, plus/minus a few (scalebar and markI eyeball)...

Ah! Better.  Now if I can resolve the buffer issue so the labels aren't
on top of each other (make e'm sparcer)...

Stephen Woodbridge wrote:
> There is no intuitive way that I have found to relate scale to maps
> areas. I typically set up my scales using:
>
> 20M, 4M, 2M, 1M, 500K, 150K, 50K, 25K, 10K, 7.5K, 5K, 2K
>
> Or something like that. Where the image is 300 x 200 and the width in
> miles below are based on the scale bar
>
> 20M is VA, OH and north to all of ME or 1200 mi
> 4M is roughly MA, CT and RI or 120 mi
> 2M is roughly 60 mi
> 1M is roughly 24 mi
> 500K is roughly 8.5 mi
> 150K is roughly 2.4 mi
> 50K is roughly 1.2 mi
> etc
>
> This should give you an idea of what value ranges you should be looking at.
>
> -Steve W.
>
> Gerry Creager N5JXS wrote:
>
>> I should have included the LAYER portion of the mapfile in my last
>> message.  Sorry!  Here it is...
>>
>> LAYER
>>   NAME Cities
>>   METADATA
>>     "wfs-title"    "NWS Cities Table"
>>   END
>>   TYPE point
>>   STATUS default
>>   DATA /var/www/mesonet/texas/data/ci19nv04.shp
>>   DUMP true
>>   LABELITEM 'name'
>>   LABELCACHE on
>> # LABELMINSCALE 1000000
>>   LABELMAXSCALE    5.0
>>   CLASS
>>     color 128 64 64
>>     LABEL
>>       FORCE TRUE
>>       COLOR 128 64 64
>>       TYPE BITMAP
>>       SIZE medium
>>       POSITION cr
>>       OFFSET 4 7
>>       BUFFER 150
>>       PARTIALS TRUE
>>     END
>>     SYMBOL 'triangle'
>>     SIZE 5
>>   END
>> END
>>
>> --
>> Gerry Creager -- gerry.creager at tamu.edu
>> Texas Mesonet -- AATLT, Texas A&M University
>> Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578
>> Page: 979.228.0173
>> Office: 903A Eller Bldg, TAMU, College Station, TX 77843
>>
>

--
Gerry Creager -- gerry.creager at tamu.edu
Texas Mesonet -- AATLT, Texas A&M University
Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578
Page: 979.228.0173
Office: 903A Eller Bldg, TAMU, College Station, TX 77843



More information about the mapserver-users mailing list