[mapserver-users] vector Symbol and anchorpoint

2013-08-11 Thread Andrea Peri
Hi, I'm having trouble try.ing use the anchorpoint with a vector symbol. Is this working with vectors ? This is what I'm try to do: SYMBOL NAME test TYPE vector FILLED TRUE POINTS 0.5 1.0 0.5 0.75 0.0 0.75 1.0 0.75 END ANCHORPOINT 0.0 0.0

Re: [mapserver-users] vector Symbol and anchorpoint

2013-08-11 Thread thomas bonfort
try defining the points of your vector symbol such that min(x)=min(y)=0 On 11 August 2013 10:30, Andrea Peri aperi2...@gmail.com wrote: Hi, I'm having trouble try.ing use the anchorpoint with a vector symbol. Is this working with vectors ? This is what I'm try to do: SYMBOL NAME

Re: [mapserver-users] vector Symbol and anchorpoint

2013-08-11 Thread thomas bonfort
As you're not showing what you would like to obtain, nor the mapfile you are using to generate those images it is difficult to be of much help. I have added a test in https://github.com/mapserver/msautotest/commit/89d59a49586dc3192dfd2f67bd1a751f0900e36f that mimics what I guess you would like to

Re: [mapserver-users] vector Symbol and anchorpoint

2013-08-11 Thread Andrea Peri
Hi, Sorry, I forgot to explain my need. I need to define an outline of polygon with an perpendicular segment forward the internal of polygon. It goal is to allow to use only the outline (no internal fill) and also help the user to distinguish the internal and the external part of a polygon when

Re: [mapserver-users] vector Symbol and anchorpoint

2013-08-11 Thread thomas bonfort
Andrea, the example I gave you does exactly that. https://github.com/mapserver/msautotest/blob/master/renderers/line_anchorpoint.map#L20 , just remove the first style's COLOR if you don't want a fill. -- thomas On 11 August 2013 14:37, Andrea Peri aperi2...@gmail.com wrote: Hi, Sorry, I

Re: [mapserver-users] vector Symbol and anchorpoint

2013-08-11 Thread Andrea Peri
Hi Thomas. It work very well. I tried to define a symbol with two segment: one perpendicolar to the other. Instead more simple was to create an only one segment perpendicular to the outline. Many thx, Andrea. 2013/8/11 thomas bonfort thomas.bonf...@gmail.com Andrea, the example I gave you