ESRI files : Attributes didn't showed
Wim Blanken
w.blanken at GEON.NL
Tue Jun 7 00:03:28 PDT 2005
----- Original Message -----
From: "Wim Blanken" <w.blanken at geon.nl>
To: "bino_oetomo" <bino at INDOAKSES-ONLINE.COM>
Sent: Tuesday, June 07, 2005 9:02 AM
Subject: Re: [UMN_MAPSERVER-USERS] ESRI files : Attributes didn't showed
> Hello bino,
>
> You have to use the label object. See the example beneath:
>
> <snip>.....
> LABELITEM "STATE"
> CLASS
> EXPRESSION 'land'
> COLOR 232 232 232
> LABEL
> COLOR 132 31 31
> SHADOWCOLOR 218 218 218
> SHADOWSIZE 2 2
> TYPE TRUETYPE
> FONT arial-bold
> SIZE 12
> ANTIALIAS TRUE
> POSITION CL
> PARTIALS FALSE
> MINDISTANCE 300
> BUFFER 4
> END # end of label
> END<snip>.....
>
> regards,
>
> Wim Blanken
>
>
>
> Look at the example
> ----- Original Message -----
> From: "bino_oetomo" <bino at INDOAKSES-ONLINE.COM>
> To: <MAPSERVER-USERS at LISTS.UMN.EDU>
> Sent: Tuesday, June 07, 2005 3:35 AM
> Subject: [UMN_MAPSERVER-USERS] ESRI files : Attributes didn't showed
>
>
>> Dear All
>>
>> My ESRI files made of (for line layer only):
>> - line.shp
>> - line.shx
>> - line.dbf
>>
>> And here is my (part of) MS map file :
>>
>> ----Start---------------
>> MAP
>> IMAGETYPE PNG
>> EXTENT 110.999930 -10.000030 115.000030 -6.000000
>> SIZE 600 600
>> SHAPEPATH "d:\ms4w\shp"
>> IMAGECOLOR 255 255 255
>>
>> WEB
>> TEMPLATE '/ms4w/apache/htdocs/bino.html'
>> IMAGEPATH '/ms4w/tmp/ms_tmp/'
>> IMAGEURL '/ms_tmp/'
>> END
>> # Start of LAYER DEFINITIONS ---
>> LAYER # States line layer begins here
>> NAME lay-1
>> DATA line.shp
>> STATUS DEFAULT
>> TYPE LINE
>>
>> CLASS
>> COLOR 0 0 255
>> #OUTLINECOLOR 32 32 32
>> END
>> END # States line layer ends here
>> ----STOP-------------------
>>
>> Using http://terrasip.gis.umn.edu/projects/tutorial/section1.html ,
>> The lines showed up.
>> But I can't see the street names.
>>
>> I think the street name is in that line.dbf file.
>>
>> How to show that street names ?
>>
>> Regards
>> -bino-
>>
>>
More information about the MapServer-users
mailing list