Merge commit '6eb4f090f98f6b17a23c57768c16b7716b6c9cbd' as 'third_party/libosmium'
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
|
||||
add_test(NAME examples_debug_all
|
||||
COMMAND osmium_debug ${CMAKE_CURRENT_SOURCE_DIR}/data.osm)
|
||||
|
||||
set_tests_properties(examples_debug_all PROPERTIES
|
||||
PASS_REGULAR_EXPRESSION " id=1\n.* id=2\n.* id=10\n.* id=20\n"
|
||||
)
|
||||
|
||||
|
||||
add_test(NAME examples_debug_nodes
|
||||
COMMAND osmium_debug ${CMAKE_CURRENT_SOURCE_DIR}/data.osm n)
|
||||
|
||||
set_tests_properties(examples_debug_nodes PROPERTIES
|
||||
PASS_REGULAR_EXPRESSION "id=1\n.* id=2\n"
|
||||
)
|
||||
|
||||
set_tests_properties(examples_debug_nodes PROPERTIES
|
||||
FAIL_REGULAR_EXPRESSION "id=10\n"
|
||||
)
|
||||
|
||||
|
||||
add_test(NAME examples_debug_ways
|
||||
COMMAND osmium_debug ${CMAKE_CURRENT_SOURCE_DIR}/data.osm w)
|
||||
|
||||
set_tests_properties(examples_debug_ways PROPERTIES
|
||||
PASS_REGULAR_EXPRESSION " id=10\n"
|
||||
)
|
||||
|
||||
set_tests_properties(examples_debug_ways PROPERTIES
|
||||
FAIL_REGULAR_EXPRESSION "id=20\n"
|
||||
)
|
||||
|
||||
|
||||
add_test(NAME examples_debug_relations
|
||||
COMMAND osmium_debug ${CMAKE_CURRENT_SOURCE_DIR}/data.osm r)
|
||||
|
||||
set_tests_properties(examples_debug_relations PROPERTIES
|
||||
PASS_REGULAR_EXPRESSION " id=20\n"
|
||||
)
|
||||
|
||||
set_tests_properties(examples_debug_relations PROPERTIES
|
||||
FAIL_REGULAR_EXPRESSION "id=10\n"
|
||||
)
|
||||
|
||||
add_test(NAME examples_debug_changesets
|
||||
COMMAND osmium_debug ${CMAKE_CURRENT_SOURCE_DIR}/changesets.osm c)
|
||||
|
||||
set_tests_properties(examples_debug_changesets PROPERTIES
|
||||
PASS_REGULAR_EXPRESSION " id=15449962\n"
|
||||
)
|
||||
|
||||
set_tests_properties(examples_debug_changesets PROPERTIES
|
||||
FAIL_REGULAR_EXPRESSION "id=10\n"
|
||||
)
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<osm version="0.6" generator="Osmosis 0.41">
|
||||
<changeset id="15449962" created_at="2013-03-22T02:10:17Z" num_changes="140" closed_at="2013-03-22T02:10:24Z" open="false" min_lon="106.8146927" min_lat="-6.1207748" max_lon="106.8212512" max_lat="-6.1133246" user="Vivianecahen" uid="1241761">
|
||||
<tag k="comment" v="Adding Initial buildings and roads"/>
|
||||
<tag k="created_by" v="JOSM/1.5 (5697 en)"/>
|
||||
</changeset>
|
||||
</osm>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<osm version="0.6">
|
||||
<bounds minlon="13.7248159" minlat="51.0271601" maxlon="13.7252197" maxlat="51.0288568"/>
|
||||
<node id="1" version="1" changeset="1" timestamp="2000-01-01T10:11:12Z" user="test" uid="1" lat="51.0271601" lon="13.7252197"/>
|
||||
<node id="2" version="1" changeset="1" timestamp="2000-01-01T10:11:12Z" user="test" uid="1" lat="51.0288568" lon="13.7248159"/>
|
||||
<way id="10" version="1" changeset="1" timestamp="2000-01-01T10:11:12Z" user="test" uid="1">
|
||||
<nd ref="1"/>
|
||||
<nd ref="2"/>
|
||||
</way>
|
||||
<relation id="20" version="1" changeset="1" timestamp="2000-01-01T10:11:12Z" user="test" uid="1">
|
||||
<member type="way" ref="10" role=""/>
|
||||
</relation>
|
||||
</osm>
|
||||
Reference in New Issue
Block a user