The case I'm working on is very basic: the TestFunctionAA case in the
general tests. No tricks from the geometry here!

I was thrown off by the Label(int geomIndex, int left, int on, int
right) constructor, which creates a 3 position array for the topology
location, initializing them all to NONE.

In NTS, the topology location encoding is different (it's a struct,
not an array), and this causes some side-effects in the translated
algorithms which I'm still tracking down. On reflection, I guess I
needed to be confirmed that labels can be heterogeneous so I knew that
changing the label propagation code to change the label to an area
label for the given geometry was the correct thing to do.

Thanks again,
-rory


On Thu, May 1, 2008 at 2:27 PM, Martin Davis <[EMAIL PROTECTED]> wrote:
> A Label can be heterogenous - it can be applied to an edge which is part of
> both an area and a linear geometry.
>
_______________________________________________
jts-devel mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jts-devel

Reply via email to