angleitem for point symbols
Francesco Sozzi
fsozzi at INTERCAD.CH
Wed Sep 14 07:16:41 PDT 2005
Hi Jeff,
Thanks for answer.
I add only a brief note to mail-list to say that rotating symbol is
absolutely mandatory for several subjects.
For instance a "T" valve (symbol is a "T") if not rotated along the pipe is
not readable in many cases.
Or street vertical signal if not rotated makes the map much more difficult
to read.
For my experience (about 10 years in Italy and Switzerland), many users does
not want gis engine without rotation capabilities.
Mapserver is a very good product, but without point rotation it is
unfortunatelly too much limited for many subjects.
Best regards
Francesco Sozzi
----- Original Message -----
From: "Jeff McKenna" <jmckenna at dmsolutions.ca>
To: "Francesco Sozzi" <fsozzi at INTERCAD.CH>
Cc: <MAPSERVER-USERS at LISTS.UMN.EDU>
Sent: Wednesday, September 14, 2005 3:43 PM
Subject: Re: [UMN_MAPSERVER-USERS] angleitem for point symbols
> Sorry Francesco, I just tested again and it doesn't work for me either. I
> remember adding it to the documentation, for this bug
> http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=815. I just now got
> ANGLEITEM to work with a hatched symbol again, but for a regular point
> symbol it does not work. I should update the doc to say that it is only
> for hatched symbols...maybe someone else has info on this?
>
>
> jeff
>
>
>
>
>
> Francesco Sozzi wrote:
>> Hi Jeff,
>>
>> I've also made a test with this definition:
>>
>> LAYER
>> NAME "Segnali"
>> TYPE POINT
>>
>> CONNECTIONTYPE oraclespatial
>> CONNECTION "ti_segnali/avs at franz"
>> DATA "GEOM FROM (SELECT a.fid, g.orientation, a.geom FROM ic_segnali a,
>> ic_view_segnali_geo g WHERE a.gid=g.gid) USING UNIQUE fid NONE"
>> STATUS DEFAULT
>>
>> CLASS
>> NAME 'segnale'
>> STYLE
>> SYMBOL 'triangle'
>> ANGLEITEM "orientation"
>> SIZE 10
>> COLOR 255 0 0
>> END
>> TEMPLATE "templates/default.html"
>> END
>> END
>>
>> In this case I have not a parse error, but all triangles are not rotated.
>> It seems that this attribute is ignored.
>>
>> Regards
>>
>> Francesco
>>
>> ----- Original Message ----- From: "Jeff McKenna"
>> <jmckenna at dmsolutions.ca>
>> To: "Francesco Sozzi" <fsozzi at INTERCAD.CH>
>> Cc: <MAPSERVER-USERS at LISTS.UMN.EDU>
>> Sent: Wednesday, September 14, 2005 3:09 PM
>> Subject: Re: [UMN_MAPSERVER-USERS] angleitem for point symbols
>>
>>
>>> yes, but ANGLEITEM should be specified in a STYLE object
>>> (http://mapserver.gis.umn.edu/doc46/mapfile-reference.html#style).
>>>
>>> jeff
>>>
>>>
>>>
>>>
>>> Francesco Sozzi wrote:
>>>
>>>> Hi All,
>>>> I've found in http://dl.maptools.org/dl/mapserver_Changelog.txt a
>>>> reference to ANGLEITEM for points (see 2005-08-05 14:45 sdlime). This
>>>> is a good new because a rotation management for point symbols is
>>>> strongly recommended in a map renderer.
>>>> I've just compiled mapserver 4.6.1 and I tried to create a layer with
>>>> this attribute, but I get a parse error.
>>>> Anybody knows if this attribute i supported?
>>>> This is my layer definition:
>>>> LAYER
>>>> NAME "Segnali"
>>>> TYPE POINT
>>>> CONNECTIONTYPE oraclespatial
>>>> CONNECTION "ti_segnali/avs at franz <mailto:ti_segnali/avs at franz>"
>>>> DATA "GEOM FROM (SELECT a.fid, g.orientation, a.geom FROM ic_segnali
>>>> a, ic_segnali_geo g WHERE a.fid=g.fid) USING UNIQUE fid NONE"
>>>> STATUS DEFAULT
>>>> ANGLEITEM "orientation"
>>>> CLASS
>>>> NAME 'segnale'
>>>> SYMBOL 'triangle'
>>>> COLOR 0 255 0
>>>> OUTLINECOLOR 183 183 183
>>>> TEMPLATE "templates/default.html"
>>>> END
>>>> END
>>>> Best regards
>>>> Francesco
>>>
>>>
>
> --
> Jeff McKenna
> DM Solutions Group Inc.
> http://www.dmsolutions.ca
>
>
More information about the MapServer-users
mailing list