Assert.assertEquals(jtsShell.get("coordinates").toString(), dtoShell.get("coordinates").toString());
}
public void testMultiLineString() throws MarshallException, GeomajasException {
GeometryFactory factory = new GeometryFactory(new PrecisionModel(10000.0), 31300);
CoordinateArraySequence coords = new CoordinateArraySequence(new Coordinate[] { new Coordinate(12.0, 34.23),
new Coordinate(12.000, 54.555), new Coordinate(-0.01, 0.0) });
LineString l = new LineString(coords, factory);
MultiLineString m = new MultiLineString(new LineString[] { l }, factory);
JSONObject jtsJson = (JSONObject) jtsSerializer.marshall(null, m);
Geometry dto = converter.toDto(m);
JSONObject dtoJson = (JSONObject) dtoSerializer.marshall(null, dto);