Convert OSM data to Navit binfile
来源:互联网 发布:centos samba安装配置 编辑:程序博客网 时间:2024/06/06 20:17
The following examples assume that you have installed Navit system-wide. If this is not the case, you will need to provide an absolute path to the maptool executable, which is in the navit/maptool folder.
Please also note, that maptool uses country multipolygon relations. So it's a good idea to include the whole country boundary to your dataset. You can use the josm editor to download the country boundary relation and save it as osm file. Then this file can be concatenated with your sub-country level excerpt.
From .osm
cat my_OSM_map.osm | maptool my_Navit_map.bin
Or
maptool -i my_OSM_map.osm my_Navit_map.bin
Or for multiple OSM data files use the --dedupe-ways option to avoid duplication of way data if a way occurs multiple times in the OSM maps.
cat my_OSM_map1.osm my_OSM_map2.osm my_OSM_map3.osm | maptool --dedupe-ways my_Navit_map.bin
From .bz2
bzcat my_OSM_map.osm.bz2 | maptool my_Navit_map.bin
From .pbf
Functionality only available in SVN versions of Navit later than r3871, which does not include the official Navit release 0.2.0
maptool --protobuf -i my_OSM_map.osm.pbf my_Navit_map.bin
- Convert OSM data to Navit binfile
- convert data to html format.
- OSM初识(三)OSM Data
- Convert normal map data to SVG format data
- convert armadillo data to other types of data
- Unable to convert data to string around character 11.
- OSM
- Convert Long to numeric primitive data types example
- Convert non-numeric data to numeric by using LabelEncoder
- www-data 不能执行 shell_exec soffice --convert-to
- How to convert a simple DLINQ Query to a data set object
- Insight into DOMDocument - how to convert data from XML to array in PHP
- PostGIS 2.0 Loader Exporter报错Unable to convert data value to UTF-8
- Data Type convert
- Data Type convert
- 解析OSM数据(C++ Parser OpenStreetMap Data)
- LPCTSTR /Data Types/ cannot convert parameter 1 from 'const char [5]' to 'LPCTSTR'
- CONVERT function [Data type conversion]
- Android 数据存储(一) 共享参数存储
- Java设计模式学习笔记1
- JSP C标签的几个常用例子。
- 图片和文字在一行垂直居中
- HZAU 1206:01字典树求 抑或最大和
- Convert OSM data to Navit binfile
- javascript实现保留两位小数的多种方法
- 银河麒麟操作系统获知系统安装时间
- redis怎么实现条件查询?如查询大于17岁的用户。
- 机器学习-梯度下降 I
- 十、STL函数对象---预定义的Function object 和Binder
- appcan 调用系统默认浏览器打开URL
- flex布局语法详解
- 【Android】APP一键退出