[generator:tests] Fix node test data: JOSM update format -> OSM format
This commit is contained in:
parent
2fcf2e4632
commit
18701d6e43
1 changed files with 16 additions and 16 deletions
|
@ -1,23 +1,23 @@
|
|||
#include "source_data.hpp"
|
||||
|
||||
char const node_xml_data[] = "<?xml version='1.0' encoding='UTF-8'?>\
|
||||
<osm version='0.6' upload='true' generator='JOSM'>\
|
||||
<node id='-273105' action='modify' visible='true' lat='62.18269750679' lon='-134.28965517091'>\
|
||||
<tag k='name' v='Продуктовый' />\
|
||||
<tag k='opening_hours' v='24/7' />\
|
||||
<tag k='shop' v='convenience' />\
|
||||
</node>\
|
||||
</osm>";
|
||||
char const node_xml_data[] = R"#(<?xml version='1.0' encoding='UTF-8'?>
|
||||
<osm version='0.6'>
|
||||
<node id='273105' visible='true' lat='62.18269750679' lon='134.28965517091'>
|
||||
<tag k='name' v='Продуктовый' />
|
||||
<tag k='opening_hours' v='24/7' />
|
||||
<tag k='shop' v='convenience' />
|
||||
</node>
|
||||
</osm>
|
||||
)#";
|
||||
|
||||
// binary data: node.o5m
|
||||
unsigned char const node_o5m_data[] = /* 92 */ {
|
||||
0xFF, 0xE0, 0x04, 0x6F, 0x35, 0x6D, 0x32, 0xFF, 0x10, 0x51, 0xA1, 0xAB, 0x21, 0x00, 0xCD, 0xE6,
|
||||
0xD7, 0x80, 0x0A, 0xBE, 0xCE, 0x82, 0xD1, 0x04, 0x00, 0x6E, 0x61, 0x6D, 0x65, 0x00, 0xD0, 0x9F,
|
||||
0xD1, 0x80, 0xD0, 0xBE, 0xD0, 0xB4, 0xD1, 0x83, 0xD0, 0xBA, 0xD1, 0x82, 0xD0, 0xBE, 0xD0, 0xB2,
|
||||
0xD1, 0x8B, 0xD0, 0xB9, 0x00, 0x00, 0x6F, 0x70, 0x65, 0x6E, 0x69, 0x6E, 0x67, 0x5F, 0x68, 0x6F,
|
||||
0x75, 0x72, 0x73, 0x00, 0x32, 0x34, 0x2F, 0x37, 0x00, 0x00, 0x73, 0x68, 0x6F, 0x70, 0x00, 0x63,
|
||||
0x6F, 0x6E, 0x76, 0x65, 0x6E, 0x69, 0x65, 0x6E, 0x63, 0x65, 0x00, 0xFE
|
||||
};
|
||||
unsigned char const node_o5m_data[/* 92 */] = {
|
||||
0xFF, 0xE0, 0x04, 0x6F, 0x35, 0x6D, 0x32, 0xFF, 0x10, 0x51, 0xA2, 0xAB, 0x21, 0x00, 0xCE, 0xE6,
|
||||
0xD7, 0x80, 0x0A, 0xBE, 0xCE, 0x82, 0xD1, 0x04, 0x00, 0x6E, 0x61, 0x6D, 0x65, 0x00, 0xD0, 0x9F,
|
||||
0xD1, 0x80, 0xD0, 0xBE, 0xD0, 0xB4, 0xD1, 0x83, 0xD0, 0xBA, 0xD1, 0x82, 0xD0, 0xBE, 0xD0, 0xB2,
|
||||
0xD1, 0x8B, 0xD0, 0xB9, 0x00, 0x00, 0x6F, 0x70, 0x65, 0x6E, 0x69, 0x6E, 0x67, 0x5F, 0x68, 0x6F,
|
||||
0x75, 0x72, 0x73, 0x00, 0x32, 0x34, 0x2F, 0x37, 0x00, 0x00, 0x73, 0x68, 0x6F, 0x70, 0x00, 0x63,
|
||||
0x6F, 0x6E, 0x76, 0x65, 0x6E, 0x69, 0x65, 0x6E, 0x63, 0x65, 0x00, 0xFE};
|
||||
static_assert(sizeof(node_o5m_data) == 92, "Size check failed");
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue