如何将自定义数据转换为osm.pbf

时间:2018-07-13 03:05:32

标签: openstreetmap osm.pbf

我有一个包含链接,节点,交通限制等的空间数据库。 我想将这些空间数据转换为osm.pbf,我知道一些osm.pbf 来自https://wiki.openstreetmap.org/wiki/PBF_Format 结构,例如Node,Way,Relation。

message Node {
required sint64 id = 1;
// Parallel arrays.
repeated uint32 keys = 2 [packed = true]; // String IDs.
repeated uint32 vals = 3 [packed = true]; // String IDs.
optional Info info = 4; // May be omitted in omitmeta
required sint64 lat = 8;
required sint64 lon = 9;
}

我使用java和pfb工具将消息转换为java类,然后创建pdf文件。 我在任何地方都找不到它的ChangeSet消息在哪里。

0 个答案:

没有答案