Simple question about scalebar.
Krung Saengpole
saengpole at YAHOO.COM
Tue May 31 11:12:12 PDT 2005
Hi,
Thank you for your response. My map file is simple as below:
MAP
SHAPEPATH "d:\work\gis\kornburi\data\"
FONTSET "./fonts/fonts.list"
SYMBOLSET "./symbols/symbol.sym"
EXTENT 730000 1550000 935000 1750000
UNITS kilometers
SIZE 600 450
IMAGETYPE gif
TRANSPARENT on
SCALEBAR
POSITION ll
STATUS off
COLOR 255 0 255
IMAGECOLOR 255 255 0
UNITS KILOMETERS
INTERVALS 3
STYLE 0
END
PROJECTION
"proj=utm"
"zone=47"
"a=6377276.345"
"b=6356075.413"
"towgs84=209,818,290,0,0,0,0"
"units=m"
"no_defs"
END
LAYER
...
...
END
My problem is that scalebar showed wrong distance. Everything is ok but scalebar. I told you last message that true distance it should be 18.3 km but scalebar showed 18300 km. I thought if this number was correct, then the unit should be meter not kilometer.
Dirk-Jan Huisman <d.huisman at INGBCC.NL> wrote:
Hi,
It's not clear what goes wrong. Include some code of your mapfile. What are the map units and the scalebar units?
----Oorspronkelijk bericht-----
Van: Krung Saengpole [mailto:saengpole at YAHOO.COM]
Verzonden: maandag 30 mei 2005 16:34
Aan: MAPSERVER-USERS at LISTS.UMN.EDU
Onderwerp: [UMN_MAPSERVER-USERS] Simple question about scalebar.
Dear all,
Whether or not I embeded scalebar in map, it showed wrong distance, e.g. it should be 18.3 km but it showed 18300 km. Nontheless I use projection or not. What I have to specially set to get right scalebar?
TIA
Krung
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-----------------------------------------------------------------------------------
Prins Mauritsstraat 17, Postbus 75, 4140 AB Leerdam
Telefoon (0345) 63 96 96, Fax (0345) 63 96 66,
E-mail post at ingbcc.nl
Internet www.ingbcc.nl
-----------------------------------------------------------------------------------
Deze e-mail en de eventuele bestanden die meegezonden zijn, zijn vertrouwelijk en alleen bedoeld voor het gebruik door de individu of instelling aan wie deze e-mail geadresseerd is. Als u deze e-mail onterecht ontvangen heeft wilt u het ons dan laten weten.
-----------------------------------------------------------------------------------
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the system manager.
-----------------------------------------------------------------------------------
---------------------------------
Do You Yahoo!?
Yahoo! Small Business - Try our new Resources site!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050531/db39c22c/attachment.htm>
More information about the MapServer-users
mailing list