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 ini
Hi Jody,
Yep, I think that codehaus is one of the staging posts for maven
central, as is sonatype which I used to stage JTS and jai-tools.
It might involve some minor housekeeping with poms etc. to comply with
the maven rules, plus a check that all third party dependencies (other
than E$RI librar
I am testing out the recently deployed 2.6.3 (announcement shortly) using osgeo
org as a maven repository.
And it is not really working .. it downloads a little bit more each time I run
maven.
I am tempted to formally deploy to codehaus (which I think syncs with the wider
maven repository syste
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 componen
On Fri, Mar 26, 2010 at 12:37 PM, Andrea Aime 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.
> As you can
Centroid computation during rendering might occasionally return invalid points
--
Key: GEOT-3011
URL: http://jira.codehaus.org/browse/GEOT-3011
Project: GeoTools
Iss
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, I'm
Very clever :-)
Michael
On 26 March 2010 23:10, Andrea Aime wrote:
> Hi,
> look at the attached maps generated by GeoServer with Milton's
> UOM patches applied (http://jira.codehaus.org/browse/GEOT-2964).
> We're getting real close to land these improvements.
>
> Do I need to say more? Thanks Mi
I see; I was more thinking of the data package (and I thought we had ported
more of it to the data module then that).
In anycase I have just managed to to run mvn
-Pextensive.tests,interactive.tests install
So I am good to tag and release tomorrow morning. I will leave this email
thread up if