Oh, well, that's slight different, you want to scale an image/symbol, to fit 
(once) in a closed polygon, right? 

That's harder to do (if at all), are all the polygons the same size, or 
variable in size.  Are they the same aspect as th, height to width as the 
symbol? 

You may be able to scale on a attribute value if you have the size (width or 
height) as a attribute for example. 

SIZE [attributeValueFromDataSource]   ## This uses the value in the attributes 
from the data source to size the symbol.  Clipping the symbol to fit an 
irregular polygon will be another complication, unless you allow for repeating 
symbols (which is what I thought you were looking for originally. 

bobb 



>>> Adam Eskreis <[email protected]> wrote:

Ok, I read through this, and it was helpful, but i can't figure how to do 
exactly what I need.

What I essentialy want to do is make the symbol act as though it were the 
"background image" of the polygon. No repeating, and stretched or compressed to 
fit, so that the entire image is viewable.

Is somethign like this possible?

-Adam


On Fri, May 22, 2009 at 3:46 PM, Bob Basques 
<[email protected]> 

wrote:


Yes, 


see here. . . 



http://mapserver.org/mapfile/symbology/construction.html?highlight=symbol%20fill
 ( 
http://mapserver.org/mapfile/symbology/construction.html?highlight=symbol%20fill
 ) 




>>> Adam Eskreis <[email protected]> wrote:

Hello all.

I have a question that may or may not have been answered before, but I can't 
seem to find anything on it.

Is it possible with mapserver to make a symbol fill the entire area of a 
polygon feature? In other words, can I provide an image as the symbol, and have 
that symbol completely fill the polygon, regardless of the width and height 
dimensions of the image?

Thank you,

-Adam



_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to