On 27 March 2010 18:35, Andrea Aime wrote:
I see your point. Let me explain mine:say you are using point
symbolizer to stick a pie chart on top of that multipolygon using
the gt-chart module. How many charts per state do you want? :-)
A good (ahem) point :-)
How should we call it?
Hi,
I was looking at a specific issue making maps with
both point a polygon symbolizers.
One such map is attached as an example.
The map contains a single geometry, a multipolygon
representing the state of California.
As you can see the state has islands, each of them
covered by a point.
Now,
On Fri, Mar 26, 2010 at 12:37 PM, Andrea Aime aa...@opengeo.org wrote:
Hi,
I was looking at a specific issue making maps with
both point a polygon symbolizers.
One such map is attached as an example.
The map contains a single geometry, a multipolygon
representing the state of California.
At the risk of spec heresy I don't think it makes any sense to plot a
single point for a MultiPolygon which has disjunct parts. Any way of
implementing it, such as point in largest component polygon, is
arbitrary.
It seems more natural, and much more useful, to draw the centroid for
each
ASFAIK, the centorid of geometry is not guaranteed to be within the
geometry. As an example, s simple Polygon with a shape like the letter U
has its centroid not on the surface.
There is a operation pointOnSurface you should use.
For multipolygons, I use an additional Multipoint geometry