Exemplo n.º 1
0
def test_operations__scope_remarks():

    transformer = TransformerGroup(28356, 7856).transformers[0]
    coord_op = CoordinateOperation.from_string(transformer.to_wkt())
    assert coord_op.operations == transformer.operations
    # scope does not transfer for some reason
    # assert [op.scope for op in transformer.operations] == [
    #     op.scope for op in coord_op.operations
    # ]
    assert [op.remarks for op in transformer.operations
            ] == [op.remarks for op in coord_op.operations]
Exemplo n.º 2
0
def test_operations__scope_remarks():
    operation = TransformerGroup(28356, 7856).transformers[0].operations[1]
    coord_op = CoordinateOperation.from_string(operation.to_wkt())
    assert coord_op == operation
    assert coord_op.remarks == operation.remarks
    assert coord_op.scope == operation.scope
Exemplo n.º 3
0
def test_operations():
    transformer = TransformerGroup(28356, 7856).transformers[0]
    coord_op = CoordinateOperation.from_string(transformer.to_wkt())
    assert coord_op.operations == transformer.operations