Hello Martin,

There is a small glitch in the TopologyPreservingSimplifierTest. The 
testMultiPolygonWithEmpty function does not use the TPSimplifierResult:

public void testMultiPolygonWithEmpty() throws Exception {
new GeometryOperationValidator(
DPSimplifierResult.getResult(
"MULTIPOLYGON (EMPTY, ((-36 91.5, 4.5 91.5, 4.5 57.5, -36 57.5, -36 91.5)), 
((25.5 57.5, 61.5 57.5, 61.5 23.5, 25.5 23.5, 25.5 57.5)))",
10.0))
.test();
}

If it would, the test would fail. This is due to the fact that the 
transformLinearRing function of  the GeometryTransformer class does not take 
into account that the transformCoordinates function now returns null if the 
passed sequence has no elements.

Hth
Felix Obermaier

------------------------------------------
Ingenieurgruppe IVV GmbH & Co. KG
Dipl.-Ing. Felix Obermaier
Oppenhoffallee 171
52066 Aachen

Telefon: +49 (241) 94691-39
Telefax: +49 (241) 531622
eMail: [email protected]
Internet: http://www.ivv-aachen.de

Sitz der Gesellschaft: Aachen
Amtsgericht Aachen HRA 6212
GF: Bauassessor Dr.-Ing. Dieter Hölsken
IVV-Management GmbH
Amtsgericht Aachen HRB 12453


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user

Reply via email to