Hiya,

Thanks for reminding me about the interiorPoint funtion. I actually used this 
in a recent project, because I didn't want to add an extra geometry column to 
the PostGIS table and was okay with GeoServer computing the anchor point on the 
fly, like so:

  <PointSymbolizer>
            <Geometry>

              <ogc:Function name="interiorPoint">

                <ogc:PropertyName>the_polygon_geometry_column</ogc:PropertyName>

              </ogc:Function>

            </Geometry>
            <Graphic>
            ...
            </Graphic>
  </PointSymbolizer>

Regards,

Edward

Date: Wed, 15 Aug 2012 21:37:33 +0200
From: [email protected]
To: [email protected]
CC: [email protected]; [email protected]
Subject: Re: [Geoserver-users] polygon label repeated for each tile

On Wed, Aug 15, 2012 at 7:37 PM, Martin Davis <[email protected]> wrote:

Or since the JTS method is exposed as the filter function interiorPoint, would 
it be possible to call this as a geometry transformation in the SLD? 

Yes
CheersAndrea 
-- 
==Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
information.
==
Ing. Andrea Aime @geowolfTechnical Lead
GeoSolutions S.A.S.Via Poggio alle Viti 118755054  Massarosa (LU)Italy
phone: +39 0584 962313fax:   +39 0584 962313mob:   +39  339 8844549
http://www.geo-solutions.ithttp://twitter.com/geosolutions_it

-------------------------------------------------------


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

                                          
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to