使用带有openmaptiles的自定义osm.pbf文件生成矢量图块

时间:2019-03-28 13:57:52

标签: openmaptiles

我正在尝试使用带有自定义osm文件的openmaptiles项目生成图块。我使用osmconvert将.osm文件转换为.osm.pbf。但是当我尝试渲染它时,我只是得到了边框,

我的.osm文件具有负节点和方式ID。我使用python脚本将它们更改为肯定(我认为它们只是临时ID)。

这些是示例日志。请找到完整的日志here

INFO:  analyzing "public.osm_landcover_polygon"
INFO:  "osm_landcover_polygon": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows
INFO:  analyzing "water_name_marine.updates"
INFO:  "updates": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows
INFO:  analyzing "public.osm_water_point"
INFO:  "osm_water_point": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows
INFO:  analyzing "public.osm_aeroway_polygon"
INFO:  "osm_aeroway_polygon": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows
INFO:  analyzing "public.osm_water_lakeline"
INFO:  "osm_water_lakeline": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows
INFO:  analyzing "water_lakeline.updates"
INFO:  "updates": scanned 0 of 0 pages, containing 0 live rows and 0 dead rows; 0 rows in sample, 0 estimated total rows
INFO:  analyzing "public.osm_building_polygon"

它只是显示所有0

您可以找到完整的日志文件

所以,

openmaptiles是否支持自定义.osm.pbf [具有临时节点和方式ID]以生成图块?

0 个答案:

没有答案