I've seen a lot of posts like "I want to render a label, even if the polygon
is too small to fit it".My problem is the opposite: I want to make sure that
a label only will render if it fits in its polygon.Supposedly that's the
default behavior, yet here is this:
<http://osgeo-org.1560.x6.nabble.com/file/n5326100/cottonwood.png> I believe
that a label will render if half of it will fit in the bounding box of the
polygon.  In this case, that's not what's happening, as you can see.  Also,
I'd really rather have it only render if all of it fits within the polygon,
or at least it's bounding box.Here is my SLD:<?xml version="1.0"
encoding="UTF-8"?>        default_polygon              Default Polygon     
A sample style that draws a polygon                                    base     
    
Green Polygon          A polygon with a green fill and a 1 pixel outline        
                           
#00B200              0.1                                      #00B200           
  
1                                                                               
                        geom                                                    
                                                         
name                                        Arial               12              
normal               bold                                                       
                                        
0.5                                     0.5                                     
                                                    
#00B200                                                  2                      
      
#000000                                                                 
true            0.9            60               0                               
           



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Labels-Burst-out-of-their-Polygons-tp5326100.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to